[wp-trac] [WordPress Trac] #31793: Theme Switcher: Lazy load theme screenshots
WordPress Trac
noreply at wordpress.org
Sat Mar 28 07:27:13 UTC 2015
#31793: Theme Switcher: Lazy load theme screenshots
--------------------------+-------------------------
Reporter: ocean90 | Owner:
Type: defect (bug) | Status: new
Priority: high | Milestone: 4.2
Component: Customize | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch | Focuses: javascript
--------------------------+-------------------------
Changes (by westonruter):
* keywords: needs-patch => has-patch
Comment:
I'm attaching here a patch I also attached on #28580, and as I
[https://core.trac.wordpress.org/ticket/28580#comment:17 commented], in
[attachment:31793.diff] the `ThemeControl`'s `renderContent` method gets
deferred until the containing section is expanded, meaning that the
screenshots won't load until the Theme Switcher panel is opened. Given the
lateness of the release cycle, I think such a Theme Switcher-specific
loading optimization should be what is in scope. /cc @mattwiebe
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31793#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list