[wp-trac] [WordPress Trac] #27693: Incorrect call to `mysqli_fetch_field()`

WordPress Trac noreply at wordpress.org
Mon Apr 7 11:12:55 UTC 2014


#27693: Incorrect call to `mysqli_fetch_field()`
-------------------------------+-----------------------------
 Reporter:  Denis-de-Bernardy  |      Owner:
     Type:  defect (bug)       |     Status:  new
 Priority:  normal             |  Milestone:  Awaiting Review
Component:  Database           |    Version:  trunk
 Severity:  normal             |   Keywords:
  Focuses:                     |
-------------------------------+-----------------------------
 We call it with two parameters, whereas it only expects a single one:

 http://us2.php.net/manual/en/mysqli-result.fetch-field.php

 This breaks `$wpdb->col_info` among other things.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/27693>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list