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 (#46809)
  • Loading branch information
Gerardo Pacheco authored Dec 28, 2022
1 parent 78c25cf commit ab6c6f2
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

0 comments on commit ab6c6f2

Please sign in to comment.