Changeset 10738 for trunk/wp-admin/plugins.php
- Timestamp:
- 03/07/2009 02:07:24 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/plugins.php
r10150 r10738 213 213 $recent_plugins = array(); 214 214 $recently_activated = (array) get_option('recently_activated'); 215 216 //Clean out any plugins which were deactivated over a week ago. 215 set_transient( 'plugin_slugs', array_keys($all_plugins), 86400 ); 216 217 // Clean out any plugins which were deactivated over a week ago. 217 218 foreach ( $recently_activated as $key => $time ) 218 219 if ( $time + (7*24*60*60) < time() ) //1 week
Note: See TracChangeset
for help on using the changeset viewer.