WordPress.org

Make WordPress Core

Changeset 41574


Ignore:
Timestamp:
09/22/2017 10:07:35 PM (4 years ago)
Author:
SergeyBiryukov
Message:

I18N: Merge two similar "Cannot set parent term" error strings.

Props ramiy.
Fixes #41637.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-xmlrpc-server.php

    r41572 r41574  
    20662066        if ( ! empty( $content_struct['parent'] ) ) {
    20672067            if ( ! $taxonomy['hierarchical'] )
    2068                 return new IXR_Error( 403, __( "This taxonomy is not hierarchical so you can't set a parent." ) );
     2068                return new IXR_Error( 403, __( 'Cannot set parent term, taxonomy is not hierarchical.' ) );
    20692069
    20702070            $parent_term_id = (int) $content_struct['parent'];
Note: See TracChangeset for help on using the changeset viewer.