cedaro / satispress

Expose installed WordPress plugins and themes as Composer packages.
500 stars 49 forks source link

Refactor authentication to prevent conflicts with plugins that determine the current user too early. #97

Closed bradyvercher closed 5 years ago

bradyvercher commented 5 years ago

This seeks to work around conflicts with plugins that determine the current user during plugins_loaded by wiring up the determine_current_user filter immediately, so that authentication can be handled whenever wp_get_current_user() is called. See #94

Authentication servers have been refactored to simplify the interface and move state management and type gymnastics into the Authentication provider.