public function _escape( $data ) { if ( is_array( $data ) ) { foreach ( $data as $k =>
$v ) { if ( is_array( $v ) ) { $data[ $k ] =
$this->
_escape( $v );
} else { $data[ $k ] =
$this->
_real_escape( $v );
} } } else { $data =
$this->
_real_escape( $data );
} return $data;
} /**
* Do not use, deprecated.
*
* Use esc_sql() or wpdb::prepare() instead.
*
* @since 0.71
* @deprecated 3.6.0 Use wpdb::prepare()
* @see wpdb::prepare()
* @see esc_sql()
*
* @param string|array $data Data to escape.
* @return string|array Escaped data, in the same type as supplied.
*/