[wp-trac] [WordPress Trac] #20514: Preview Installable Theme - navigating within preview causes default theme to be displayed

WordPress Trac wp-trac at lists.automattic.com
Mon Apr 23 16:28:48 UTC 2012


#20514: Preview Installable Theme - navigating within preview causes default theme
to be displayed
--------------------------+---------------------
 Reporter:  TomAuger      |       Owner:  nacin
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  3.4
Component:  Themes        |     Version:  3.4
 Severity:  minor         |  Resolution:  fixed
 Keywords:  needs-patch   |
--------------------------+---------------------
Changes (by nacin):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In certain browsers (Chrome, specifically), the cookie was getting
 clobbered (in certain situations). This would cause either a random theme
 to be chosen, or the first theme to be chosen off disk (which may have
 been different on different web servers). (Not sure which way it worked; I
 killed off the ancient PHP code and rewrote it to use the new WP_Theme
 APIs.)

 Either way, it will now always default to Twenty Eleven on the homepage,
 and the cookie will no longer be clobbered.

 Example workflow:
  1. http://wp-themes.com/ - uses Twenty Eleven
  2. http://wp-themes.com/vigilance/ - uses Vigilance
  3. http://wp-themes.com/ - uses Vigilance

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


More information about the wp-trac mailing list