Plugin Directory

Changeset 908117


Ignore:
Timestamp:
05/05/2014 09:36:56 AM (12 years ago)
Author:
faishal
Message:

version 3.6.14 released

Location:
buddypress-media/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • buddypress-media/trunk/app/assets/js/rtMedia.js

    r900937 r908117  
    405405
    406406    function rtmedia_disable_popup_navigation_comment_focus() {
    407         jQuery('#comment_content').live('focusin',function(){
     407        jQuery(document).on('focusin','#comment_content', function(){
    408408            jQuery(document).unbind('keydown');
    409409        });
    410         jQuery('#comment_content').live('focusout',function(){
     410        jQuery(document).on('focusout','#comment_content',function(){
    411411            var rtm_mfp = jQuery.magnificPopup.instance;
    412412            jQuery(document).on('keydown',function(e) {
  • buddypress-media/trunk/app/main/controllers/privacy/RTMediaPrivacy.php

    r854592 r908117  
    2323            //add_action ( 'rtmedia_after_file_upload_ui' , array ( $this , 'uploader_privacy_ui' ) ) ;
    2424            //add_action ( 'rtmedia_add_edit_fields' , array ( $this , 'edit_media_privacy_ui' ),2 ) ;
    25             add_action ( 'bp_init' , array ( $this , 'add_nav' ) ) ;
    26             add_action ( 'bp_template_content' , array ( $this , 'content' ) ) ;
    27             add_filter ( 'bp_activity_get_user_join_filter' , array ( $this , 'activity_privacy' ) , 10 , 6 ) ;
    28         }
    29     }
     25            add_action ( 'bp_init' , array( $this , 'add_nav' ) ) ;
     26            add_action ( 'bp_template_content' , array( $this , 'content' ) ) ;
     27            add_filter ( 'bp_activity_get_user_join_filter' , array( $this , 'activity_privacy' ), 10, 6 ) ;
     28            add_filter ( 'bp_use_legacy_activity_query' , array( $this , 'enable_buddypress_privacy' ), 10, 3 ) ;
     29        }
     30    }
     31
     32    function enable_buddypress_privacy( $flag, $method, $func_args ) {
     33        global $rtmedia;
     34        $option = $rtmedia->options;
     35        if( isset( $option['privacy_enabled'] ) && $option['privacy_enabled'] != '0' ) {
     36            if( $method == "BP_Activity_Activity::get" ) {
     37                $flag = true;
     38            }
     39        }
     40        return $flag;
     41    }
    3042
    3143    function edit_media_privacy_ui($echo = true) {
  • buddypress-media/trunk/index.php

    r900937 r908117  
    55  Plugin URI: http://rtcamp.com/buddypress-media/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media
    66  Description: This plugin adds missing media rich features like photos, videos and audio uploading to BuddyPress which are essential if you are building social network, seriously!
    7   Version: 3.6.13
     7  Version: 3.6.14
    88  Author: rtCamp
    99  Text Domain: rtmedia
  • buddypress-media/trunk/readme.txt

    r900937 r908117  
    77Requires at least: WordPress 3.6
    88Tested up to: WordPress 3.9 + BuddyPress 2.0
    9 Stable tag: 3.6.13
     9Stable tag: 3.6.14
    1010
    1111Add albums, photo, audio/video encoding, privacy, sharing, front-end uploads & more. All this works mobile/tablets devices.
     
    134134Please visit [rtMedia's Roadmap page](http://rtcamp.com/rtmedia/roadmap/?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media "Visit rtMedia's Features page") to get some details about future releases.
    135135
     136= 3.6.14 =
     137* Fix BuddyPress privacy issue
     138
    136139= 3.6.13 =
    137140* Media template update
     
    750753== Upgrade Notice ==
    751754
    752 = 3.6.13 =
    753 Requires BuddyPress 1.7 or higher, if using BuddyPress. Media template update, translation update, bug fixes
     755= 3.6.14 =
     756Requires BuddyPress 1.7 or higher, if using BuddyPress. Fix BuddyPress privacy issue.
    754757
    755758== Sponsors ==
Note: See TracChangeset for help on using the changeset viewer.