I am using a MS SQL database abstraction layer for my WordPress site. I have run into an issue with a theme that uses mysql_real_escape_string() in its code.
$_page = mysql_real_escape_string( strtolower( trim( strip_tags( $_REQUEST['page'] ) ) ) );
The issue is that the abstraction layer will not work if there are MySQL direct calls.
Is there an alternative to use something like $wpdb->escape instead of mysql_real_escape_string()?