[wp-trac] Re: [WordPress Trac] #8446: Using Slug-Data in CSS Classes does not work

WordPress Trac wp-trac at lists.automattic.com
Wed May 13 18:47:50 GMT 2009


#8446: Using Slug-Data in CSS Classes does not work
-------------------------------------+--------------------------------------
 Reporter:  lilyfan                  |        Owner:  nbachiyski
     Type:  defect (bug)             |       Status:  reopened  
 Priority:  high                     |    Milestone:  2.8       
Component:  i18n                     |      Version:  2.7       
 Severity:  major                    |   Resolution:            
 Keywords:  has-patch tested commit  |  
-------------------------------------+--------------------------------------
Changes (by mrmist):

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


Comment:

 This changeset has introduced a PHP notice that prevents IIS from loading
 wp-admin when debug is enabled.

 > PHP Notice: Undefined property: stdClass::$user_id in
 E:\webpage\svn\trunk\wp-includes\comment-template.php on line 297

 I'm not sure, but possibly      $classes[] = 'comment-author-' .
 $user->user_id; should be      $classes[] = 'comment-author-' .
 $comment->user_id;

 Attaching patch to that effect.

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


More information about the wp-trac mailing list