Make WordPress Core

Changeset 48767


Ignore:
Timestamp:
08/09/2020 01:58:31 AM (6 years ago)
Author:
SergeyBiryukov
Message:

I18N: Fix typo in a string in rest_validate_value_from_schema().

Props pedromendonca.
Fixes #50879.

File:
1 edited

Legend:

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

    r48765 r48767  
    15801580                        __FUNCTION__,
    15811581                        /* translators: 1: Parameter, 2: The list of allowed types. */
    1582                         wp_sprintf( __( 'The "type" schema keyword for %1$s can only be on of the built-in types: %2$l.' ), $param, $allowed_types ),
     1582                        wp_sprintf( __( 'The "type" schema keyword for %1$s can only be one of the built-in types: %2$l.' ), $param, $allowed_types ),
    15831583                        '5.5.0'
    15841584                );
     
    18501850                        __FUNCTION__,
    18511851                        /* translators: 1: Parameter, 2: The list of allowed types. */
    1852                         wp_sprintf( __( 'The "type" schema keyword for %1$s can only be on of the built-in types: %2$l.' ), $param, $allowed_types ),
     1852                        wp_sprintf( __( 'The "type" schema keyword for %1$s can only be one of the built-in types: %2$l.' ), $param, $allowed_types ),
    18531853                        '5.5.0'
    18541854                );
Note: See TracChangeset for help on using the changeset viewer.