[wp-trac] [WordPress Trac] #40221: switch_theme action + Live Preview = confusion

WordPress Trac noreply at wordpress.org
Thu Mar 23 15:17:18 UTC 2017


#40221: switch_theme action + Live Preview = confusion
--------------------------+------------------------------
 Reporter:  alexvorn2     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Themes        |     Version:  4.7.3
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by alexvorn2):

 I tested and noticed that skipping the hook, after theme activation via
 Live Preview - will not solve the problem, we still need this hook to be
 executed on old theme somehow.
 Old theme can have some deactivation functions that are needed to be
 executed.

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


More information about the wp-trac mailing list