diff --git a/src/wp-includes/wp-db.php b/src/wp-includes/wp-db.php
index 08a6b8c..77f4ba6 100644
|
a
|
b
|
class wpdb { |
| 1614 | 1614 | } else { |
| 1615 | 1615 | $num_rows = 0; |
| 1616 | 1616 | if ( $this->use_mysqli ) { |
| 1617 | | while ( $row = @mysqli_fetch_object( $this->result ) ) { |
| 1618 | | $this->last_result[$num_rows] = $row; |
| 1619 | | $num_rows++; |
| | 1617 | if ( WP_DEBUG ) { |
| | 1618 | while ( $row = mysqli_fetch_object( $this->result ) ) { |
| | 1619 | $this->last_result[$num_rows] = $row; |
| | 1620 | $num_rows++; |
| | 1621 | } |
| | 1622 | } else { |
| | 1623 | while ( $row = @mysqli_fetch_object( $this->result ) ) { |
| | 1624 | $this->last_result[$num_rows] = $row; |
| | 1625 | $num_rows++; |
| | 1626 | } |
| 1620 | 1627 | } |
| 1621 | 1628 | } else { |
| 1622 | | while ( $row = @mysql_fetch_object( $this->result ) ) { |
| 1623 | | $this->last_result[$num_rows] = $row; |
| 1624 | | $num_rows++; |
| | 1629 | if ( WP_DEBUG ) { |
| | 1630 | while ( $row = mysql_fetch_object( $this->result ) ) { |
| | 1631 | $this->last_result[$num_rows] = $row; |
| | 1632 | $num_rows++; |
| | 1633 | } |
| | 1634 | } else { |
| | 1635 | while ( $row = @mysql_fetch_object( $this->result ) ) { |
| | 1636 | $this->last_result[$num_rows] = $row; |
| | 1637 | $num_rows++; |
| | 1638 | } |
| 1625 | 1639 | } |
| 1626 | 1640 | } |
| 1627 | 1641 | |