Changeset 6822 for trunk/src/includes/common/template.php
- Timestamp:
- 05/27/2018 07:44:49 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/common/template.php
r6777 r6822 97 97 98 98 // Get the site visibility setting 99 $public = get_blog_option( $site_id, 'blog_public', 1 ); 99 $public = is_multisite() 100 ? get_blog_option( $site_id, 'blog_public', 1 ) 101 : get_option( 'blog_public', 1 ); 100 102 101 103 // Filter & return
Note: See TracChangeset
for help on using the changeset viewer.