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:
parent
413fae70e8
commit
51154cd1df
|
@ -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>'
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue