From 34d1e48811753d2bab78569765381e5db671f7fb Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 26 Nov 2022 16:26:49 +0000 Subject: [PATCH] Coding Standards: Correct the deprecation version for `_filter_query_attachment_filenames()`. Follow-up to [54524], [54534]. Props jrf. Merges [54878] to the 6.0 branch. See #56791. git-svn-id: https://develop.svn.wordpress.org/branches/6.0@54880 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/deprecated.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/deprecated.php b/src/wp-includes/deprecated.php index 013694391c..fa2bfb391d 100644 --- a/src/wp-includes/deprecated.php +++ b/src/wp-includes/deprecated.php @@ -4324,7 +4324,7 @@ function wp_add_iframed_editor_assets_html() { * @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; } \ No newline at end of file