Changes in trunk/wp-admin/plugin-editor.php [19528:20525]
- File:
-
- 1 edited
-
trunk/wp-admin/plugin-editor.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/plugin-editor.php
r19528 r20525 66 66 deactivate_plugins($file, true); 67 67 68 update_option('recently_activated', array($file => time()) + (array)get_option('recently_activated')); 68 if ( ! is_network_admin() ) 69 update_option( 'recently_activated', array( $file => time() ) + (array) get_option( 'recently_activated' ) ); 69 70 70 71 wp_redirect(add_query_arg('_wpnonce', wp_create_nonce('edit-plugin-test_' . $file), "plugin-editor.php?file=$file&liveupdate=1&scrollto=$scrollto&networkwide=" . $network_wide)); … … 237 238 <?php if ( is_writeable($real_file) ) : ?> 238 239 <?php if ( in_array( $file, (array) get_option( 'active_plugins', array() ) ) ) { ?> 239 <p><?php _e('<strong>Warning:</strong> Making changes to active plugins is not recommended. If your changes cause a fatal error, the plugin will be automatically deactivated.'); ?></p>240 <p><?php _e('<strong>Warning:</strong> Making changes to active plugins is not recommended. If your changes cause a fatal error, the plugin will be automatically deactivated.'); ?></p> 240 241 <?php } ?> 241 242 <p class="submit">
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)