From dc258361119c50e5a78e5ebc661d9f3cd563daa5 Mon Sep 17 00:00:00 2001 From: shail-mehta Date: Tue, 20 Aug 2024 21:52:51 +0530 Subject: [PATCH 1/2] Updated @since Order in Inline document --- lib/client-assets.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/client-assets.php b/lib/client-assets.php index a159bc53e6a59..952ea104591be 100644 --- a/lib/client-assets.php +++ b/lib/client-assets.php @@ -489,6 +489,8 @@ function gutenberg_register_packages_styles( $styles ) { * * See: https://developer.wordpress.org/block-editor/reference-guides/packages/packages-style-engine/ * + * @since 6.1 + * * @param array $options { * Optional. An array of options to pass to gutenberg_style_engine_get_stylesheet_from_context(). Default empty array. * @@ -496,8 +498,6 @@ function gutenberg_register_packages_styles( $styles ) { * @type bool $prettify Whether to add new lines and indents to output. Default is the test of whether the global constant `SCRIPT_DEBUG` is defined. * } * - * @since 6.1 - * * @return void */ function gutenberg_enqueue_stored_styles( $options = array() ) { From 29281f8b8a9e2f07dfb62d7f9fd5e19a30ce5a12 Mon Sep 17 00:00:00 2001 From: shail-mehta Date: Tue, 20 Aug 2024 22:14:34 +0530 Subject: [PATCH 2/2] Updated @since Order in Inline document --- lib/client-assets.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/client-assets.php b/lib/client-assets.php index 952ea104591be..62e874d6b06c8 100644 --- a/lib/client-assets.php +++ b/lib/client-assets.php @@ -487,10 +487,10 @@ function gutenberg_register_packages_styles( $styles ) { * This hook also exists, and should be backported to Core in future versions. * However, it is envisaged that Gutenberg will continue to use the Style Engine's `gutenberg_*` functions and `_Gutenberg` classes to aid continuous development. * - * See: https://developer.wordpress.org/block-editor/reference-guides/packages/packages-style-engine/ - * * @since 6.1 * + * @see https://developer.wordpress.org/block-editor/reference-guides/packages/packages-style-engine/ + * * @param array $options { * Optional. An array of options to pass to gutenberg_style_engine_get_stylesheet_from_context(). Default empty array. *