Changeset 5344 for trunk/wp-admin/upgrade-functions.php
- Timestamp:
- 04/29/2007 08:53:29 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/upgrade-functions.php
r5303 r5344 189 189 upgrade_230(); 190 190 } 191 192 maybe_disable_automattic_widgets(); 191 193 192 194 $wp_rewrite->flush_rules(); … … 1112 1114 } 1113 1115 1116 function maybe_disable_automattic_widgets() { 1117 $plugins = __get_option( 'active_plugins' ); 1118 1119 if ( in_array( 'widgets/widgets.php', $plugins ) ) { 1120 array_splice( $plugins, array_search( 'widgets/widgets.php', $plugins ), 1 ); 1121 update_option( 'active_plugins', $plugins ); 1122 } 1123 } 1124 1114 1125 ?>
Note: See TracChangeset
for help on using the changeset viewer.