[wp-trac] Re: [WordPress Trac] #7800: Theme Directory page broken

WordPress Trac wp-trac at lists.automattic.com
Sun Sep 28 08:40:07 GMT 2008


#7800: Theme Directory page broken
----------------------------+-----------------------------------------------
 Reporter:  thee17          |        Owner:  anonymous
     Type:  defect          |       Status:  new      
 Priority:  normal          |    Milestone:  2.7      
Component:  Administration  |      Version:  2.7      
 Severity:  critical        |   Resolution:           
 Keywords:                  |  
----------------------------+-----------------------------------------------
Comment (by DD32):

 I'm suspicious as to why the error has appeared now that the theme update
 stuff is in; Its caused by the Theme update checkers UI not checking the
 type first, But the fact your current theme doesnt have a valid stylesheet
 name assoc. with it, seems to say there's something else at fault (perhaps
 in your setup).

 I would add a {{{ var_dump($theme); }}} to line #66 of wp-admin/themes.php
 to check that the result from current_theme_info() is correct. eg:
 {{{
         if ( !isset($themes_update) )
                 $themes_update = get_option('update_themes');
 var_dump($theme);
         if ( isset($theme->stylesheet) )
                 $stylesheet = $theme->stylesheet;
 }}}

-- 
Ticket URL: <http://trac.wordpress.org/ticket/7800#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list