Changeset 44167 for trunk/src/wp-includes/nav-menu.php
- Timestamp:
- 12/14/2018 05:15:54 AM (6 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/5.0 merged: 43899
- Property svn:mergeinfo changed
-
trunk/src/wp-includes/nav-menu.php
r43571 r44167 1187 1187 1188 1188 // ...actually match! 1189 if ( false === stripos( $new_location, $slug ) && false === stripos( $slug, $new_location ) ) { 1189 if ( is_string( $new_location ) && false === stripos( $new_location, $slug ) && false === stripos( $slug, $new_location ) ) { 1190 continue; 1191 } elseif ( is_numeric( $new_location ) && $new_location !== $slug ) { 1190 1192 continue; 1191 1193 } … … 1198 1200 1199 1201 // ... have a match as well. 1200 if ( false === stripos( $location, $slug ) && false === stripos( $slug, $location ) ) { 1202 if ( is_string( $location ) && false === stripos( $location, $slug ) && false === stripos( $slug, $location ) ) { 1203 continue; 1204 } elseif ( is_numeric( $location ) && $location !== $slug ) { 1201 1205 continue; 1202 1206 }
Note: See TracChangeset
for help on using the changeset viewer.