[ Web Proxy ]
URL:
Viewing: https://bbpress.org/forums/topic/bug-in-wp-admin/#post-186567 [Back]  [Original]

Topic: BUG in wp-admin · bbPress.org
Skip to:
Content
Pages
Categories
Search
Top
Bottom

BUG in wp-admin

  • If you are logged in as Administrator and there are private/hidden forums, on the forums page there are listed all available post statuses in wordpress even if there are no posts.

    This is caused by the filter ‘bbp_pre_get_posts_normalize_forum_visibility’.

    IT checks for

    $_REQUEST['post_status'])

    but initial this variable is not set.

    Please fix that. I made a temporary fix including condition

    ( isset( $_REQUEST['post_status']) || current_user_can( 'administrator') )

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

Web Proxy Viewer  |  New URL  |  Original Page