[wp-trac] [WordPress Trac] #12631: the_title filter gets inconsistent arguments

WordPress Trac wp-trac at lists.automattic.com
Sat May 15 05:26:28 UTC 2010


#12631: the_title filter gets inconsistent arguments
---------------------------------+------------------------------------------
 Reporter:  filosofo             |        Owner:        
     Type:  defect (bug)         |       Status:  closed
 Priority:  normal               |    Milestone:  3.0   
Component:  Template             |      Version:  3.0   
 Severity:  normal               |   Resolution:  fixed 
 Keywords:  has-patch the_title  |  
---------------------------------+------------------------------------------
Changes (by nacin):

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


Comment:

 (In [14653]) Always pass post ID, not post object, to the_title filter.
 Original the_title filter in get_the_title() uses ID only. props filosofo,
 fixes #12631.

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


More information about the wp-trac mailing list