Changeset 34912 for trunk/src/wp-includes/functions.php
- Timestamp:
- 10/07/2015 05:11:01 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/functions.php
r34896 r34912 1761 1761 * We also sometimes obey UPLOADS when rewriting is enabled -- see the next block. 1762 1762 */ 1763 if ( defined( 'UPLOADS' ) && ! ( is_multisite() && get_ network_option( 'ms_files_rewriting' ) ) ) {1763 if ( defined( 'UPLOADS' ) && ! ( is_multisite() && get_site_option( 'ms_files_rewriting' ) ) ) { 1764 1764 $dir = ABSPATH . UPLOADS; 1765 1765 $url = trailingslashit( $siteurl ) . UPLOADS; … … 1769 1769 if ( is_multisite() && ! ( is_main_network() && is_main_site() && defined( 'MULTISITE' ) ) ) { 1770 1770 1771 if ( ! get_ network_option( 'ms_files_rewriting' ) ) {1771 if ( ! get_site_option( 'ms_files_rewriting' ) ) { 1772 1772 /* 1773 1773 * If ms-files rewriting is disabled (networks created post-3.5), it is fairly … … 4004 4004 $global_terms = (bool) $filter; 4005 4005 else 4006 $global_terms = (bool) get_ network_option( 'global_terms_enabled', false );4006 $global_terms = (bool) get_site_option( 'global_terms_enabled', false ); 4007 4007 } 4008 4008 return $global_terms;
Note: See TracChangeset
for help on using the changeset viewer.