Support » Plugin: Plugin Load Filter » Function issues when plugin is enabled

  • I am the author of Pareto Security plugin. Am having some compatibility issues. When plugin-load-filter plugin is enabled, both is_user_logged_in() returns false and wp_get_current_user() returns 0 instead of the object. When disabled these return to their usual behaviour.

Viewing 1 replies (of 1 total)
  • Plugin Author enomoto celtislab


    The plugin load filter works as a must-use plugin in its mechanism.

    In the operation with the must-use plugin, since wp_set_current_user has not been executed yet, is_user_logged_in is false until wp_set_current_user is executed.

    Since it is a security plug-in, you may want to make a judgment as soon as possible, but it can not be determined with is_user_logged_in that wp_set_current_user is not being executed, so it may be necessary to judge directly from cookie.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.