WordPress.org

Make WordPress Core


Ignore:
Timestamp:
08/01/2008 08:59:44 PM (12 years ago)
Author:
ryan
Message:

Don't run get_plugins() on every admin page load. Use cron for async update plugin requests. see #7372 for 2.6

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.6/wp-admin/includes/plugin.php

    r8500 r8521  
    3535   
    3636    if ( ! $cache_plugins = wp_cache_get('plugins', 'plugins') )
    37         $cached_plugins = array();
     37        $cache_plugins = array();
    3838   
    3939    if ( isset($cache_plugins[ $plugin_folder ]) )
Note: See TracChangeset for help on using the changeset viewer.