From 84d55e7e0fb84d0ed8a730d78a169502b2347f48 Mon Sep 17 00:00:00 2001 From: audrasjb Date: Tue, 20 Jun 2023 22:42:18 +0000 Subject: [PATCH] Docs: `register_block_style()` docblock improvement. This changeset replaces `style` with `style_handle` in the description of `$style_properties` to better match `WP_Block_Styles_Registry::register()`. Follow-up to [46111], [48102]. Props bacoords, dilipbheda, audrasjb. Fixes #58562. See #57840. Built from https://develop.svn.wordpress.org/trunk@55952 git-svn-id: http://core.svn.wordpress.org/trunk@55464 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/blocks.php | 4 ++-- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/blocks.php b/wp-includes/blocks.php index 41b8430f98..729c789683 100644 --- a/wp-includes/blocks.php +++ b/wp-includes/blocks.php @@ -1165,8 +1165,8 @@ function block_version( $content ) { * @link https://developer.wordpress.org/block-editor/reference-guides/block-api/block-styles/ * * @param string $block_name Block type name including namespace. - * @param array $style_properties Array containing the properties of the style name, - * label, style (name of the stylesheet to be enqueued), + * @param array $style_properties Array containing the properties of the style name, label, + * style_handle (name of the stylesheet to be enqueued), * inline_style (string containing the CSS to be added). * @return bool True if the block style was registered with success and false otherwise. */ diff --git a/wp-includes/version.php b/wp-includes/version.php index 72cff7172d..213d50f749 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.3-alpha-55951'; +$wp_version = '6.3-alpha-55952'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.