Make WordPress Core

Changeset 45444


Ignore:
Timestamp:
05/26/2019 07:04:58 PM (7 years ago)
Author:
SergeyBiryukov
Message:

I18N: Merge duplicate "Invalid post parent ID" strings.

Props ramiy.
Fixes #47270.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-autosaves-controller.php

    r45307 r45444  
    245245
    246246                if ( $parent_id <= 0 ) {
    247                         return new WP_Error( 'rest_post_invalid_id', __( 'Invalid parent post ID.' ), array( 'status' => 404 ) );
     247                        return new WP_Error( 'rest_post_invalid_id', __( 'Invalid post parent ID.' ), array( 'status' => 404 ) );
    248248                }
    249249
Note: See TracChangeset for help on using the changeset viewer.