Quote:
Originally Posted by freak99
Jeff, the above code didn't work, but this seems to.
Code:
if (( !preg_match('#wp-admin#', $_POST['redirect_to']) and !defined('WP_ADMIN')) and !defined('XMLRPC_REQUEST')):
Look ok to you?
|
Yes actually that makes more sense. I thought I negated that part about the XMLRPC_REQUEST. Yes, that should work.