$v) { $string[$k] = $this->escape($v); } return $string; } if ( is_float( $string ) ) return $string; // Escape for 4.0 >= if ( method_exists( $wpdb, 'esc_like' ) ) return $wpdb->esc_like( $string ); // Escape support for WP < 4.0 if ( function_exists( 'like_escape' ) ) return like_escape($string); // Okay, what? Not one function is present, use the one we have return wd_mysql_escape_mimic($string); } } }