Commit d64dcde5 authored by KR Moorhouse's avatar KR Moorhouse Committed by GitHub

Merge pull request #3402 from wpninjas/issue#3401

Removed if check from around custom user meta merge tag. This resolves the issue with actions not firing while users are logged out.
parents 57796e85 6da44b3b
......@@ -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