Changeset 34861 for trunk/src/wp-admin/includes/menu.php
- Timestamp:
- 10/06/2015 01:45:24 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/menu.php
r32730 r34861 182 182 $separator_found = false; 183 183 foreach ( $menu as $id => $data ) { 184 if ( 0 == strcmp('wp-menu-separator', $data[4]) ) {184 if ( false !== strpos( $data[4], 'wp-menu-separator' ) ) { 185 185 if ( ! $separator_found ) { 186 186 $separator_found = true; 187 187 } else { 188 188 unset($menu[$id]); 189 $separator_found = false;190 189 } 191 190 } else {
Note: See TracChangeset
for help on using the changeset viewer.