Make WordPress Core


Ignore:
Timestamp:
11/15/2016 05:38:21 AM (8 years ago)
Author:
rmccue
Message:

REST API: Move translator comments to preceding line.

Inline translator comments break POT file generation.

Props dd32.
See #38791.

File:
1 edited

Legend:

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

    r39238 r39239  
    12241224            foreach ( $avatar_sizes as $size ) {
    12251225                $avatar_properties[ $size ] = array(
    1226                     'description' => sprintf( __( /* translators: %d: avatar image size in pixels */ 'Avatar URL with image size of %d pixels.' ), $size ),
     1226                    /* translators: %d: avatar image size in pixels */
     1227                    'description' => sprintf( __( 'Avatar URL with image size of %d pixels.' ), $size ),
    12271228                    'type'        => 'string',
    12281229                    'format'      => 'uri',
Note: See TracChangeset for help on using the changeset viewer.