Changeset 32297 for trunk/src/wp-includes/taxonomy.php
- Timestamp:
- 04/26/2015 11:49:36 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/taxonomy.php
r32117 r32297 2929 2929 2930 2930 if ( $existing_term ) { 2931 return new WP_Error( 'term_exists', __( 'A term with the name already exists with this parent.' ), $existing_term->term_id );2931 return new WP_Error( 'term_exists', __( 'A term with the name provided already exists with this parent.' ), $existing_term->term_id ); 2932 2932 } 2933 2933 } else { 2934 return new WP_Error( 'term_exists', __( 'A term with the name already exists in this taxonomy.' ), $name_match->term_id );2934 return new WP_Error( 'term_exists', __( 'A term with the name provided already exists in this taxonomy.' ), $name_match->term_id ); 2935 2935 } 2936 2936 }
Note: See TracChangeset
for help on using the changeset viewer.