Commit e09a55a3 authored by haystack's avatar haystack

Rewrite rules must be available in admin

parent 6889e747
......@@ -675,11 +675,6 @@ class CiviCRM_For_WordPress {
*/
public function rewrite_rules( $flush_rewrite_rules = false ) {
// Kick out if admin
if (is_admin()) {
return;
}
// Kick out if not CiviCRM
if (!$this->initialize()) {
return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment