Make WordPress Core


Ignore:
Timestamp:
06/28/2020 11:51:29 AM (4 years ago)
Author:
SergeyBiryukov
Message:

Docs: Miscellaneous DocBlock corrections.

See #49572.

File:
1 edited

Legend:

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

    r48173 r48198  
    12981298
    12991299        if ( isset( $args['minItems'] ) && count( $value ) < $args['minItems'] ) {
    1300             /* translators: 1: Parameter, 2: number. */
     1300            /* translators: 1: Parameter, 2: Number. */
    13011301            return new WP_Error( 'rest_invalid_param', sprintf( __( '%1$s must contain at least %2$s items.' ), $param, number_format_i18n( $args['minItems'] ) ) );
    13021302        }
    13031303
    13041304        if ( isset( $args['maxItems'] ) && count( $value ) > $args['maxItems'] ) {
    1305             /* translators: 1: Parameter, 2: number. */
     1305            /* translators: 1: Parameter, 2: Number. */
    13061306            return new WP_Error( 'rest_invalid_param', sprintf( __( '%1$s must contain at most %2$s items.' ), $param, number_format_i18n( $args['maxItems'] ) ) );
    13071307        }
Note: See TracChangeset for help on using the changeset viewer.