- fixed error partner page draft redirection with post id
- fixed error all logged in user could see partner post in draft
This commit is contained in:
@@ -42,7 +42,7 @@ function is_partner_form_creation_page_CIPF() {
|
||||
function partner_form_creation_page_init_CIPF() {
|
||||
Plgntls::debug_infos(2);
|
||||
|
||||
if (!is_partner()) {
|
||||
if (!is_partner_CIPF()) {
|
||||
return;
|
||||
}
|
||||
Plgntls::debug_infos();
|
||||
@@ -63,7 +63,7 @@ add_action('init','partner_form_creation_page_init_CIPF');
|
||||
function partner_form_creation_page_CIPF() {
|
||||
Plgntls::debug_infos(2);
|
||||
|
||||
if (!is_partner()) {
|
||||
if (!is_partner_CIPF()) {
|
||||
return;
|
||||
}
|
||||
if (!is_partner_form_creation_page_CIPF()) {
|
||||
|
||||
Reference in New Issue
Block a user