Skip to:
Content

bbPress.org

Changeset 4068


Ignore:
Timestamp:
07/08/2012 03:44:10 AM (11 years ago)
Author:
johnjamesjacoby
Message:

Admin:

  • Remove 'manage_options' cap check from bbp_admin_separateror()
  • This is now handled by bbp_admin_menu_order(), and can cause no separator to exist in certain situations.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/plugin/bbp-admin/bbp-functions.php

    r4046 r4068  
    2222    // Prevent duplicate separators when no new menu items exist
    2323    if ( !current_user_can( 'edit_forums' ) && !current_user_can( 'edit_topics' ) && !current_user_can( 'edit_replies' ) )
    24         return;
    25 
    26     // Prevent duplicate separators when no core menu items exist
    27     if ( !current_user_can( 'manage_options' ) )
    2824        return;
    2925
Note: See TracChangeset for help on using the changeset viewer.