Skip to:
Content

BuddyPress.org

Changeset 9898


Ignore:
Timestamp:
05/29/2015 07:51:54 PM (10 years ago)
Author:
r-a-y
Message:

Blogs: Run results of blog_public value through bp_is_blog_public filter.

Mirrors r9603 from 2.2-branch, but for trunk.

See #6274.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-blogs/bp-blogs-loader.php

    r9837 r9898  
    8383         * In case the config is not multisite, the blog_public option is ignored.
    8484         */
    85         if ( 0 !== (int) get_option( 'blog_public' ) || ! is_multisite() ) {
     85        if ( 0 !== apply_filters( 'bp_is_blog_public', (int) get_option( 'blog_public' ) ) || ! is_multisite() ) {
    8686
    8787            /**
Note: See TracChangeset for help on using the changeset viewer.