[wp-meta] [Making WordPress.org] #5818: Theme preview is not working for block themes

Making WordPress.org noreply at wordpress.org
Wed Sep 8 11:45:03 UTC 2021


#5818: Theme preview is not working for block themes
-----------------------------+---------------------
 Reporter:  kafleg           |       Owner:  (none)
     Type:  defect           |      Status:  closed
 Priority:  high             |   Milestone:
Component:  Theme Directory  |  Resolution:  fixed
 Keywords:  needs-patch      |
-----------------------------+---------------------

Comment (by oandregal):

 I presume the way wp-themes.com loads the theme fires the `setup_theme`
 hook, is that correct?

 We could use that hook to clean the cache. It'd also serve all the use
 cases (theme directory, customizer, switch themes programmatically, etc.)
 without the overhead of checking for the current theme in every call.

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/5818#comment:7>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list