nop it wasn't my plugin's fault
This commit is contained in:
@@ -68,7 +68,6 @@ function redirection_profil_page_CIPF(){
|
|||||||
*/
|
*/
|
||||||
function redirection_page_CIPF(){
|
function redirection_page_CIPF(){
|
||||||
PLGNTLS_class::debug_infos();
|
PLGNTLS_class::debug_infos();
|
||||||
error_log("hello");
|
|
||||||
$slug_page_redirection = PLGNTLS_class::SLUG_PAGE_REDIRECTION;
|
$slug_page_redirection = PLGNTLS_class::SLUG_PAGE_REDIRECTION;
|
||||||
|
|
||||||
if (!is_page($slug_page_redirection))
|
if (!is_page($slug_page_redirection))
|
||||||
@@ -85,6 +84,7 @@ add_action('template_redirect', 'redirection_page_CIPF');
|
|||||||
/*
|
/*
|
||||||
* redirects when someone reaches the page with query ?QUERY_REDIRECTION_PROFIL
|
* redirects when someone reaches the page with query ?QUERY_REDIRECTION_PROFIL
|
||||||
*
|
*
|
||||||
|
*/
|
||||||
function redirection_query_CIPF() {
|
function redirection_query_CIPF() {
|
||||||
PLGNTLS_class::debug_infos();
|
PLGNTLS_class::debug_infos();
|
||||||
$query_redirection = PLGNTLS_class::QUERY_REDIRECTION_PROFIL;
|
$query_redirection = PLGNTLS_class::QUERY_REDIRECTION_PROFIL;
|
||||||
@@ -95,7 +95,6 @@ function redirection_query_CIPF() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
add_action('init', 'redirection_query_CIPF');
|
add_action('init', 'redirection_query_CIPF');
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user