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
This commit is contained in:
Sergey Biryukov 2022-11-26 16:12:11 +00:00
parent 114fc4cf69
commit 00c3bea83b
2 changed files with 2 additions and 2 deletions

View File

@ -4524,7 +4524,7 @@ function global_terms_enabled() {
* @return array The unmodified clauses. * @return array The unmodified clauses.
*/ */
function _filter_query_attachment_filenames( $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__ ); remove_filter( 'posts_clauses', __FUNCTION__ );
return $clauses; return $clauses;
} }

View File

@ -16,7 +16,7 @@
* *
* @global string $wp_version * @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. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.