[wp-trac] [WordPress Trac] #23085: Calling $wpdb->query() when no connection exists causes mysql_error() to throw an error

WordPress Trac noreply at wordpress.org
Tue May 12 08:10:49 UTC 2015


#23085: Calling $wpdb->query() when no connection exists causes mysql_error() to
throw an error
-------------------------------------------------+-------------------------
 Reporter:  mbijon                               |       Owner:
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
Component:  Database                             |  Review
 Severity:  normal                               |     Version:  3.5
 Keywords:  dev-feedback good-first-bug needs-   |  Resolution:
  refresh                                        |     Focuses:
-------------------------------------------------+-------------------------
Changes (by chriscct7):

 * keywords:  dev-feedback has-patch 2nd-opinion => dev-feedback good-first-
     bug needs-refresh
 * severity:  minor => normal


Comment:

 Patch needs to be refreshed and updated to do the same for mysqli (which
 is 2 lines above it now in trunk).

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


More information about the wp-trac mailing list