[wp-trac] [WordPress Trac] #27765: Add ARRAY_K return type to wpdb::get_results()

WordPress Trac noreply at wordpress.org
Thu Jun 12 16:31:11 UTC 2014


#27765: Add ARRAY_K return type to wpdb::get_results()
-----------------------------+----------------------
 Reporter:  jdgrimes         |       Owner:
     Type:  enhancement      |      Status:  closed
 Priority:  normal           |   Milestone:
Component:  Database         |     Version:  3.8
 Severity:  normal           |  Resolution:  wontfix
 Keywords:  has-patch close  |     Focuses:
-----------------------------+----------------------
Changes (by wonderboymusic):

 * status:  new => closed
 * resolution:   => wontfix
 * milestone:  4.0 =>


Comment:

 yeah - use, `OBJECT_K` and do `$row = (array) $row` in your loop-type
 things

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


More information about the wp-trac mailing list