[buddypress-trac] [BuddyPress Trac] #6274: #5669 stops blog post activity being recorded on site where search engines are discouraged

buddypress-trac noreply at wordpress.org
Tue Mar 3 15:25:51 UTC 2015


#6274: #5669 stops blog post activity being recorded on site where search engines
are discouraged
----------------------------------+------------------------------
 Reporter:  rogercoathup          |       Owner:
     Type:  defect (bug)          |      Status:  new
 Priority:  normal                |   Milestone:  Awaiting Review
Component:  Component - Activity  |     Version:
 Severity:  normal                |  Resolution:
 Keywords:                        |
----------------------------------+------------------------------
Changes (by rogercoathup):

 * cc: roger@… (added)


Comment:

 I suggest amending line 84 in bp-blogs-loader.php as the quickest fix:

 from:
         if ( 0 !== (int) get_option( 'blog_public' ) || ! is_multisite() )
 {

 to:
         if ( 0 !== apply_filters( 'bp_is_blog_public', (int)
 get_blog_option( $blog_id, 'blog_public' ) )  || ! is_multisite() ) {


 This is the same code as used in bp-blogs-filters.php line 114, and bp-
 blogs-functions.php line 594.  So, is a consistent solution.



 note:
 It would be nice to see an approach in the future though that didn't
 equate search engine visibility with activity tracking.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6274#comment:1>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list