[wp-trac] [WordPress Trac] #30595: mysqli_fetch_object is called on results from SET queries

WordPress Trac noreply at wordpress.org
Thu Dec 4 22:02:20 UTC 2014


#30595: mysqli_fetch_object is called on results from SET queries
--------------------------+------------------------
 Reporter:  thasmin       |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Database      |     Version:  4.0.1
 Severity:  normal        |  Resolution:  duplicate
 Keywords:                |     Focuses:
--------------------------+------------------------
Changes (by pento):

 * status:  new => closed
 * resolution:   => duplicate
 * milestone:  Awaiting Review =>


Comment:

 Duplicate of #27982.

 Thanks for the bug report! This has been fixed in WordPress 4.1, by
 [30677].

 Due to the tricky nature of matching queries, it's better to check that we
 have a valid result object, rather than to continue expanding that regular
 expression you mentioned.

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


More information about the wp-trac mailing list