diff --git a/wp-includes/class-wpdb.php b/wp-includes/class-wpdb.php
index baba39d91f4d..d9186b91f463 100644
a
|
b
|
class wpdb { |
154 | 154 | protected $result; |
155 | 155 | |
156 | 156 | /** |
157 | | * Cached column info, for sanity checking data before inserting. |
| 157 | * Cached column info, for confidence checking data before inserting. |
158 | 158 | * |
159 | 159 | * @since 4.2.0 |
160 | 160 | * |
… |
… |
class wpdb { |
172 | 172 | protected $table_charset = array(); |
173 | 173 | |
174 | 174 | /** |
175 | | * Whether text fields in the current query need to be sanity checked. |
| 175 | * Whether text fields in the current query need to be confidence checked. |
176 | 176 | * |
177 | 177 | * @since 4.2.0 |
178 | 178 | * |
… |
… |
public function flush() { |
1927 | 1927 | mysqli_free_result( $this->result ); |
1928 | 1928 | $this->result = null; |
1929 | 1929 | |
1930 | | // Sanity check before using the handle. |
| 1930 | // Confidence check before using the handle. |
1931 | 1931 | if ( empty( $this->dbh ) || ! ( $this->dbh instanceof mysqli ) ) { |
1932 | 1932 | return; |
1933 | 1933 | } |
… |
… |
protected function check_safe_collation( $query ) { |
3516 | 3516 | return false; |
3517 | 3517 | } |
3518 | 3518 | |
3519 | | // If any of the columns don't have one of these collations, it needs more sanity checking. |
| 3519 | // If any of the columns don't have one of these collations, it needs more confidence checking. |
3520 | 3520 | $safe_collations = array( |
3521 | 3521 | 'utf8_bin', |
3522 | 3522 | 'utf8_general_ci', |