Skip to content

Commit

Permalink
adding additional rule for wordpress admin page
Browse files Browse the repository at this point in the history
  • Loading branch information
swimson committed Jan 6, 2016
1 parent 4748873 commit d9fd987
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Adapters/WordPressAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ protected function isWordpressAdminPage(Request $request)
return true;
}

if (preg_match('/admin/', $request->getRequestUri())) {
return true;
}

return false;
}

Expand Down

0 comments on commit d9fd987

Please sign in to comment.