Skip to content

Commit 6040f5c

Browse files
Update src/wp-includes/rest-api/endpoints/class-wp-rest-global-styles-revisions-controller.php
Co-authored-by: Aaron Robertshaw <[email protected]>
1 parent f895c6e commit 6040f5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wp-includes/rest-api/endpoints/class-wp-rest-global-styles-revisions-controller.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ public function prepare_item_for_response( $post, $request ) {
313313

314314
if ( ! empty( $global_styles_config['styles'] ) || ! empty( $global_styles_config['settings'] ) ) {
315315
/*
316-
* Register block style variations from the revision data.
316+
* Register block style variations from the theme data.
317317
* This is required so the variations pass sanitization of theme.json data.
318318
*/
319319
if ( ! empty( $global_styles_config['styles']['blocks'] ) ) {

0 commit comments

Comments
 (0)