Skip to:
Content

BuddyPress.org

Changeset 9603


Ignore:
Timestamp:
03/06/2015 09:05:14 PM (10 years ago)
Author:
johnjamesjacoby
Message:

Run results of blog_public value through bp_is_blog_public filter in Blogs loader. This fixes a regression preventing activity stream items being created for new posts where search engines are discouraged. Props rogercoathup. Fixes #6274.

File:
1 edited

Legend:

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

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