Changeset 13715 for trunk/wp-includes/functions.php
- Timestamp:
- 03/16/2010 05:17:55 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r13677 r13715 448 448 $site_id = $wpdb->siteid; 449 449 450 $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 $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', 'global_terms_enabled' ); 451 451 452 452 $core_options_in = "'" . implode("', '", $core_options) . "'"; … … 3692 3692 3693 3693 /** 3694 * are global terms enabled 3695 * 3696 * 3697 * @since 3.0.0 3698 * @package WordPress 3699 * 3700 * @return bool True if multisite and global terms enabled 3701 */ 3702 function global_terms_enabled() { 3703 if ( is_multisite() && '1' == get_site_option( 'global_terms_enabled' ) ) 3704 return true; 3705 3706 return false; 3707 } 3708 3709 /** 3694 3710 * gmt_offset modification for smart timezone handling 3695 3711 *
Note: See TracChangeset
for help on using the changeset viewer.