Do not use, deprecated.
Description
Use esc_sql() or wpdb::prepare() instead.
See also
Parameters
$data
stringrequired
Source
public function _weak_escape( $data ) {
if ( func_num_args() === 1 && function_exists( '_deprecated_function' ) ) {
_deprecated_function( __METHOD__, '3.6.0', 'wpdb::prepare() or esc_sql()' );
}
return addslashes( $data );
}
User Contributed Notes
You must log in before being able to contribute a note or feedback.