Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: bbPress 2.3 now available!

@johnjamesjacoby

Keymaster

Calling is_user_logged_in() in a plugin’s init file causes bbPress to error

Plugins shouldn’t be calling any user related functions until after the user is actually loaded. The soonest place you can do this is on the ‘init’ action; doing it sooner is `_doing_it_wrong()` and will cause other hidden issues in your installation later. bbPress provides that debug notice to let you know your approach was incorrect.

Skip to toolbar