Changeset 14854 for trunk/wp-includes/functions.php
- Timestamp:
- 05/24/2010 08:45:59 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r14777 r14854 3830 3830 3831 3831 /** 3832 * are global terms enabled3832 * Whether global terms are enabled. 3833 3833 * 3834 3834 * … … 3843 3843 3844 3844 static $global_terms = null; 3845 if ( is_null( $global_terms ) ) 3846 $global_terms = (bool) get_site_option( 'global_terms_enabled' ); 3845 if ( is_null( $global_terms ) ) { 3846 $filter = apply_filters( 'global_terms_enabled', null ); 3847 if ( ! is_null( $filter ) ) 3848 $global_terms = (bool) $filter; 3849 else 3850 $global_terms = (bool) get_site_option( 'global_terms_enabled', false ); 3851 } 3847 3852 return $global_terms; 3848 3853 }
Note: See TracChangeset
for help on using the changeset viewer.