mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
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:
parent
667f26b3af
commit
28639fc8d5
@ -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'
|
||||
)
|
||||
);
|
||||
|
||||
/**
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user