Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
ai
noblogs-wp
Commits
962d217b
Commit
962d217b
authored
Feb 20, 2019
by
lucha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[auto] plugin: bp-mpo-activity-filter 1.3.1
parent
273666bc
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
7 deletions
+10
-7
wp-content/plugins/bp-mpo-activity-filter/bp-mpo-activity-filter-bp-functions.php
...o-activity-filter/bp-mpo-activity-filter-bp-functions.php
+1
-1
wp-content/plugins/bp-mpo-activity-filter/bp-mpo-activity-filter.php
...plugins/bp-mpo-activity-filter/bp-mpo-activity-filter.php
+1
-1
wp-content/plugins/bp-mpo-activity-filter/readme.txt
wp-content/plugins/bp-mpo-activity-filter/readme.txt
+8
-5
No files found.
wp-content/plugins/bp-mpo-activity-filter/bp-mpo-activity-filter-bp-functions.php
View file @
962d217b
...
...
@@ -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
{
...
...
wp-content/plugins/bp-mpo-activity-filter/bp-mpo-activity-filter.php
View file @
962d217b
...
...
@@ -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
*/
...
...
wp-content/plugins/bp-mpo-activity-filter/readme.txt
View file @
962d217b
...
...
@@ -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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment