[wp-trac] [WordPress Trac] #22883: get_page_uri() can produce PHP Warnings when non-WP_Post object instances are passed
WordPress Trac
noreply at wordpress.org
Wed Dec 12 18:59:10 UTC 2012
#22883: get_page_uri() can produce PHP Warnings when non-WP_Post object instances
are passed
--------------------------+--------------------
Reporter: dd32 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.5.1
Component: General | Version:
Severity: normal | Resolution:
Keywords: has-patch |
--------------------------+--------------------
Comment (by nacin):
Definitely a good change. I imagine we'll find random code throughout WP
that might need to be updated to call get_post() unconditionally.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22883#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list