[wp-trac] [WordPress Trac] #30738: JS content templates for base WP_Customize_Control

WordPress Trac noreply at wordpress.org
Thu Oct 19 03:03:21 UTC 2017


#30738: JS content templates for base WP_Customize_Control
-------------------------------------+-------------------------------------
 Reporter:  celloexpressions         |       Owner:  westonruter
     Type:  task (blessed)           |      Status:  accepted
 Priority:  high                     |   Milestone:  4.9
Component:  Customize                |     Version:  4.1
 Severity:  normal                   |  Resolution:
 Keywords:  needs-unit-tests has-    |     Focuses:  accessibility,
  patch needs-testing needs-dev-     |  javascript, rest-api
  note                               |
-------------------------------------+-------------------------------------

Comment (by westonruter):

 In [changeset:"41935"]:
 {{{
 #!CommitTicketReference repository="" revision="41935"
 Customize: Move control's fallback selection of default content template
 to `renderContent` method to align with sections and panels.

 * Only use default control content template when a more specific template
 doesn't exist.
 * Remove extraneous whitespace from being output in
 `WP_Customize_Control::render()` method.
 * Move Custom Header template printing to
 `customize_controls_print_footer_scripts` action.

 See #30738.
 }}}

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


More information about the wp-trac mailing list