[wp-trac] [WordPress Trac] #37738: WP_Post::get_instance returns erroneous data for invalid input such as an array or object instead of false.

WordPress Trac noreply at wordpress.org
Thu May 18 15:09:25 UTC 2017


#37738: WP_Post::get_instance returns erroneous data for invalid input such as an
array or object instead of false.
--------------------------------------+---------------------------
 Reporter:  deeptiboddapati           |       Owner:  boonebgorges
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:
Component:  Posts, Post Types         |     Version:  3.5
 Severity:  normal                    |  Resolution:  maybelater
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+---------------------------
Changes (by boonebgorges):

 * status:  reopened => closed
 * resolution:   => maybelater
 * milestone:  4.8 =>


Comment:

 Making these changes in a backward-compatible way has proved difficult.
 Let's return to this at some point in the future.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37738#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list