Need to break after matching disallowed_roles
-
While using this plugin along with Timber, I discovered a minor bug.
The foreach on line 31 in the bbpress-pf.php file needs to “break” if a disallowed role is matched. Otherwise the ob_start() will be called multiple times but the pf_stop_capture() action is only called once. This creates a buffer level that never gets cleaned and can mess things up.
Thanks.
- The topic ‘Need to break after matching disallowed_roles’ is closed to new replies.