[wp-trac] [WordPress Trac] #33657: wp.customize.Container.onChangeActive uses "construct" var instead of "container"

WordPress Trac noreply at wordpress.org
Tue Sep 1 23:10:43 UTC 2015


#33657: wp.customize.Container.onChangeActive uses "construct" var instead of
"container"
-------------------------+-----------------------------
 Reporter:  ericlewis    |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Customize    |    Version:  4.3
 Severity:  normal       |   Keywords:  has-patch
  Focuses:  javascript   |
-------------------------+-----------------------------
 r32743 introduced the local variable `construct` into
 `wp.customize.Container.onChangeActive`. Other functions in the class
 (e.g. the `initialize` method) use `container` when referring to an object
 instance. Can we do the same here for consistency?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/33657>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list