[wp-trac] [WordPress Trac] #33552: Facilitate plugins to override Customizer features

WordPress Trac noreply at wordpress.org
Wed Aug 26 06:53:54 UTC 2015


#33552: Facilitate plugins to override Customizer features
-------------------------+------------------
 Reporter:  westonruter  |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  4.4
Component:  Customize    |     Version:  3.9
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:
-------------------------+------------------
Changes (by westonruter):

 * keywords:   => has-patch


Comment:

 @DrewAPicture [https://core.trac.wordpress.org/ticket/33411#comment:9
 commented on 33411]:

 Very interesting. I wonder what if any potential downsides there might be
 in placing such a general hook this high up in the stack.

 I'd almost be tempted use a dynamic hook with a whitelist based on the
 `nav_menus` and `widgets` properties to sort of lock it down to this
 specific context.

 The whitelist could be expanded in the future without opening the door
 wide to the scenario that any general-purpose hook brings: having to
 support any number of unexpected use-cases down the road.

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


More information about the wp-trac mailing list