Make WordPress Core


Ignore:
Timestamp:
01/06/2020 04:19:51 PM (4 years ago)
Author:
SergeyBiryukov
Message:

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

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

See #38446.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/rest-api/class-wp-rest-server.php

    r46729 r47044  
    271271            '4.7.0',
    272272            'rest_authentication_errors',
    273             __( 'The REST API can no longer be completely disabled, the rest_authentication_errors filter can be used to restrict access to the API, instead.' )
     273            sprintf(
     274                /* translators: %s: rest_authentication_errors */
     275                __( 'The REST API can no longer be completely disabled, the %s filter can be used to restrict access to the API, instead.' ),
     276                'rest_authentication_errors'
     277            )
    274278        );
    275279
Note: See TracChangeset for help on using the changeset viewer.