Skip to content

Commit

Permalink
Reinstate annotation and remove whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
ramonjd committed Oct 10, 2024
1 parent 482b786 commit 2531554
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/class-wp-theme-json-gutenberg.php
Original file line number Diff line number Diff line change
Expand Up @@ -2719,6 +2719,8 @@ private static function update_separator_declarations( $declarations ) {
/**
* An internal method to get the block nodes from a theme.json file.
*
* @since 6.1.0
*
* @param array $theme_json The theme.json converted to an array.
* @param array $selectors Optional list of selectors per block.
* @param array $options {
Expand All @@ -2729,7 +2731,6 @@ private static function update_separator_declarations( $declarations ) {
* }
* @return array The block nodes in theme.json.
*/

private static function get_block_nodes( $theme_json, $selectors = array(), $options = array() ) {
$selectors = empty( $selectors ) ? static::get_blocks_metadata() : $selectors;
$nodes = array();
Expand Down

0 comments on commit 2531554

Please sign in to comment.