Make WordPress Core

Changeset 54879 for branches/6.1


Ignore:
Timestamp:
11/26/2022 04:23:49 PM (2 years ago)
Author:
SergeyBiryukov
Message:

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

Follow-up to [54524].

Props jrf.
Merges [54878] to the 6.1 branch.
See #56791.

Location:
branches/6.1
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/6.1

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

    r54524 r54879  
    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.