[wp-trac] [WordPress Trac] #14381: WordPress doesn't report the currently active theme

WordPress Trac wp-trac at lists.automattic.com
Wed Jul 21 21:19:06 UTC 2010


#14381: WordPress doesn't report the currently active theme
--------------------------+-------------------------------------------------
 Reporter:  josephscott   |       Owner:           
     Type:  defect (bug)  |      Status:  new      
 Priority:  normal        |   Milestone:  3.0.1    
Component:  General       |     Version:  3.0      
 Severity:  normal        |    Keywords:  has-patch
--------------------------+-------------------------------------------------

Comment(by ryan):

 That cleans things up a bit.  $current_theme is gone.  Instead the current
 theme slug is assigned to the 'current_theme' key of the themes array.
 This gets rid of all of the local cache junk that was being sent to api
 under the current_theme key.  The themes array is populated with only the
 Name and Version for each theme.  That's all I see being used api side.
 The last cached update and the new update are in better named $last_update
 and $new_update variables.

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


More information about the wp-trac mailing list