diff --git a/src/wp-admin/plugins.php b/src/wp-admin/plugins.php
index 6c41e31b2f..64b766f975 100644
a
|
b
|
if ( $action ) { |
401 | 401 | |
402 | 402 | check_admin_referer( 'resume-plugin_' . $plugin ); |
403 | 403 | |
404 | | $result = resume_plugin( $plugin, self_admin_url( 'plugins.php?error=resuming' ), is_network_admin() ); |
| 404 | $admin_url = is_multisite() ? network_admin_url( 'plugins.php?error=resuming' ) : admin_url( 'plugins.php?error=resuming' ); |
| 405 | $result = resume_plugin( $plugin, $admin_url, is_network_admin() ); |
405 | 406 | |
406 | 407 | if ( is_wp_error( $result ) ) { |
407 | 408 | wp_die( $result ); |