mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
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. Built from https://develop.svn.wordpress.org/trunk@58042 git-svn-id: http://core.svn.wordpress.org/trunk@57508 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
f9776f536f
commit
a3f1555919
@ -729,7 +729,7 @@ function _wp_build_title_and_description_for_taxonomy_block_template( $taxonomy,
|
|||||||
* It is self-sufficient in that it only uses information passed as arguments; it does not
|
* It is self-sufficient in that it only uses information passed as arguments; it does not
|
||||||
* query the database for additional information.
|
* query the database for additional information.
|
||||||
*
|
*
|
||||||
* @since 6.5.1
|
* @since 6.5.3
|
||||||
* @access private
|
* @access private
|
||||||
*
|
*
|
||||||
* @param WP_Post $post Template post.
|
* @param WP_Post $post Template post.
|
||||||
@ -1505,7 +1505,7 @@ function get_template_hierarchy( $slug, $is_custom = false, $template_prefix = '
|
|||||||
*/
|
*/
|
||||||
function inject_ignored_hooked_blocks_metadata_attributes( $changes, $deprecated = null ) {
|
function inject_ignored_hooked_blocks_metadata_attributes( $changes, $deprecated = null ) {
|
||||||
if ( null !== $deprecated ) {
|
if ( null !== $deprecated ) {
|
||||||
_deprecated_argument( __FUNCTION__, '6.5.1' );
|
_deprecated_argument( __FUNCTION__, '6.5.3' );
|
||||||
}
|
}
|
||||||
|
|
||||||
$hooked_blocks = get_hooked_blocks();
|
$hooked_blocks = get_hooked_blocks();
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '6.6-alpha-58040';
|
$wp_version = '6.6-alpha-58042';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user