[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
Thu Dec 27 15:24:03 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:  3.5
 Severity:  normal                             |  Resolution:
 Keywords:  has-patch commit needs-unit-tests  |
-----------------------------------------------+--------------------

Comment (by nacin):

 In [changeset:"1175/tests"]:
 {{{
 #!CommitTicketReference repository="tests" revision="1175"
 Test for get_page_uri() producing PHP warnings on non-WP_Post post
 objects. see #22883.
 }}}

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


More information about the wp-trac mailing list