WP_DEBUG problem with login
-
A plugin (Custom Meta Widget) uses a deprecated constructor for
the WP_Widget class. When WP_DEBUG is set to debug my child theme
code, the WP_Widget outputs a warning message for the deprecated
constructor (during init hook) which then prevents a page from
setting cookies properly. This prevents being able to login
to the site since it relies on cookies.I believe there are 2 problems
- the deprecated constructor use in plugin
- the Warning call in WP_Widget class
Shouldn’t the debug messages be buffered until the header for
the page is properly completed?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘WP_DEBUG problem with login’ is closed to new replies.