Title: bbPress doing_it_wrong message
Last modified: August 31, 2016

---

# bbPress doing_it_wrong message

 *  [podpirate](https://wordpress.org/support/users/podpirate/)
 * (@podpirate)
 * [10 years ago](https://wordpress.org/support/topic/bbpress-doing_it_wrong-message/)
 * Together with bbPress throws a _doing_it_wrong notice in the wp-admin when easy-
   custom-sidebars is active. Its caused by the `current_user_can()` condition in`
   includes/admin/class-ecs-admin.php`.
 * bbPress doesn’t like calls to `wp_get_current_user` (which is called by `current_user_can`)
   before the `init` hook is run. See [https://codex.bbpress.org/bbp_setup_current_user/was-called-incorrectly/](https://codex.bbpress.org/bbp_setup_current_user/was-called-incorrectly/)
 * Fixing this should be trivial. Is there any chance to find the plugin in a git
   repository, so I could send a pull request?
 * cheers,
    jörn
 * [https://wordpress.org/plugins/easy-custom-sidebars/](https://wordpress.org/plugins/easy-custom-sidebars/)

The topic ‘bbPress doing_it_wrong message’ is closed to new replies.

 * ![](https://ps.w.org/easy-custom-sidebars/assets/icon-256x256.png?rev=2421950)
 * [Easy Custom Sidebars](https://wordpress.org/plugins/easy-custom-sidebars/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/easy-custom-sidebars/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/easy-custom-sidebars/)
 * [Active Topics](https://wordpress.org/support/plugin/easy-custom-sidebars/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/easy-custom-sidebars/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/easy-custom-sidebars/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [podpirate](https://wordpress.org/support/users/podpirate/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/bbpress-doing_it_wrong-message/)
 * Status: not resolved