I18N: Replace rest_authentication_errors
filter name with a placeholder in a translatable string.
Follow-up to [38947] and [40038]. See #38446. git-svn-id: https://develop.svn.wordpress.org/trunk@47044 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
b459cddeaf
commit
6cd0e35c6b
@ -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'
|
||||
)
|
||||
);
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user