REST API: Remove textdomain from doing it wrong message.

See #50075.
Props dlh.

Built from https://develop.svn.wordpress.org/trunk@48571


git-svn-id: http://core.svn.wordpress.org/trunk@48333 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
TimothyBlynJacobs 2020-07-22 22:31:04 +00:00
parent 413fae70e8
commit 51154cd1df
2 changed files with 2 additions and 2 deletions

View File

@ -94,7 +94,7 @@ function register_rest_route( $namespace, $route, $args = array(), $override = f
__FUNCTION__,
sprintf(
/* translators: 1. The REST API route being registered. 2. The argument name. 3. The suggested function name. */
__( 'The REST API route definition for %1$s is missing the required %2$s argument. For REST API routes that are intended to be public, use %3$s as the permission callback.', 'LION' ),
__( 'The REST API route definition for %1$s is missing the required %2$s argument. For REST API routes that are intended to be public, use %3$s as the permission callback.' ),
'<code>' . $clean_namespace . '/' . trim( $route, '/' ) . '</code>',
'<code>permission_callback</code>',
'<code>__return_true</code>'

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.5-beta3-48570';
$wp_version = '5.5-beta3-48571';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.