I18N: Replace rest_authentication_errors filter name with a placeholder in a translatable string.

Follow-up to [38947] and [40038].

See #38446.
Built from https://develop.svn.wordpress.org/trunk@47044


git-svn-id: http://core.svn.wordpress.org/trunk@46844 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2020-01-06 16:21:04 +00:00
parent 667f26b3af
commit 28639fc8d5
2 changed files with 6 additions and 2 deletions

View File

@ -270,7 +270,11 @@ class WP_REST_Server {
array( true ),
'4.7.0',
'rest_authentication_errors',
__( 'The REST API can no longer be completely disabled, the rest_authentication_errors filter can be used to restrict access to the API, instead.' )
sprintf(
/* translators: %s: rest_authentication_errors */
__( 'The REST API can no longer be completely disabled, the %s filter can be used to restrict access to the API, instead.' ),
'rest_authentication_errors'
)
);
/**

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.4-alpha-47043';
$wp_version = '5.4-alpha-47044';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.