General: Extract the code editor settings from wp_enqueue_code_editor().

They're now returned by a new function, `wp_get_code_editor_settings()`, so they can be reused by the block editor.

Props pento.

Merges [43761] to trunk.

Fixes #45127.
Built from https://develop.svn.wordpress.org/trunk@44121


git-svn-id: http://core.svn.wordpress.org/trunk@43951 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
desrosj
2018-12-13 22:24:33 +00:00
parent 94ffe0db5d
commit cf6e69ee9f
2 changed files with 93 additions and 66 deletions

View File

@@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.1-alpha-44120';
$wp_version = '5.1-alpha-44121';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.