Added a check to ignore any wp-admin urls.