Make WordPress Core


Ignore:
Timestamp:
04/24/2024 12:18:58 PM (2 years ago)
Author:
Bernhard Reiter
Message:

Block Hooks: Fix @since and deprecated versions.

Two @since PHPDoc fields, and the version argument to one _deprecated_argument() incorrectly stated 6.5.1 as the relevant WordPress version where a change was introduced.

This changeset fixes them by setting them to 6.5.3 instead.

Reviewed by swissspidy.
Merges [58042] to the to the 6.5 branch.

Follow-up to [58041].
See #60754.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/6.5/src/wp-includes/block-template-utils.php

    r58041 r58043  
    730730 * query the database for additional information.
    731731 *
    732  * @since 6.5.1
     732 * @since 6.5.3
    733733 * @access private
    734734 *
     
    14911491function inject_ignored_hooked_blocks_metadata_attributes( $changes, $deprecated = null ) {
    14921492    if ( null !== $deprecated ) {
    1493         _deprecated_argument( __FUNCTION__, '6.5.1' );
     1493        _deprecated_argument( __FUNCTION__, '6.5.3' );
    14941494    }
    14951495
Note: See TracChangeset for help on using the changeset viewer.