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

WordPress Trac noreply at wordpress.org
Fri Nov 18 22:11:06 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 SergeyBiryukov):

 Replying to [comment:7 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.

 Codex is a wiki, anyone with a WordPress.org account can edit the
 documentation there, including yourself :)

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


More information about the wp-trac mailing list