nop it wasn't my plugin's fault

This commit is contained in:
asus
2024-03-14 13:48:19 +01:00
parent e14acfb739
commit d0bfe90715

View File

@@ -68,7 +68,6 @@ function redirection_profil_page_CIPF(){
*/
function redirection_page_CIPF(){
PLGNTLS_class::debug_infos();
error_log("hello");
$slug_page_redirection = PLGNTLS_class::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
*
*/
function redirection_query_CIPF() {
PLGNTLS_class::debug_infos();
$query_redirection = PLGNTLS_class::QUERY_REDIRECTION_PROFIL;
@@ -95,7 +95,6 @@ function redirection_query_CIPF() {
}
}
add_action('init', 'redirection_query_CIPF');
*/