Changeset 6853 for trunk/src/bbpress.php
- Timestamp:
- 08/10/2018 09:50:53 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bbpress.php
r6842 r6853 518 518 'capability_type' => array( 'forum', 'forums' ), 519 519 'menu_position' => 555555, 520 'has_archive' => bbp_get_root_slug(),520 'has_archive' => ( 'forums' === bbp_show_on_root() ) ? bbp_get_root_slug() : false, 521 521 'exclude_from_search' => true, 522 522 'show_in_nav_menus' => true, … … 544 544 'capability_type' => array( 'topic', 'topics' ), 545 545 'menu_position' => 555555, 546 'has_archive' => ( ' forums' === bbp_show_on_root() ) ? bbp_get_topic_archive_slug() : false,546 'has_archive' => ( 'topics' === bbp_show_on_root() ) ? bbp_get_root_slug() : false, 547 547 'exclude_from_search' => true, 548 548 'show_in_nav_menus' => false,
Note: See TracChangeset
for help on using the changeset viewer.