Thanks for the nice plugin!
Could you consider adding a feature of user’s option to choose if the plugin removes the index or not when uninstalling?
I would like to keep the autoload indexed even if the plugin is disabled or uninstalled.
]]>Nice to see a plugin that does one thing and one thing only ??
This is a glorified “ALTER TABLE wp_options ADD INDEX autoload” though.
I have never heard of a database that needed a daily “reindex” of an index though. If that is the case, you much bigger problems and should probably switch database instead.
Turning it off and on again is curing the symptom, not the decease.
If this plugin should do more good then harm, start by checking if and index is actually needed and advice the user accordingly. (Assuming this is not targeted towards people with deep technical knowledge)
]]>Something is broken with this it seems:
Fatal error: Uncaught ArgumentCountError: Too few arguments to function wp_unschedule_event(), 1 passed in /home/#/public_html/wp-content/plugins/index-autoload-littlebizzy/index-autoload.php on line 100 and at least 2 expected in /home/#/public_html/wp-includes/cron.php:177 Stack trace: #0 /home/#/public_html/wp-content/plugins/index-autoload-littlebizzy/index-autoload.php(100): wp_unschedule_event(‘index_autoload_…’) #1 /home/elitewebhosts/public_html/wp-includes/class-wp-hook.php(298): index_autoload_deactivate(false) #2 /home/#/public_html/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(”, Array) #3 /home/#/public_html/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #4 /home/#/public_html/wp-admin/includes/plugin.php(704): do_action(‘deactivate_inde…’, false) #5 /home/#/public_html/wp-admin/plugins.php(180): deactivate_plugins(‘index-autoload-…’, false, false) #6 {main} thrown in /home/#/public_html/wp-includes/cron.php on line 177
I get this trying to deactivate the plugin.
Will look to remove it manually but thought you might like to know.
Thanks.
]]>