Skip to content

Commit

Permalink
Update selectors default and since
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronrobertshaw committed Mar 16, 2023
1 parent b44a473 commit 7876305
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/wp-includes/class-wp-block-type.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,10 @@ class WP_Block_Type {
/**
* Custom CSS selectors for theme.json style generation.
*
* @since 6.2.0
* @var array|null
* @since 6.3.0
* @var array
*/
public $selectors = null;
public $selectors = array();

/**
* Supported features.
Expand Down Expand Up @@ -253,7 +253,7 @@ class WP_Block_Type {
* @since 6.1.0 Added the `editor_script_handles`, `script_handles`, `view_script_handles,
* `editor_style_handles`, and `style_handles` properties.
* Deprecated the `editor_script`, `script`, `view_script`, `editor_style`, and `style` properties.
* @since 6.2.0 Added the `selectors` property.
* @since 6.3.0 Added the `selectors` property.
*
* @see register_block_type()
*
Expand All @@ -277,7 +277,7 @@ class WP_Block_Type {
* @type string|null $textdomain The translation textdomain.
* @type array[] $styles Alternative block styles.
* @type array[] $variations Block variations.
* @type array|null $selectors Custom CSS selectors for theme.json style generation.
* @type array $selectors Custom CSS selectors for theme.json style generation.
* @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.
Expand Down

0 comments on commit 7876305

Please sign in to comment.