[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
Sat Feb 27 17:49:56 UTC 2010


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

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


Comment:

 (In [13462]) Pass post ID to post_class filter, even when calling
 post_class() without parameters in the loop. fixes #11878

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


More information about the wp-trac mailing list