Make WordPress Core


Ignore:
Timestamp:
04/26/2015 11:49:36 AM (10 years ago)
Author:
SergeyBiryukov
Message:

Add missing word to wp_insert_term() error strings.

props dipesh.kakadiya.
fixes #32031.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/taxonomy.php

    r32117 r32297  
    29292929
    29302930                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 );
    29322932                }
    29332933            } 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 );
    29352935            }
    29362936        }
Note: See TracChangeset for help on using the changeset viewer.