[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 11:30:00 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:     
--------------------------+-------------------------------------------------
 If post_class is called without a post_id, null value is passed to
 apply_filters as the post_id, instead of the ID of the current post.

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


More information about the wp-trac mailing list