Skip to:
Content

bbPress.org


Ignore:
Timestamp:
07/02/2012 07:06:30 AM (10 years ago)
Author:
johnjamesjacoby
Message:

Admin Menus:

  • Fix issue where bbPress top-level admin-menu positions could conflict with other plugins.
  • Set menu_position on post-types to 555555.
  • Refactor bbp_admin_menu_order() to reposition all available custom menus above the second separator.
  • Fixes #1876.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/plugin/bbpress.php

    r4043 r4046  
    513513                'capabilities'        => bbp_get_forum_caps(),
    514514                'capability_type'     => array( 'forum', 'forums' ),
    515                 'menu_position'       => 56,
     515                'menu_position'       => 555555,
    516516                'has_archive'         => bbp_get_root_slug(),
    517517                'exclude_from_search' => true,
     
    570570                'capabilities'        => bbp_get_topic_caps(),
    571571                'capability_type'     => array( 'topic', 'topics' ),
    572                 'menu_position'       => 57,
     572                'menu_position'       => 555555,
    573573                'has_archive'         => bbp_get_topic_archive_slug(),
    574574                'exclude_from_search' => true,
     
    627627                'capabilities'        => bbp_get_reply_caps(),
    628628                'capability_type'     => array( 'reply', 'replies' ),
    629                 'menu_position'       => 58,
     629                'menu_position'       => 555555,
    630630                'exclude_from_search' => true,
    631631                'has_archive'         => false,
Note: See TracChangeset for help on using the changeset viewer.