Plugin calls `wp_get_current_user` too early.
-
This plugin calls
wp_get_current_user
too early – because of the WP core bugs #46586 and #43869 this leads to a situation where plugins that provide authentication by non-standard means can’t hook into thedetermine_current_user
filter.This seems to happen in the class “ShortPixelLogger” – maybe change that class that all the code in the constructor is actually only called when the DEBUG settings are set, as the comment indicates?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Plugin calls `wp_get_current_user` too early.’ is closed to new replies.