Make WordPress Core

Changeset 48768


Ignore:
Timestamp:
08/09/2020 02:01:01 AM (3 years ago)
Author:
SergeyBiryukov
Message:

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

Props pedromendonca.
Reviewed by TimothyBlynJacobs, SergeyBiryukov.
Merges [48767] to the 5.5 branch.
Fixes #50879.

Location:
branches/5.5
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/5.5

  • branches/5.5/src/wp-includes/rest-api.php

    r48590 r48768  
    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.