[wp-trac] [WordPress Trac] #41897: Code Editor: Add reusable code editor Customizer control

WordPress Trac noreply at wordpress.org
Sat Oct 21 08:43:38 UTC 2017


#41897: Code Editor: Add reusable code editor Customizer control
---------------------------------------------+--------------------------
 Reporter:  westonruter                      |       Owner:  westonruter
     Type:  defect (bug)                     |      Status:  closed
 Priority:  high                             |   Milestone:  4.9
Component:  Customize                        |     Version:
 Severity:  normal                           |  Resolution:  fixed
 Keywords:  has-patch commit needs-dev-note  |     Focuses:
---------------------------------------------+--------------------------

Comment (by westonruter):

 In [changeset:"41960"]:
 {{{
 #!CommitTicketReference repository="" revision="41960"
 Customize: Allow control subclasses to add to the `deferred` object before
 the base class initializes.

 Update the `CodeEditorControl`'s `codemirror` deferred to be set before
 calling the parent class's `initialize` method. Since the `ready` method
 may be called directly by `initialize` it may be too late to add a new
 `Deferred` to the control's `deferred` property after calling the base
 control class's `initialize`.

 Amends [41958].
 See #41897.
 }}}

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


More information about the wp-trac mailing list