Changeset 6415 for trunk/src/includes/admin/common.php
- Timestamp:
- 05/19/2017 03:25:37 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/admin/common.php
r6284 r6415 106 106 107 107 // Skip our menu items 108 } elseif ( ! in_array( $item, $custom_menus ) ) {108 } elseif ( ! in_array( $item, $custom_menus, true ) ) { 109 109 $bbp_menu_order[] = $item; 110 110 } … … 247 247 248 248 // This tweaks the Tools subnav menu to only show one bbPress menu item 249 if ( ! in_array( $plugin_page, array( 'bbp-settings' ) ) ) {249 if ( ! in_array( $plugin_page, array( 'bbp-settings' ), true ) ) { 250 250 $submenu_file = 'bbp-repair'; 251 251 }
Note: See TracChangeset
for help on using the changeset viewer.