Conditional logic functionality was added in 1.2 and should clear things up.
Ok.
Issue #1: I don’t understand the purpose of rules. Also, no information was found on the FAQ or readme.txt. Kindly add some documentation about purpose and recommended usage of this new conditional logic 🙂
Issue #2: the 1.2 release works well under PHP 5.6, but when activated on PHP 7.0 have thrown these errors:
[23-Oct-2017 02:03:40 UTC] PHP Notice: Undefined index: rules in /home/username/public_html/wp-content/plugins/heartbeat-control/heartbeat.php on line 27
[23-Oct-2017 02:03:40 UTC] PHP Notice: Undefined index: rules in /home/username/public_html/wp-content/plugins/heartbeat-control/heartbeat.php on line 26
[23-Oct-2017 02:03:40 UTC] PHP Warning: array_reverse() expects parameter 1 to be array, null given in /home/username/public_html/wp-content/plugins/heartbeat-control/heartbeat.php on line 26
Can you fix that please?
Thanks!
@kent-brockman, thank you for the info.
I will stay at version 1.1.3 for a while until those error fixed at later release.
Update, after I try update to 1.2 with my PHP 7.1.10 it works, and no error warning or notice in error log. The downside about this version is, we cannot modify the frequency like before, that’s it.
Well, to fix the slider for modify the frequency is:
setting.php, line 30, after register style, add this code:
wp_enqueue_style( 'slider_ui' );
Thanks for the tip @jinbatsu. Hopefully your fix will be merged in v1.2.1 soon 🙂