[wp-trac] [WordPress Trac] #32167: [32307] does not set $wdpb->error

WordPress Trac noreply at wordpress.org
Tue Apr 28 16:25:15 UTC 2015


#32167: [32307] does not set $wdpb->error
--------------------------+-----------------------------
 Reporter:  nerrad        |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Database      |    Version:  4.2.1
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Great work on the fix that got pushed out on [32307] but should it set
 $wpdb->error to a value?  Right now when `false` is returned `$wpdb->error
 == ''`

 If I get a chance later today I'll add a patch but just wanted to get this
 up.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/32167>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list