diff --git a/wp-includes/class-wp-block-type.php b/wp-includes/class-wp-block-type.php index 6a028b304c..84e956ec9a 100644 --- a/wp-includes/class-wp-block-type.php +++ b/wp-includes/class-wp-block-type.php @@ -193,6 +193,11 @@ class WP_Block_Type { * Will populate object properties from the provided arguments. * * @since 5.0.0 + * @since 5.5.0 Added the `title`, `category`, `parent`, `icon`, `description`, + * `keywords`, `textdomain`, `styles`, `supports`, `example`, + * `uses_context`, and `provides_context` properties. + * @since 5.6.0 Added the `api_version` property. + * @since 5.8.0 Added the `variations` property. * * @see register_block_type() * @@ -201,7 +206,7 @@ class WP_Block_Type { * Optional. Array or string of arguments for registering a block type. Any arguments may be defined, * however the ones described below are supported by default. Default empty array. * - * + * @type string $api_version Block API version. * @type string $title Human-readable block type label. * @type string|null $category Block type category classification, used in * search interfaces to arrange block types by category. @@ -213,6 +218,7 @@ class WP_Block_Type { * result in search interfaces. * @type string|null $textdomain The translation textdomain. * @type array $styles Alternative block styles. + * @type array $variations Block variations. * @type array|null $supports Supported features. * @type array|null $example Structured data for the block preview. * @type callable|null $render_callback Block type render callback. diff --git a/wp-includes/version.php b/wp-includes/version.php index 800e6f195c..b92c2301c8 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.8-beta4-51243'; +$wp_version = '5.8-beta4-51244'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.