• Resolved Norm Sash

    (@normsash)


    Hi… It is sometimes the design of some plugins to redirect to a page (e.g. the plugin settings page) upon activation. My casual observation is that this happens in about 10% of the plugins. Though I find this design behavior somewhat irritating, I recognize that some developers consider it to be a justified action.

    However, when doing a bulk activation of plugins, redirecting after plugin activation can cause numerous issues. Some type of failure is almost 100% in my experience.

    • When multiple plugins want to do a redirection, which plugin wins?
    • Incomplete bulk activations. For example, consider there are plugins A, B, C, D, E that are selected for bulk activation. Plugin C redirects after activation. In this case the bulk activation is aborted when plugin C goes through the activation process and redirects, leaving a failed activation for plugins D and E.
    • Site lockout due to too many redirects. On numerous occasions, I have experienced being locked out from wp-admin due to every time trying to access the backend it tries to do a redirect and the redirect fails. The only way I have found to resolve this is to access cpanel file manager and delete the offending plugin folder, then access wp-admin and reinstall the plugin.

    I have been contacting individual plugin developers requesting that they disable their redirect if the activation is done via bulk activation. However, that requires contacting them and getting them to individually address the issue.

    I think a much better solution would be to disable redirection during a bulk activation via WordPress core. That would solve the problem globally and not require changes from every individual plugin.

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.