Changeset 841030
- Timestamp:
- 01/18/2014 06:54:34 PM (12 years ago)
- Location:
- buddypress-activity-privacy/trunk
- Files:
-
- 4 edited
-
history.txt (modified) (1 diff)
-
includes/bp-activity-privacy-filters.php (modified) (1 diff)
-
loader.php (modified) (3 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
buddypress-activity-privacy/trunk/history.txt
r839282 r841030 77 77 78 78 - New privacy level (@mentioned only). Members mentioned in the acitivity can see the content of acitivity whatever the privacy level. 79 80 Version 1.2.2 (Jan 18, 2014) 81 -------------------------------------------------------------- 82 83 - Fix bug, visibility not work. -
buddypress-activity-privacy/trunk/includes/bp-activity-privacy-filters.php
r839282 r841030 101 101 102 102 // mentioned members can always see the acitivity whatever the privacy level 103 if ( $visibility != 'mentionedonly' ){103 if ( $visibility != 'mentionedonly' && $bp_loggedin_user_id && $remove_from_stream ){ 104 104 $usernames = bp_activity_find_mentions( $activity->content ); 105 105 $is_mentioned = array_key_exists( $bp_loggedin_user_id, (array)$usernames ); 106 107 if( $is_mentioned ) 106 if( $is_mentioned ) { 108 107 $remove_from_stream = false; 108 } 109 109 } 110 110 -
buddypress-activity-privacy/trunk/loader.php
r839282 r841030 4 4 Plugin URI: 5 5 Description: BP Activity Privacy add the ability for members to choose who can read his activity before it posted ! 6 Version: 1.2. 16 Version: 1.2.2 7 7 Requires at least: WP 3.4, BuddyPress 1.5 8 8 Tested up to: BuddyPress 1.5, 1.9.1 … … 17 17 18 18 /************************************************************************************************************* 19 --- BuddyPress Activity Privacy 1.2. 1---19 --- BuddyPress Activity Privacy 1.2.2 --- 20 20 *************************************************************************************************************/ 21 21 … … 25 25 // Define a constant that will hold the current version number of the component 26 26 // This can be useful if you need to run update scripts or do compatibility checks in the future 27 define( 'BP_ACTIVITY_PRIVACY_VERSION', '1.2. 1' );27 define( 'BP_ACTIVITY_PRIVACY_VERSION', '1.2.2' ); 28 28 29 29 // Define a constant that we can use to construct file paths throughout the component -
buddypress-activity-privacy/trunk/readme.txt
r839282 r841030 4 4 Requires at least: WordPress 3.4, BuddyPress 1.5 5 5 Tested up to: WordPress 3.8 / BuddyPress 1.9.1 6 Stable tag: 1.2. 16 Stable tag: 1.2.2 7 7 8 8 … … 14 14 15 15 16 What's news In Buddypress Activity Privacy 1.2. 1?16 What's news In Buddypress Activity Privacy 1.2.2 ? 17 17 18 18 - A New privacy level (@mentioned only). When a member choose this privacy level, only mentioned members (and admin of course) can see the activity.
Note: See TracChangeset
for help on using the changeset viewer.