Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: More Privacy Options, private blogs, and activity streams


jugoretz
Participant

@jugoretz

This does look useful to me, at least! But I want to confirm before I make the change.

My line 267 in bp-blogs-classes.php currently reads

if ( !(int)$wpdb->get_var( $wpdb->prepare( "SELECT DISTINCT public FROM {$wpdb->base_prefix}blogs WHERE blog_id = %d", $blog_id ) ) )

So you’re saying I should just replace

$wpdb->get_var( $wpdb->prepare( "SELECT DISTINCT public FROM {$wpdb->base_prefix}blogs WHERE blog_id = %d", $blog_id ) ) )

within that line? Or the whole line?

Skip to toolbar