[wp-trac] [WordPress Trac] #42272: Customize: Use client-side templates for rendering base controls

WordPress Trac noreply at wordpress.org
Mon Nov 20 06:18:16 UTC 2017


#42272: Customize: Use client-side templates for rendering base controls
-------------------------+------------------
 Reporter:  westonruter  |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  5.0
Component:  Customize    |     Version:  4.9
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:
-------------------------+------------------

Comment (by westonruter):

 We should go ahead and implement the `dropdown-pages` control using the
 approach in that
 [https://gist.github.com/westonruter/00c351830e0a15cef7672b748720a7ff
 gist] and not wait for REST API integration because the approach using
 `wp_dropdown_pages()` will be better for back-compat. And at the very
 least, by using this template we'll cut down on at least half of the
 `wp_dropdown_pages()` calls for a given page load, because the template
 will then be re-used for both the controls for the homepage and posts
 page.

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


More information about the wp-trac mailing list