[wp-trac] [WordPress Trac] #11435: Notice when requesting post title of non-existent post

WordPress Trac wp-trac at lists.automattic.com
Sun Dec 27 08:57:38 UTC 2009


#11435: Notice when requesting post title of non-existent post
--------------------------------------------+-------------------------------
 Reporter:  filosofo                        |        Owner:  ryan  
     Type:  defect (bug)                    |       Status:  closed
 Priority:  normal                          |    Milestone:  3.0   
Component:  General                         |      Version:  2.9   
 Severity:  normal                          |   Resolution:  fixed 
 Keywords:  has-patch get_the_title tested  |  
--------------------------------------------+-------------------------------
Changes (by westi):

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


Comment:

 (In [12550]) Fix notices in get_the_title() when passed an invalid id.
 Also ensure that the filter gets the invalid id so a plugin can supply a
 default title instead. Fixes #11435 props filosofo.

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


More information about the wp-trac mailing list