mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-11 03:03:01 +02:00
related to #1651 plugin activation redirects to plugin page with deactivated filter
This commit is contained in:
@@ -45,7 +45,8 @@ if (isset($_GET['installstatus']))
|
||||
$activate_url = get_root_url().'admin.php?page=plugins'
|
||||
. '&plugin=' . $_GET['plugin_id']
|
||||
. '&pwg_token=' . get_pwg_token()
|
||||
. '&action=activate';
|
||||
. '&action=activate'
|
||||
. '&filter=deactivated';
|
||||
|
||||
$page['infos'][] = l10n('Plugin has been successfully copied');
|
||||
$page['infos'][] = '<a href="'. $activate_url . '">' . l10n('Activate it now') . '</a>';
|
||||
|
||||
Reference in New Issue
Block a user