Skip to:
Content

bbPress.org

Changeset 4069


Ignore:
Timestamp:
07/08/2012 04:22:25 AM (11 years ago)
Author:
johnjamesjacoby
Message:

Admin:

  • Revert r4068, pending a better way to manipulate the menus.
File:
1 edited

Legend:

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

    r4068 r4069  
    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' ) )
    2428        return;
    2529
Note: See TracChangeset for help on using the changeset viewer.