Changeset 40144 for trunk/src/wp-includes/taxonomy.php
- Timestamp:
- 03/03/2017 02:39:09 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/taxonomy.php
r40143 r40144 2064 2064 2065 2065 $existing_term = null; 2066 if ( $name_match->slug === $slug&& in_array( $name, wp_list_pluck( $siblings, 'name' ) ) ) {2066 if ( ( ! $slug_provided || $name_match->slug === $slug ) && in_array( $name, wp_list_pluck( $siblings, 'name' ) ) ) { 2067 2067 $existing_term = $name_match; 2068 2068 } elseif ( $slug_match && in_array( $slug, wp_list_pluck( $siblings, 'slug' ) ) ) {
Note: See TracChangeset
for help on using the changeset viewer.