From 7b6365600e3250145bc9444c8e844dca1e9fed70 Mon Sep 17 00:00:00 2001 From: Chetan Satasiya Date: Mon, 29 Oct 2018 12:10:34 +0530 Subject: [PATCH] renamed _wpGutenbergCodeEditorSettings to _wpCodeEditorSettings --- lib/client-assets.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/client-assets.php b/lib/client-assets.php index def311318cfd4..f464fe86c5198 100644 --- a/lib/client-assets.php +++ b/lib/client-assets.php @@ -1509,7 +1509,7 @@ function gutenberg_editor_scripts_and_styles( $hook ) { wp_add_inline_script( 'wp-editor', sprintf( - 'window._wpGutenbergCodeEditorSettings = %s;', + 'window._wpCodeEditorSettings = %s;', wp_json_encode( $gutenberg_captured_code_editor_settings ) ) );