Make WordPress Core


Ignore:
Timestamp:
04/24/2024 12:09:30 PM (12 months 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.

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

File:
1 edited

Legend:

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

    r57946 r58042  
    730730 * query the database for additional information.
    731731 *
    732  * @since 6.5.1
     732 * @since 6.5.3
    733733 * @access private
    734734 *
     
    15061506function inject_ignored_hooked_blocks_metadata_attributes( $changes, $deprecated = null ) {
    15071507    if ( null !== $deprecated ) {
    1508         _deprecated_argument( __FUNCTION__, '6.5.1' );
     1508        _deprecated_argument( __FUNCTION__, '6.5.3' );
    15091509    }
    15101510
Note: See TracChangeset for help on using the changeset viewer.