[wp-trac] [WordPress Trac] #11878: Null value passed to apply_filters when get_post_class() is called without parameters.

WordPress Trac wp-trac at lists.automattic.com
Tue Jan 12 13:16:21 UTC 2010


#11878: Null value passed to apply_filters when get_post_class() is called without
parameters.
--------------------------+-------------------------------------------------
 Reporter:  Utkarsh       |       Owner:           
     Type:  defect (bug)  |      Status:  new      
 Priority:  low           |   Milestone:  3.0      
Component:  General       |     Version:  2.9      
 Severity:  minor         |    Keywords:  has-patch
--------------------------+-------------------------------------------------

Comment(by scribu):

 In 11878.2.patch I've moved the is_null() check before retrieving the
 post.

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


More information about the wp-trac mailing list