From e3c2478ef239eb3e2da4f3b0aa0e80ca9805441f Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Wed, 15 Feb 2023 22:54:41 +0000 Subject: [PATCH] Docs: Use correct 6.2.0 @since version in multiple docblocks. Props kebbet, audrasjb, mukesh27. See #56792. git-svn-id: https://develop.svn.wordpress.org/trunk@55349 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class-wp-textdomain-registry.php | 4 ++-- src/wp-includes/class-wp-theme-json.php | 5 +++-- src/wp-includes/nav-menu-template.php | 2 +- src/wp-includes/nav-menu.php | 2 +- tests/phpunit/tests/query/cacheResults.php | 3 ++- 5 files changed, 9 insertions(+), 7 deletions(-) diff --git a/src/wp-includes/class-wp-textdomain-registry.php b/src/wp-includes/class-wp-textdomain-registry.php index 40fa66309c..4564a6c0bf 100644 --- a/src/wp-includes/class-wp-textdomain-registry.php +++ b/src/wp-includes/class-wp-textdomain-registry.php @@ -59,7 +59,7 @@ class WP_Textdomain_Registry { /** * Holds a cached list of domains with translations to improve performance. * - * @since 6.1.2 + * @since 6.2.0 * * @var string[] */ @@ -137,7 +137,7 @@ class WP_Textdomain_Registry { /** * Returns possible language directory paths for a given text domain. * - * @since 6.1.2 + * @since 6.2.0 * * @param string $domain Text domain. * @return string[] Array of language directory paths. diff --git a/src/wp-includes/class-wp-theme-json.php b/src/wp-includes/class-wp-theme-json.php index b28cab8681..20f15e015b 100644 --- a/src/wp-includes/class-wp-theme-json.php +++ b/src/wp-includes/class-wp-theme-json.php @@ -272,7 +272,8 @@ class WP_Theme_JSON { * but are used elsewhere in the processing of global styles. The indirect * property is used to validate whether or not a style value is allowed. * - * @since 6.1.2 + * @since 6.2.0 + * * @var array */ const INDIRECT_PROPERTIES_METADATA = array( @@ -3036,7 +3037,7 @@ class WP_Theme_JSON { * Removes indirect properties from the given input node and * sets in the given output node. * - * @since 6.1.2 + * @since 6.2.0 * * @param array $input Node to process. * @param array $output The processed node. Passed by reference. diff --git a/src/wp-includes/nav-menu-template.php b/src/wp-includes/nav-menu-template.php index 50ed2d481e..e6166b49d4 100644 --- a/src/wp-includes/nav-menu-template.php +++ b/src/wp-includes/nav-menu-template.php @@ -649,7 +649,7 @@ function _nav_menu_item_id_use_once( $id, $item ) { * * @see https://core.trac.wordpress.org/ticket/56926. * - * @since 6.1.2 + * @since 6.2.0 * * @param string[] $classes Array of the CSS classes that are applied to the menu item's `
  • ` element. * @param WP_Post $menu_item The current menu item object. diff --git a/src/wp-includes/nav-menu.php b/src/wp-includes/nav-menu.php index c3750f9e9a..df22279fca 100644 --- a/src/wp-includes/nav-menu.php +++ b/src/wp-includes/nav-menu.php @@ -1285,7 +1285,7 @@ function wp_map_nav_menu_locations( $new_nav_menu_locations, $old_nav_menu_locat * Resets menu_item_parent to 0 when the parent is set to the item itself. * For use before saving `_menu_item_menu_item_parent` in nav-menus.php. * - * @since 6.1.2 + * @since 6.2.0 * @access private * * @param array $menu_item_data The menu item data array. diff --git a/tests/phpunit/tests/query/cacheResults.php b/tests/phpunit/tests/query/cacheResults.php index 4ac68ceb4e..6ddaffd273 100644 --- a/tests/phpunit/tests/query/cacheResults.php +++ b/tests/phpunit/tests/query/cacheResults.php @@ -1282,7 +1282,8 @@ class Test_Query_CacheResults extends WP_UnitTestCase { /** * Ensure lazy loading term meta queries all term meta in a single query. * - * @since 6.1.2 + * @since 6.2.0 + * * @ticket 57163 * @ticket 22176 */