[wp-trac] [WordPress Trac] #31789: Themes: allow a pre filter in `wp_prepare_themes_for_js()`

WordPress Trac noreply at wordpress.org
Mon Mar 30 16:43:21 UTC 2015


#31789: Themes: allow a pre filter in `wp_prepare_themes_for_js()`
-------------------------+--------------------------
 Reporter:  mattwiebe    |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  4.2
Component:  Themes       |     Version:  trunk
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:  performance
-------------------------+--------------------------

Comment (by mattwiebe):

 > Some other things are being looked at with regards to lazy loading so
 not going to go for this just yet

 Lazy loading will only help speed thing up once `wp-admin/customize.php`
 comes down the pipe. None of the approaches there are making an async call
 for theme data, nor are any planned (that I've seen). The data is still
 bootstrapped, it's just that maybe the `<img>` tags won't be clogging
 things up, initially. ( #31793 )

 Without this filter, I either need to hack core on wpcom to make theme
 browsing in the Customizer performant, or just disable the feature
 entirely. 8-10 second initial load times for `wp-admin/customize.php` just
 won't cut it, especially since each time you preview a theme will reload
 the Customizer and have a really slow load, again.

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


More information about the wp-trac mailing list