Changeset 14344
- Timestamp:
- 05/02/2010 10:08:05 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r14330 r14344 3764 3764 */ 3765 3765 function global_terms_enabled() { 3766 if ( is_multisite() && '1' == get_site_option( 'global_terms_enabled' ) ) 3767 return true; 3768 3769 return false; 3766 if ( ! is_multisite() ) 3767 return false; 3768 3769 static $global_terms = null; 3770 if ( is_null( $global_terms ) ) 3771 $global_terms = (bool) get_site_option( 'global_terms_enabled' ); 3772 return $global_terms; 3770 3773 } 3771 3774
Note: See TracChangeset
for help on using the changeset viewer.