X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Ffilter-functions.php;h=9030f97ad393615785f358ff92760d512e6fe773;hb=9bc2a494fae1a98f0873a6f3bd8c878b09124b9f;hp=39b7558bfd7e97c65d09e423c282a37e5ea49c9d;hpb=8cd3d68a23aa285f2fe149698a46cf8b4e3ac0ca;p=mailer.git diff --git a/inc/filter-functions.php b/inc/filter-functions.php index 39b7558bfd..9030f97ad3 100644 --- a/inc/filter-functions.php +++ b/inc/filter-functions.php @@ -47,7 +47,7 @@ function initFilterSystem () { // Is the filter already initialized? if (isset($GLOBALS['filter_init'])) { // Then abort here - debug_report_bug('Filter system already initialized.'); + debug_report_bug(__FUNCTION__, __LINE__, 'Filter system already initialized.'); } // END - if // Load all saved filers if sql_patches is updated @@ -122,7 +122,7 @@ ORDER BY registerFilter('post_page_header', 'FINISH_PAGE_HEADER'); // ------------------- LAST FILTER FOR THIS CHAIN! ------------------------ - // Login failures handler + // 'You are here' navigation - post filter registerFilter('post_youhere_line', 'CALL_HANDLER_LOGIN_FAILTURES'); // Filters for pre-extension-registration @@ -195,7 +195,7 @@ function registerFilter ($filterName, $filterFunction, $silentAbort = true, $for // In installation phase we always want to abort if (($silentAbort === false) || (isInstallationPhase())) { // Add fatal message - debug_report_bug(sprintf("[%s:%s] Filter chain %s has already filter function %s registered!", __FUNCTION__, __LINE__, $filterName, $filterFunction)); + debug_report_bug(__FUNCTION__, __LINE__, sprintf("Filter chain %s has already filter function %s registered!", $filterName, $filterFunction)); } // END - if // Abort here