Request Modification to Code to Prevent Plugin Conflicts
-
Hi. I develop the File Away plugin, and a user of mine came across a conflict between our two plugins. I did some digging and found the source of the conflict, and I’d like to request that the modification be made to your code, and I’ll explain why.
In foogallery/includes/admin/class-extensions.php, your
handle_extension_actionmethod is going to conflict with almost any ajax action from any plugin, because the$actionvariable is used by WordPress for the ajax action handle. Your function here is redirecting the page whenever the “action” and “extension” variables are present in the$_REQUEST.I’d humbly recommend you change the action variable to something else, or, at minimum, add this line after line 29:
29: $has_error = safe_get_from_request( 'has_error' ); 30: if(!in_array($action, array('download','activate','deactivate'))) return;Thanks for your time.
The topic ‘Request Modification to Code to Prevent Plugin Conflicts’ is closed to new replies.