[wp-trac] [WordPress Trac] #30737: JS templates for Customizer Panels and Sections

WordPress Trac noreply at wordpress.org
Mon Jan 26 01:28:40 UTC 2015


#30737: JS templates for Customizer Panels and Sections
------------------------------+------------------
 Reporter:  celloexpressions  |       Owner:
     Type:  enhancement       |      Status:  new
 Priority:  high              |   Milestone:  4.2
Component:  Customize         |     Version:  4.1
 Severity:  normal            |  Resolution:
 Keywords:  has-patch         |     Focuses:
------------------------------+------------------

Comment (by celloexpressions):

 I don't think we should hold this up for unit tests since most of the
 Customizer code still needs unit tests. But if you're able to write some
 for this, it wouldn't hurt (that's not within my scope of abilities).

 I think it's important to keep objects from potentially being sent to JS
 if the caps aren't available within the control/panel/section objects, but
 it would probably work if that was handled by the manager. We should
 probably move all of that logic out of `customize.php` in another ticket,
 so should we just move the checks there for now?

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


More information about the wp-trac mailing list