Changeset 12899 for trunk/src/bp-core/admin/bp-core-admin-functions.php
- Timestamp:
- 04/20/2021 04:03:08 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/admin/bp-core-admin-functions.php
r12897 r12899 84 84 if ( in_array( $plugin_page, array( 'bp-tools', 'available-tools' ) ) ) { 85 85 $submenu_file = $plugin_page; 86 } 87 88 // Keep the BuddyPress tools menu highlighted. 89 if ( 'bp-optouts' === $plugin_page ) { 90 $submenu_file = 'bp-tools'; 86 91 } 87 92 } … … 474 479 'name' => __( 'Repair', 'buddypress' ), 475 480 ), 481 '1' => array( 482 'href' => bp_get_admin_url( add_query_arg( array( 'page' => 'bp-optouts' ), $tools_page ) ), 483 'name' => __( 'Manage Opt-outs', 'buddypress' ), 484 ), 476 485 ); 477 486 }
Note: See TracChangeset
for help on using the changeset viewer.