Changeset 5344 for branches/2.2/wp-admin/upgrade-functions.php
- Timestamp:
- 04/29/2007 08:53:29 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/wp-admin/upgrade-functions.php
r5093 r5344 176 176 upgrade_130(); 177 177 } 178 179 maybe_disable_automattic_widgets(); 178 180 179 181 if ( $wp_current_db_version < 3308 ) … … 1100 1102 } 1101 1103 1104 function maybe_disable_automattic_widgets() { 1105 $plugins = __get_option( 'active_plugins' ); 1106 1107 if ( in_array( 'widgets/widgets.php', $plugins ) ) { 1108 array_splice( $plugins, array_search( 'widgets/widgets.php', $plugins ), 1 ); 1109 update_option( 'active_plugins', $plugins ); 1110 } 1111 } 1112 1102 1113 ?>
Note: See TracChangeset
for help on using the changeset viewer.