tdj
Forum Replies Created
Viewing 3 replies - 1 through 3 (of 3 total)
-
Hi Marcel, it works, thanks for the quick fix and update in v1.5.0!
Yes, I did.
The problem is that this section in the __construct function of the main class is run before any custom filters can be added:// apply some filters to easily alter the frontend messages foreach ( $this->filter_vars as $var ) { $this->{$var} = apply_filters( 'zeno_report_comments_' . $var, $this->{$var} ); }You can fix it by moving that into its own function and hooking it on the ‘init’ hook, like this:
public function __construct( $auto_init = true ) { ... add_action( 'init', 'zeno_apply_filters' ); ... } public function zeno_add_filters() { // apply some filters to easily alter the frontend messages foreach ( $this->filter_vars as $var ) { $this->{$var} = apply_filters( 'zeno_report_comments_' . $var, $this->{$var} ); } }Forum: Plugins
In reply to: [Cloudflare] cloudflare não fica ativo no siteHad the same problem: turns out the php version used to run wp crons on my server was lower than 7.2. Set it higher and the problem stopped.
Viewing 3 replies - 1 through 3 (of 3 total)