[wp-trac] [WordPress Trac] #45127: Extract the code editor settings from wp_enqueue_code_editor()

WordPress Trac noreply at wordpress.org
Fri Oct 19 06:44:19 UTC 2018


#45127: Extract the code editor settings from wp_enqueue_code_editor()
----------------------------+-----------------------
 Reporter:  pento           |       Owner:  pento
     Type:  task (blessed)  |      Status:  assigned
 Priority:  normal          |   Milestone:  5.0
Component:  Editor          |     Version:
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:
----------------------------+-----------------------

Comment (by pento):

 In [changeset:"43761" 43761]:
 {{{
 #!CommitTicketReference repository="" revision="43761"
 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.

 See #45127.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/45127#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list