[wp-trac] [WordPress Trac] #40953: Empty values are handled inconsistently between wpdb->get_results() and wpdb->get_col()

WordPress Trac noreply at wordpress.org
Fri Jan 17 12:58:06 UTC 2025


#40953: Empty values are handled inconsistently between wpdb->get_results() and
wpdb->get_col()
--------------------------+------------------------------
 Reporter:  DrewAPicture  |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Database      |     Version:  0.71
 Severity:  normal        |  Resolution:
 Keywords:  dev-feedback  |     Focuses:  performance
--------------------------+------------------------------

Comment (by jadpm):

 Replying to [comment:4 pbearne]:
 > is this going to get fixed?

 Unlikely. See https://core.trac.wordpress.org/ticket/30257 - it was
 discarded as wontfix like 10 years ago because this behavior dated from 11
 years before; today it is 22 years old, so probably too late for a change.

 Coming from https://core.trac.wordpress.org/changeset/112

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


More information about the wp-trac mailing list