Make WordPress Core


Ignore:
Timestamp:
11/26/2022 04:11:01 PM (18 months ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Correct the deprecation version for _filter_query_attachment_filenames().

Follow-up to [54524].

Props jrf.
See #56791.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/deprecated.php

    r54663 r54878  
    45254525 */
    45264526function _filter_query_attachment_filenames( $clauses ) {
    4527     _deprecated_function( __FUNCTION__, '4.9.9', 'add_filter( "wp_allow_query_attachment_by_filename", "__return_true" )' );
     4527    _deprecated_function( __FUNCTION__, '6.0.3', 'add_filter( "wp_allow_query_attachment_by_filename", "__return_true" )' );
    45284528    remove_filter( 'posts_clauses', __FUNCTION__ );
    45294529    return $clauses;
Note: See TracChangeset for help on using the changeset viewer.