Changing mysql_real_escape_string() to esc_sql()