[Resolved] [Plugin: WordPress File Monitor Plus] Small bug in Other Cron code
There is a small bug in line #137 of classes/wpfmp.class.php (function external_cron_run_check). When checking the $_GET parameters to decide whether or not to process an external cron request, you currently have “isset($_GET[‘sc_wpfmp_key’])” as a disqualifying expression, but it’s negation should be the disqualifier, because that parameter MUST be presented (and match the back-end security_key option value) in order to process. So that expression simply needs an exclamation point before it, to be:
if( ! isset( $_GET[‘sc_wpfmp_scan’] ) || ! isset( $_GET[‘sc_wpfmp_key’] ) || 1 != $_GET[‘sc_wpfmp_scan’] || $options[‘security_key’] != $_GET[‘sc_wpfmp_key’] || “other” != $options[‘cron_method’] )
- The topic ‘[Resolved] [Plugin: WordPress File Monitor Plus] Small bug in Other Cron code’ is closed to new replies.