From 160b99b724f6cfeff67982bad59cfebe2215c48c Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 25 Jul 2020 16:37:34 +0000 Subject: [PATCH] I18N: Remove `` 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 --- src/wp-includes/theme.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/theme.php b/src/wp-includes/theme.php index df297a5634..bdd1ec3f60 100644 --- a/src/wp-includes/theme.php +++ b/src/wp-includes/theme.php @@ -3124,8 +3124,8 @@ function register_theme_feature( $feature, $args = array() ) { 'invalid_rest_prepare_callback', sprintf( /* translators: %s: prepare_callback */ - __( 'The %s must be a callable function.' ), - 'prepare_callback' + __( 'The "%s" must be a callable function.' ), + 'prepare_callback' ) ); }