[wp-trac] [WordPress Trac] #15771: url_to_postid() issues a notice on unmatching url's

WordPress Trac wp-trac at lists.automattic.com
Sat Dec 11 06:35:04 UTC 2010


#15771: url_to_postid() issues a notice on unmatching url's
--------------------------+-------------------------------------------------
 Reporter:  dd32          |       Owner:     
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.1
Component:  General       |     Version:     
 Severity:  normal        |    Keywords:     
--------------------------+-------------------------------------------------
 url_to_postid() causes a Notice when the supplied url cannot be found on
 the site.

 This is caused by #15770

 {{{
 Notice: Undefined property: WP_Query::$post in \wp-includes\rewrite.php on
 line 341
 }}}

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


More information about the wp-trac mailing list