Redirect after AJAX upload avatar (Drag & Drop)
-
WP Version 4.6.1
BP Version 2.7.0
URL – localhost testing (pre-live update)Have recently updated my WP & BP setup and on running tests have found the code to redirect to a location after avatar upload no longer works. With the
xprofile_avatar_uploaded
hook active it doesn’t even refresh the avatar after successful change.The uploader now appears to use AJAX and so once the process is completed the user remains on the avatar page.
Is there any way to go back to a non AJAX version of the upload to allow the filtered redirect or a callback script I can use to trigger a
window.location
when completed?
- You must be logged in to reply to this topic.