Ticket #32031: 32031.diff
| File 32031.diff, 837 bytes (added by , 11 years ago) |
|---|
-
src/wp-includes/taxonomy.php
2928 2928 } 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 } 2937 2937 }