WordPress.org

Make WordPress Core

Changeset 39245


Ignore:
Timestamp:
11/15/2016 01:06:11 PM (18 months ago)
Author:
SergeyBiryukov
Message:

REST API: After [39238] and [39239], move the remaining translator comments to preceding line.

See #38791.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/rest-api/fields/class-wp-rest-meta-fields.php

    r39238 r39245  
    177177            return new WP_Error(
    178178                'rest_cannot_delete',
    179                 sprintf( __( /* translators: %s: custom field key */ 'You do not have permission to edit the %s custom field.' ), $name ),
     179                /* translators: %s: custom field key */
     180                sprintf( __( 'You do not have permission to edit the %s custom field.' ), $name ),
    180181                array( 'key' => $name, 'status' => rest_authorization_required_code() )
    181182            );
     
    211212            return new WP_Error(
    212213                'rest_cannot_update',
    213                 sprintf( __( /* translators: %s: custom field key */ 'You do not have permission to edit the %s custom field.' ), $name ),
     214                /* translators: %s: custom field key */
     215                sprintf( __( 'You do not have permission to edit the %s custom field.' ), $name ),
    214216                array( 'key' => $name, 'status' => rest_authorization_required_code() )
    215217            );
     
    281283            return new WP_Error(
    282284                'rest_cannot_update',
    283                 sprintf( __( /* translators: %s: custom field key */ 'You do not have permission to edit the %s custom field.' ), $name ),
     285                /* translators: %s: custom field key */
     286                sprintf( __( 'You do not have permission to edit the %s custom field.' ), $name ),
    284287                array( 'key' => $name, 'status' => rest_authorization_required_code() )
    285288            );
Note: See TracChangeset for help on using the changeset viewer.