[wp-trac] [WordPress Trac] #17037: get_the_title() will pass an empty title and invalid post ID to 'the_title' filter on invalid post ID

WordPress Trac wp-trac at lists.automattic.com
Sun Apr 3 20:55:11 UTC 2011


#17037: get_the_title() will pass an empty title and invalid post ID to 'the_title'
filter on invalid post ID
--------------------------+------------------------------
 Reporter:  kawauso       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Template      |     Version:  3.1
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |
--------------------------+------------------------------
Changes (by scribu):

 * keywords:   => needs-patch


Comment:

 I think it should just return false instead.

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


More information about the wp-trac mailing list