Best practice for plugin: always detect admin-ajax call?
This doesn’t have much to do with AJAX itself, it is related to core principal of plugin/theme development – always use the latest possible hook to run your code. It sounds like the plugin in question does something on admin_init which is a very early hook that can be triggered from AJAX and XML-RPC in … Read more