Ticket #16011: 16011.2.patch
| File 16011.2.patch, 697 bytes (added by SergeyBiryukov, 2 years ago) |
|---|
-
wp-admin/plugin-editor.php
89 89 if ( is_wp_error($error) ) 90 90 wp_die( $error ); 91 91 92 if ( ! is_plugin_active($file) )92 if ( ! empty( $_GET['networkwide'] ) && ! is_plugin_active_for_network($file) || ! is_plugin_active($file) ) 93 93 activate_plugin($file, "plugin-editor.php?file=$file&phperror=1", ! empty( $_GET['networkwide'] ) ); // we'll override this later if the plugin can be included without fatal error 94 94 95 95 wp_redirect( self_admin_url("plugin-editor.php?file=$file&a=te&scrollto=$scrollto") );
