[wp-trac] [WordPress Trac] #22805: Add a hook for the live theme preview event

WordPress Trac noreply at wordpress.org
Sat Dec 15 19:19:15 UTC 2012


#22805: Add a hook for the live theme preview event
-------------------------+------------------------------
 Reporter:  alexvorn2    |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Themes       |     Version:  3.4.2
 Severity:  normal       |  Resolution:
 Keywords:               |
-------------------------+------------------------------

Comment (by alexvorn2):

 Replying to [comment:5 nvartolomei]:

 So if we have activation and deactivation then we should have a life
 preview hook too.
 Theme settings will be saved on theme activation or on theme live
 preview...
 To check every time when the site loads if the settings were saved or not
 does not look very nice.

 For me for example this is one thing that I think just is missed in the
 current WordPress build.

 It would be great too to have a is_live_preview() function to know if the
 current state of theme is just a preview for reducing the files and load
 time but this is already for another ticket.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22805#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list