[wp-trac] [WordPress Trac] #30257: wpdb::get_var() returns NULL for existing values that are empty strings

WordPress Trac noreply at wordpress.org
Wed Nov 5 13:57:27 UTC 2014


#30257: wpdb::get_var() returns NULL for existing values that are empty strings
--------------------------+------------------------------
 Reporter:  tyxla         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Database      |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+------------------------------

Comment (by jdgrimes):

 The workaround in `get_option()` was added in [3023] (then removed in
 [3025], added in [3026], removed in [3068], but restored in [3071]). There
 was no mention of altering `get_var()` instead in #1859.

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


More information about the wp-trac mailing list