[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
Fri Aug 19 16:38:38 UTC 2016


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

 * keywords:   => has-patch has-unit-tests
 * version:  trunk => 3.5


Comment:

 Similar: #33372

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


More information about the wp-trac mailing list