Make WordPress Core

Changeset 54880


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

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.

Location:
branches/6.0
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/6.0

  • branches/6.0/src/wp-includes/deprecated.php

    r54534 r54880  
    43254325 */
    43264326function _filter_query_attachment_filenames( $clauses ) {
    4327     _deprecated_function( __FUNCTION__, '4.9.9', 'add_filter( "wp_allow_query_attachment_by_filename", "__return_true" )' );
     4327    _deprecated_function( __FUNCTION__, '6.0.3', 'add_filter( "wp_allow_query_attachment_by_filename", "__return_true" )' );
    43284328    remove_filter( 'posts_clauses', __FUNCTION__ );
    43294329    return $clauses;
Note: See TracChangeset for help on using the changeset viewer.