Commit 6da44b3b authored by Kenny Hall's avatar Kenny Hall

Removed if check from around custom user meta merge tag. This resolves the...

Removed if check from around custom user meta merge tag. This resolves the issue with actions not firing while users are logged out. fixes #3401
parent 57796e85
......@@ -70,9 +70,6 @@ final class NF_MergeTags_WP extends NF_Abstracts_MergeTags
}
}
}
// Check to ensure our user is logged in. If not don't return.
if( is_user_logged_in() ) {
/**
* Replace Custom User Meta
* {user_meta:foo} --> meta key is 'foo'
......@@ -90,7 +87,6 @@ final class NF_MergeTags_WP extends NF_Abstracts_MergeTags
}
}
return parent::replace( $subject );
}
}
protected function post_id()
......
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