Plugin Directory

Changeset 841030


Ignore:
Timestamp:
01/18/2014 06:54:34 PM (12 years ago)
Author:
megainfo
Message:

update to 1.2.2

  • fix bug privacy not work
Location:
buddypress-activity-privacy/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • buddypress-activity-privacy/trunk/history.txt

    r839282 r841030  
    7777
    7878- New privacy level (@mentioned only). Members mentioned in the acitivity can see the content of acitivity whatever the privacy level.
     79
     80Version 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  
    101101
    102102        // 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 ){
    104104            $usernames = bp_activity_find_mentions( $activity->content );
    105105            $is_mentioned = array_key_exists( $bp_loggedin_user_id,  (array)$usernames );
    106 
    107             if( $is_mentioned )
     106            if( $is_mentioned ) {
    108107                $remove_from_stream = false;
     108            }
    109109        }
    110110     
  • buddypress-activity-privacy/trunk/loader.php

    r839282 r841030  
    44Plugin URI:
    55Description: BP Activity Privacy add the ability for members to choose who can read his activity before it posted !
    6 Version: 1.2.1
     6Version: 1.2.2
    77Requires at least:  WP 3.4, BuddyPress 1.5
    88Tested up to: BuddyPress 1.5, 1.9.1
     
    1717
    1818/*************************************************************************************************************
    19  --- BuddyPress Activity Privacy 1.2.1 ---
     19 --- BuddyPress Activity Privacy 1.2.2 ---
    2020 *************************************************************************************************************/
    2121
     
    2525// Define a constant that will hold the current version number of the component
    2626// 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' );
     27define( 'BP_ACTIVITY_PRIVACY_VERSION', '1.2.2' );
    2828
    2929// Define a constant that we can use to construct file paths throughout the component
  • buddypress-activity-privacy/trunk/readme.txt

    r839282 r841030  
    44Requires at least: WordPress 3.4, BuddyPress 1.5
    55Tested up to: WordPress 3.8 / BuddyPress 1.9.1
    6 Stable tag: 1.2.1
     6Stable tag: 1.2.2
    77
    88
     
    1414
    1515
    16 What's news In Buddypress Activity Privacy 1.2.1 ?
     16What's news In Buddypress Activity Privacy 1.2.2 ?
    1717
    1818- 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.