Skip to content

Commit c384eff

Browse files
Docs: Correct @since tags in WP_Theme_JSON for responsive block nodes.
Follow-up to [62444]. Props khokansardar, huzaifaalmesbah, isabel_brison, sabernhardt, manhar, SergeyBiryukov. Fixes #65390. git-svn-id: https://develop.svn.wordpress.org/trunk@62493 602fd350-edb4-49c9-b593-d223f7449a82
1 parent a513738 commit c384eff

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/wp-includes/class-wp-theme-json.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2861,6 +2861,7 @@ private static function update_paragraph_text_indent_selector( $feature_declarat
28612861
* @since 6.3.0 Refactored and stabilized selectors API.
28622862
* @since 6.6.0 Added optional selectors and options for generating block nodes.
28632863
* @since 6.7.0 Added $include_node_paths_only option.
2864+
* @since 7.1.0 Added responsive block nodes for breakpoint-based styles.
28642865
*
28652866
* @param array $theme_json The theme.json converted to an array.
28662867
* @param array $selectors Optional list of selectors per block.
@@ -5238,7 +5239,7 @@ protected static function get_valid_block_style_variations( $blocks_metadata = a
52385239
/**
52395240
* Extracts the block name from the block metadata path.
52405241
*
5241-
* @since 7.1
5242+
* @since 7.1.0
52425243
*
52435244
* @param array $block_metadata Block metadata.
52445245
* @return string|null The block name or null if not found.

0 commit comments

Comments
 (0)