• Resolved Tigran Nazaryan

    (@progmastery)


    hi @vcita

    The plugin contains code stopping script execution and redirecting when any plugin is being updated.

    
    add_action( 'upgrader_process_complete', array($this,'redirect_after_upgrade'), 10, 2 );
    function redirect_after_upgrade( $upgrader_object, $options ){
            $ls_helpers = $this->ls_helpers;
    
            $redirect_url = $ls_helpers->get_plugin_path();
    
            wp_redirect( $redirect_url );
            exit;
        }
    

    Please check if is_admin() and if the your plugin is being updated and redirect only in that case. This code causes conflict with 10Web manager plugin (plugins and themes management) via REST API. Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author vcita

    (@vcita)

    Thanks for letting us know, our devs will look into this issue.

    Plugin Author vcita

    (@vcita)

    We have released an update which resolves this issue.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘This plugin redirects after update of any other plugin’ is closed to new replies.