I18N: Remove <code> tags in an error message in WP_REST_Posts_Controller::get_item_schema() for consistency with other strings.

Follow-up to [48610].

See #50759.

git-svn-id: https://develop.svn.wordpress.org/trunk@48613 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2020-07-25 16:39:59 +00:00
parent 160b99b724
commit 9fadf9f500

View File

@ -2430,7 +2430,7 @@ class WP_REST_Posts_Controller extends WP_REST_Controller {
sprintf(
/* translators: %s: register_rest_field */
__( 'Please use %s to add new schema properties.' ),
'<code>register_rest_field<code>'
'register_rest_field'
),
'5.4.0'
);