Make WordPress Core

Changeset 29234


Ignore:
Timestamp:
07/18/2014 11:55:47 PM (10 years ago)
Author:
SergeyBiryukov
Message:

Use an existing string.

see #19205.

File:
1 edited

Legend:

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

    r29196 r29234  
    24222422
    24232423    if ( $args['parent'] > 0 && ! term_exists( (int) $args['parent'] ) ) {
    2424         return new WP_Error( 'missing_parent', __( 'The selected parent term no longer exists' ) );
     2424        return new WP_Error( 'missing_parent', __( 'Parent term does not exist.' ) );
    24252425    }
    24262426    $args['name'] = $term;
Note: See TracChangeset for help on using the changeset viewer.