From 55d1c71d5680df7edfcad5458e94a2ed663dc5c0 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Fri, 25 Aug 2023 03:35:17 +0000 Subject: [PATCH] Fix coding standards for translatable `_deprecated_class()` message strings See #41125 Built from https://develop.svn.wordpress.org/trunk@56468 git-svn-id: http://core.svn.wordpress.org/trunk@55980 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/functions.php | 4 ++-- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 1f5bbffd1d..7a9572fd83 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -5638,10 +5638,10 @@ function _deprecated_class( $class, $version, $replacement = '' ) { if ( function_exists( '__' ) ) { if ( ! is_null( $replacement ) ) { /* translators: 1: PHP class name, 2: version number, 3: alternative clas or function name */ - trigger_error( sprintf( __('Class %1$s is deprecated since version %2$s! Use %3$s instead.'), $class, $version, $replacement ), E_USER_DEPRECATED ); + trigger_error( sprintf( __( 'Class %1$s is deprecated since version %2$s! Use %3$s instead.' ), $class, $version, $replacement ), E_USER_DEPRECATED ); } else { /* translators: 1: PHP class name, 2: version number */ - trigger_error( sprintf( __('Class %1$s is deprecated since version %2$s with no alternative available.'), $class, $version ), E_USER_DEPRECATED ); + trigger_error( sprintf( __( 'Class %1$s is deprecated since version %2$s with no alternative available.' ), $class, $version ), E_USER_DEPRECATED ); } } else { if ( ! is_null( $replacement ) ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index 5b2790aee9..c7c5e56b39 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.4-alpha-56467'; +$wp_version = '6.4-alpha-56468'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.