id summary reporter owner description type status priority milestone component version severity resolution keywords cc focuses 20223 simulate mysql_real_escape_string when not yet connected to DB scottconnerly "Currently wpdb::_real_escape() falls back to addslashes() when you're not yet connected to the database Instead, have it fall back to a closer mimic of mysql_real_escape_string(): Use this to make patch: http://pastebin.com/5vMaBhQe Reference: http://dev.mysql.com/doc/refman/5.0/en/mysql-real-escape-string.html http://www.php.net/manual/en/function.mysql-real-escape-string.php" enhancement closed normal Database 3.3.1 normal invalid has-patch