Disable error redirects when in DOING_AJAX
completed by: The Little Pirate
mentors: Peter Westwood
Write a patch to resolve the issue described in https://core.trac.wordpress.org/ticket/8420
You will need to identify all the different errors that could be triggered during AJAX requests and make them safe
When you claim a task, please include a short description of your experience with WordPress and any relevant information that will help us judge the likelihood that you will succeed at this task. Since only one student can claim a task at a time, if it doesn't seem like a good fit for your skills, we can recommend a different task