Ticket #64523: 64523.patch
| File 64523.patch, 986 bytes (added by , 8 weeks ago) |
|---|
-
wp-includes/class-wpdb.php
a b 2348 2348 } 2349 2349 2350 2350 if ( ! empty( $this->dbh ) ) { 2351 $this->result = mysqli_query( $this->dbh, $query ); 2351 try { 2352 $this->result = mysqli_query( $this->dbh, $query ); 2353 } catch ( Exception $e ) { 2354 $this->result = false; 2355 $this->last_error = $e->getMessage(); 2356 } 2352 2357 } 2353 2358 2354 2359 ++$this->num_queries;