From 97cb448897ae7fad4a3961f95883d7284e19e89a Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 30 Sep 2023 07:39:26 +0000 Subject: [PATCH] Coding Standards: Remove redundant ignore annotations, take 3. This removes ignore annotations about invalid function names for deprecated functions. Those are ignored by design in WPCS since version 2.2.0. Follow-up to [45580], [47612], [47927]. Props jrf. See #59161. Built from https://develop.svn.wordpress.org/trunk@56751 git-svn-id: http://core.svn.wordpress.org/trunk@56263 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/deprecated.php | 2 +- wp-includes/version.php | 2 +- xmlrpc.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/deprecated.php b/wp-includes/deprecated.php index 9f8981d663..51d7490c87 100644 --- a/wp-includes/deprecated.php +++ b/wp-includes/deprecated.php @@ -4008,7 +4008,7 @@ function wp_make_content_images_responsive( $content ) { * @access private * @deprecated 5.5.0 */ -function wp_unregister_GLOBALS() { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.FunctionNameInvalid +function wp_unregister_GLOBALS() { // register_globals was deprecated in PHP 5.3 and removed entirely in PHP 5.4. _deprecated_function( __FUNCTION__, '5.5.0' ); } diff --git a/wp-includes/version.php b/wp-includes/version.php index 936f4ec643..9d71af5daf 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.4-beta1-56750'; +$wp_version = '6.4-beta1-56751'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. diff --git a/xmlrpc.php b/xmlrpc.php index ac0f191792..b37abde3c2 100644 --- a/xmlrpc.php +++ b/xmlrpc.php @@ -97,7 +97,7 @@ exit; * @param string $io Whether input or output * @param string $msg Information describing logging reason. */ -function logIO( $io, $msg ) { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.FunctionNameInvalid +function logIO( $io, $msg ) { _deprecated_function( __FUNCTION__, '3.4.0', 'error_log()' ); if ( ! empty( $GLOBALS['xmlrpc_logging'] ) ) { error_log( $io . ' - ' . $msg );