[wp-trac] [WordPress Trac] #4090: $wpdb->get_var("SELECT 1 FROM ... ") not working

WordPress Trac noreply at wordpress.org
Fri Nov 18 19:44:42 UTC 2016


#4090: $wpdb->get_var("SELECT 1 FROM ... ") not working
--------------------------+----------------------
 Reporter:  orvar         |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  General       |     Version:  2.1.2
 Severity:  normal        |  Resolution:  wontfix
 Keywords:  get_var wpdb  |     Focuses:
--------------------------+----------------------

Comment (by puggan):

 If this is a "wontfix", could you at least update the manual
 (https://codex.wordpress.org/Class_Reference/wpdb), so it says that
 columnname cant be numeric.

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


More information about the wp-trac mailing list