Housekeeping suicide in multi site clean up
-
Hi!
We are using the plugin (1.6.49) for a sign up form on a multi site. The plugin is only activated on the base site but still visible on all pages. This is done using hooks to include wordpress-form-manager.php and then run fm_userInit (if fm_install function does not exist).
However, suddenly the plugin started to crash and we soon found out that all .php files in wp-content/plugins/wordpress-form-manager/ were missing. Most likely they were removed during housekeeping fm_cleanCSVData and fm_deleteTemporaryFiles – since the bug vanished when we commented out the unlink code. It seems like, in this special case, get_option( “fm-temp-dir” ) returned empty and the clean up was therefore performed in the wp-content/plugins/wordpress-form-manager/ directory.
Perhaps it would be a good idea to (in a future release) check if get_option( “fm-temp-dir” ) is empty before starting the unlink loop?
Thank you for a great plugin!
- The topic ‘Housekeeping suicide in multi site clean up’ is closed to new replies.