Excessive warning debug messages
-
When WP_DEBUG is on, two lines of debug are printed for each quick redirect line, in the ‘Quick 301 Redirects’ page. e.g.:
Notice: Undefined variable: newwin in /home/.../www/wp-content/plugins/quick-pagepost-redirect-plugin/page_post_redirect_plugin.php on line 678 Notice: Undefined variable: nofoll in /home/.../www/wp-content/plugins/quick-pagepost-redirect-plugin/page_post_redirect_plugin.php on line 679So I just commented those lines in the source code:
678 //$redirectsmeta[$request]['newwindow'] = ($newwin == '1' || $newwin =='0') ? $newwin : '0' ; 679 //$redirectsmeta[$request]['nofollow'] = ($nofoll == '1' || $nofoll == '0') ? $nofoll : '0' ;But then I had to comment also lines 694, 695, 673 & 674, … and this approach has no end. Thanks
The topic ‘Excessive warning debug messages’ is closed to new replies.