Skip to content
Snippets Groups Projects
Commit 962d217b authored by lucha's avatar lucha
Browse files

[auto] plugin: bp-mpo-activity-filter 1.3.1

parent 273666bc
Branches
Tags
No related merge requests found
......@@ -35,7 +35,7 @@ function bp_mpo_activity_filter( $has_activities, $activities, $template_args )
$current_user = $bp->loggedin_user->id;
// Account for bp-groupblog
if ( $activity->component == 'groups' ) {
if ( $activity->component == 'groups' && bp_is_active( 'groups' ) && 0 === strpos( $activity->type, 'new_groupblog_' ) ) {
$group_id = $activity->item_id;
$blog_id = groups_get_groupmeta( $group_id, 'groupblog_blog_id' );
} else {
......
......@@ -3,7 +3,7 @@
Plugin Name: BP MPO Activity Filter
Plugin URI: http://github.com/boonebgorges/bp-mpo-activity-filter
Description: When using More Privacy Options, this plugin removes items from BP activity streams according to user roles
Version: 1.2.2
Version: 1.3.1
Author: Boone Gorges
Author URI: http://boone.gorg.es
*/
......
......@@ -2,10 +2,10 @@
Contributors: boonebgorges, cuny-academic-commons
Tags: buddypress, activity, privacy, more privacy options, filter
Requires at least: 3.5
Tested up to: 5.0
Requires PHP: 5.3
Tested up to: 4.9
Donate link: http://teleogistic.net/donate/
Stable tag: 1.2.2
Stable tag: 1.3.1
When using More Privacy Options, this plugin removes items from BP activity streams according to user roles.
......@@ -25,9 +25,12 @@ I borrowed the idea, and a little bit of the code, from this plugin: http://blog
== Changelog ==
= 1.2.2 =
* Removed PHP 5.3+ syntax.
* Clarified future PHP version support in plugin header.
= 1.3.1 =
* Fixes PHP 5.3 incompatibility
= 1.3.0 =
* Fixed bugs when checking for component activation
* Fixed bugs related to groupblog activity items
= 1.2.1 =
* Fixed bug in activity filter callback.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment