Commit f820f7ab authored by Sergey Biryukov's avatar Sergey Biryukov
Browse files

I18N: Remove `<code>` tags in `invalid_rest_prepare_callback` error message in...

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.
Built from https://develop.svn.wordpress.org/trunk@48612


git-svn-id: https://core.svn.wordpress.org/trunk@48374 1a063a9b-81f0-0310-95a4-ce76da25c4cd
parent 5e305c30
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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.' ),
					'<code>prepare_callback<code>'
					__( 'The "%s" must be a callable function.' ),
					'prepare_callback'
				)
			);
		}
+1 −1
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@
 *
 * @global string $wp_version
 */
$wp_version = '5.5-beta3-48611';
$wp_version = '5.5-beta3-48612';

/**
 * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.