Changeset 51919 for trunk/src/wp-includes/wp-db.php
- Timestamp:
- 10/18/2021 05:51:17 PM (4 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/wp-db.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/wp-db.php
r51851 r51919 1217 1217 * @return string 1218 1218 */ 1219 function _weak_escape( $string ) {1219 public function _weak_escape( $string ) { 1220 1220 if ( func_num_args() === 1 && function_exists( '_deprecated_function' ) ) { 1221 1221 _deprecated_function( __METHOD__, '3.6.0', 'wpdb::prepare() or esc_sql()' ); … … 1235 1235 * @return string Escaped string. 1236 1236 */ 1237 function _real_escape( $string ) {1237 public function _real_escape( $string ) { 1238 1238 if ( ! is_scalar( $string ) ) { 1239 1239 return ''; … … 2332 2332 * @return int|false The number of rows affected, or false on error. 2333 2333 */ 2334 function _insert_replace_helper( $table, $data, $format = null, $type = 'INSERT' ) {2334 public function _insert_replace_helper( $table, $data, $format = null, $type = 'INSERT' ) { 2335 2335 $this->insert_id = 0; 2336 2336
Note: See TracChangeset
for help on using the changeset viewer.