Ticket #16011: 16011.patch
File 16011.patch, 662 bytes (added by , 13 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 ( ! is_plugin_active($file) || ! is_plugin_active_for_network($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") );