try to fix wp deprecated notice in latest beta

wp beta says wpdb::escape is deprecated and that I shall use esc_sql instead. however esc_sql uses wpdb::escape, resulting in the same notice again. anyway, i try to do as they say :)