Make WordPress Core

Changeset 47091


Ignore:
Timestamp:
01/20/2020 02:42:12 PM (6 years ago)
Author:
SergeyBiryukov
Message:

I18N: Merge duplicate %1$s is not of type %2$s strings in rest_validate_value_from_schema().

Props ramiy.
Fixes #49244.

File:
1 edited

Legend:

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

    r46696 r47091  
    12221222
    12231223        /* translators: 1: Parameter, 2: List of types. */
    1224         return new WP_Error( 'rest_invalid_param', sprintf( __( '%1$s is not of type %2$s' ), $param, implode( ',', $args['type'] ) ) );
     1224        return new WP_Error( 'rest_invalid_param', sprintf( __( '%1$s is not of type %2$s.' ), $param, implode( ',', $args['type'] ) ) );
    12251225    }
    12261226
Note: See TracChangeset for help on using the changeset viewer.