[wp-trac] [WordPress Trac] #27112: Add widget management to the customizer

WordPress Trac noreply at wordpress.org
Wed Feb 12 19:54:04 UTC 2014


#27112: Add widget management to the customizer
----------------------------+------------------
 Reporter:  nacin           |       Owner:
     Type:  task (blessed)  |      Status:  new
 Priority:  normal          |   Milestone:  3.9
Component:  Widgets         |     Version:
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:
----------------------------+------------------

Comment (by nacin):

 Some particular things we've noticed so far:
  * Need to merge the widget icons into Dashicons (melchoyce, michael
 arestad)
  * filter_*(), exceptions, and other things we don't use in core should be
 replaced
  * Twenty Thirteen and Fourteen need the JS added that the plugin bundles.

 Where things should be merged:
  * widget-customizer.js should be merged into customize-controls.css.
  * widget-customizer.php should become class-wp-customize-widgets.php.
  * The two controls should be added into class-wp-customize-control.php.
  * widget-customizer.js is a ton of code, so let's maybe keep it separate
 from customize-control.js for now.
  * Does widget-customizer-preview.js share a lot of code with widget-
 customizer.js?
  * widget-customizer-preview.css should just be some CSS injected into
 wp_head. (It also needs better styling.)
  * What's liveFilter for? Is it needed? Can we do our own thing? The
 Themes page already has live searching.
  * I'm curious whether the options transaction component is necessary. We
 built the customizer originally by simply storing values and passing them
 through option_* filters on the fly. I've looked at this a few times now,
 and I'm not sure what I'm missing?

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


More information about the wp-trac mailing list