Skip to content

Commit

Permalink
Mobile - Block Editor Settings Endpoint - Use wp_get_global_styles in…
Browse files Browse the repository at this point in the history
…stead of gutenberg_get_global_styles
  • Loading branch information
Gerardo committed Dec 28, 2022
1 parent 78c25cf commit 708ff8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/experimental/block-editor-settings-mobile.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function gutenberg_get_block_editor_settings_mobile( $settings ) {
'mobile' === $_GET['context']
) {
if ( wp_theme_has_theme_json() ) {
$settings['__experimentalStyles'] = gutenberg_get_global_styles();
$settings['__experimentalStyles'] = wp_get_global_styles();
}

// To tell mobile that the site uses quote v2 (inner blocks).
Expand Down

1 comment on commit 708ff8e

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/3793487615
📝 Reported issues:

Please sign in to comment.