Breaks upload for other plugins
-
This plugin takes over all file uploads called ‘file’. This breaks numerous other plugins.
if (isset($_FILES['file'])) {
is run directly on theadmin_init
action. The field should at least be prefixed withhypeanimations_
or ideally happen in a different context then theadmin_init
action, e.g. a separatewp_ajax_hypeanimations_files
action.Also, the plugin defines global variables like
$version
and$table_name
– which are quite generic names and will most likely cause issues somewhere.
- The topic ‘Breaks upload for other plugins’ is closed to new replies.