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

WordPress Trac noreply at wordpress.org
Thu Dec 13 20:11:14 UTC 2018


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

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

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

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


More information about the wp-trac mailing list