Changeset 7416
- Timestamp:
- 03/20/2008 05:24:44 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/plugin.php
r6580 r7416 117 117 118 118 foreach ( $plugins as $plugin ) { 119 array_splice($current, array_search( $plugin, $current), 1 ); // Array-fu! 119 $item = array_search( $plugin, $current); 120 if( false === $item) 121 continue; 122 array_splice($current, $item, 1 ); // Array-fu! 120 123 do_action('deactivate_' . trim( $plugin )); 121 124 }
Note: See TracChangeset
for help on using the changeset viewer.