[wp-trac] [WordPress Trac] #65390: Docs: Fix malformed and missing @since tags in WP_Theme_JSON for responsive block nodes
WordPress Trac
noreply at wordpress.org
Tue Jun 2 10:29:56 UTC 2026
#65390: Docs: Fix malformed and missing @since tags in WP_Theme_JSON for responsive
block nodes
---------------------------+-----------------------------
Reporter: khokansardar | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Bundled Theme | Version: trunk
Severity: trivial | Keywords:
Focuses: docs |
---------------------------+-----------------------------
When responsive global styles for blocks were added in [5bc40a6], two
@since documentation issues were introduced in src/wp-includes/class-wp-
theme-json.php:
1. WP_Theme_JSON::get_block_name_from_metadata_path() has @since 7.1 —
missing the patch version. WordPress coding standards require three-part
version strings. Should be @since 7.1.0.
2. WP_Theme_JSON::get_block_nodes() was extended to generate responsive
block nodes for breakpoint-based styles, but no @since 7.1.0 changelog
entry was added to its docblock. The existing @since chain ends at 6.7.0.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/65390>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list