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

WordPress Trac noreply at wordpress.org
Thu Feb 13 08:17:40 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):

 Replying to [comment:6 westonruter]:
 > Note that it does not currently support `add_option`, for which there
 may be instances of a single widget declaring the option it saves into up
 front.

 On the other hand: since these are single-instance widgets, if the widget
 is already in use, then capturing update_option() is enough. If the widget
 is not in use, we don't care strongly if add_option() gets used. I see two
 potential side effects: if an option is conditionally (and oddly)
 initialized (low severity), and that it has the potential to mess with
 future defaults (low severity but probably pretty weird if you encountered
 it).

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


More information about the wp-trac mailing list