id summary reporter owner description type status priority milestone component resolution keywords cc 2590 Enhance compatibility with per forum moderators ocean90 ocean90 "bbPress 2.6 [https://bbpress.org/forums/topic/bbpress-2-6-beta/ supports per forum moderators]. This is handled in `bbp_map_primary_meta_caps()`. But the [https://bbpress.trac.wordpress.org/browser/trunk/src/includes/users/capabilities.php?marks=71-74&rev=6294#L67 additional checks are not done if no post ID] is passed to the `WP_User::has_cap()` check. * In `Topic_Resolution\Plugin::user_can_resolve()` we can use the existing `$topic_id` variable. * In `User_Badges\Plugin::is_user_moderator()` using `get_queried_object_id()` seems to work. * Also affected: `Stickies_Compat` and user flagging in `User_Moderation`. Noticed this while checking how this actually works because @danielbachhuber [https://wordpress.slack.com/archives/C02RRH4GA/p1489788446950096 requested this]." defect (bug) closed normal Support Forums fixed has-patch commit