public/wordpress/wp-content/plugins/backupbuddy/classes/core.php
/* dbEscape()
	 *
	 * Escape SQL using either mysql or mysqli based on whichever WordPress is using.
	 * WP 3.9 introducing mysqli support.
	 */
dbEscape()
Escape SQL using either mysql or mysqli based on whichever WordPress is using.
WP 3.9 introducing mysqli support.
dbEscape () Escape SQL using either mysql or mysqli based on whichever WordPress is using . WP 3 . 9 introducing mysqli support .
public static function dbEscape( $sql ) {
		global $wpdb;
		if ( isset( $wpdb->use_mysqli ) && ( true === $wpdb->use_mysqli ) ) { 
			return mysqli_real_escape_string( $wpdb->dbh, $sql );
		} else {
			return mysql_real_escape_string( $sql );
		}
	}
public static function dbEscape ( $ sql ) { global $ wpdb ; if ( isset ( $ wpdb -> use_mysqli ) && ( true === $ wpdb -> use_mysqli ) ) { return mysqli_real_escape_string ( $ wpdb -> dbh , $ sql ) ; } else { return mysql_real_escape_string ( $ sql ) ; } }
dbEscape()
 Escape SQL using either mysql or mysqli based on whichever WordPress is using.
dbEscape () Escape SQL using either mysql or mysqli based on whichever WordPress is using .
// Possible post WP 3.9