Changeset 13069
- Timestamp:
- 02/12/2010 08:23:06 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r13066 r13069 438 438 } 439 439 440 /** 441 * Loads and caches certain often requested site options if is_multisite() and a peristent cache is not being used. 442 * 443 * @since 3.0.0 444 * @package WordPress 445 * @subpackage Option 446 * 447 * @param int $site_id Optional site ID for which to query the options. Defaults to the current site. 448 */ 440 449 function wp_load_core_site_options( $site_id = null ) { 441 450 global $wpdb, $_wp_using_ext_object_cache; … … 447 456 $site_id = $wpdb->siteid; 448 457 449 $core_options = array('site_name', 'siteurl', 'active_sitewide_plugins', '_site_transient_timeout_theme_roots', '_site_transient_theme_roots', 'site_admins', 'dashboard_blog' );458 $core_options = array('site_name', 'siteurl', 'active_sitewide_plugins', '_site_transient_timeout_theme_roots', '_site_transient_theme_roots', 'site_admins', 'dashboard_blog', 'can_compress_scripts'); 450 459 451 460 $core_options_in = "'" . implode("', '", $core_options) . "'";
Note: See TracChangeset
for help on using the changeset viewer.