From 00c3bea83b9ef2dfb942902f2b68c03aa7a466e7 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 26 Nov 2022 16:12:11 +0000 Subject: [PATCH] Coding Standards: Correct the deprecation version for `_filter_query_attachment_filenames()`. Follow-up to [54524]. Props jrf. See #56791. Built from https://develop.svn.wordpress.org/trunk@54878 git-svn-id: http://core.svn.wordpress.org/trunk@54430 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/deprecated.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/deprecated.php b/wp-includes/deprecated.php index 8f41b13038..26be922a77 100644 --- a/wp-includes/deprecated.php +++ b/wp-includes/deprecated.php @@ -4524,7 +4524,7 @@ function global_terms_enabled() { * @return array The unmodified clauses. */ function _filter_query_attachment_filenames( $clauses ) { - _deprecated_function( __FUNCTION__, '4.9.9', 'add_filter( "wp_allow_query_attachment_by_filename", "__return_true" )' ); + _deprecated_function( __FUNCTION__, '6.0.3', 'add_filter( "wp_allow_query_attachment_by_filename", "__return_true" )' ); remove_filter( 'posts_clauses', __FUNCTION__ ); return $clauses; } diff --git a/wp-includes/version.php b/wp-includes/version.php index 6aafcc330d..803c9b6392 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.2-alpha-54877'; +$wp_version = '6.2-alpha-54878'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.