I18N: Remove <code> tags in invalid_rest_prepare_callback error message in register_theme_feature() for consistency with other strings.

Follow-up to [48611].

See #50758.

git-svn-id: https://develop.svn.wordpress.org/trunk@48612 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2020-07-25 16:37:34 +00:00
parent 34872f1a94
commit 160b99b724

View File

@ -3124,8 +3124,8 @@ function register_theme_feature( $feature, $args = array() ) {
'invalid_rest_prepare_callback', 'invalid_rest_prepare_callback',
sprintf( sprintf(
/* translators: %s: prepare_callback */ /* translators: %s: prepare_callback */
__( 'The %s must be a callable function.' ), __( 'The "%s" must be a callable function.' ),
'<code>prepare_callback<code>' 'prepare_callback'
) )
); );
} }