Version Description
- Fix BuddyPress load more issue
Download this release
Release Info
Developer | rtcamp |
Plugin | rtMedia for WordPress, BuddyPress and bbPress |
Version | 3.7.11 |
Comparing to | |
See all releases |
Code changes from version 3.7.10 to 3.7.11
- app/admin/RTMediaAdmin.php +4 -4
- app/helper/RTMediaLicense.php +1 -1
- app/main/controllers/privacy/RTMediaPrivacy.php +6 -0
- index.php +1 -1
- readme.txt +7 -4
app/admin/RTMediaAdmin.php
CHANGED
@@ -558,8 +558,8 @@ if ( ! class_exists( 'RTMediaAdmin' ) ){
|
|
558 |
),
|
559 |
) );
|
560 |
$admin_bar->add_menu( array(
|
561 |
-
'id' => 'rt-media-license', 'parent' => 'rtMedia', 'title' => __( '
|
562 |
-
'title' => __( '
|
563 |
),
|
564 |
) );
|
565 |
}
|
@@ -638,7 +638,7 @@ if ( ! class_exists( 'RTMediaAdmin' ) ){
|
|
638 |
add_submenu_page( 'rtmedia-settings', __( 'Support', 'rtmedia' ), __( 'Support', 'rtmedia' ), 'manage_options', 'rtmedia-support', array( $this, 'support_page' ) );
|
639 |
add_submenu_page( 'rtmedia-settings', __( 'Themes', 'rtmedia' ), __( 'Themes', 'rtmedia' ), 'manage_options', 'rtmedia-themes', array( $this, 'theme_page' ) );
|
640 |
add_submenu_page( 'rtmedia-settings', __( 'Hire Us', 'rtmedia' ), __( 'Hire Us', 'rtmedia' ), 'manage_options', 'rtmedia-hire-us', array( $this, 'hire_us_page' ) );
|
641 |
-
add_submenu_page( 'rtmedia-settings', __( '
|
642 |
|
643 |
if ( ! defined( "RTMEDIA_PRO_VERSION" ) ){
|
644 |
add_submenu_page( 'rtmedia-settings', __( 'Premium', 'rtmedia' ), __( 'Premium ', 'rtmedia' ), 'manage_options', 'rtmedia-premium', array( $this, 'premium_page' ) );
|
@@ -1140,7 +1140,7 @@ if ( ! class_exists( 'RTMediaAdmin' ) ){
|
|
1140 |
), array(
|
1141 |
'href' => get_admin_url( null, add_query_arg( array( 'page' => 'rtmedia-support' ), 'admin.php' ) ), 'name' => __( 'Support', 'rtmedia' ), 'slug' => 'rtmedia-support'
|
1142 |
), array(
|
1143 |
-
'href' => get_admin_url( null, add_query_arg( array( 'page' => 'rtmedia-license' ), 'admin.php' ) ), 'name' => __( '
|
1144 |
),
|
1145 |
);
|
1146 |
|
558 |
),
|
559 |
) );
|
560 |
$admin_bar->add_menu( array(
|
561 |
+
'id' => 'rt-media-license', 'parent' => 'rtMedia', 'title' => __( 'Licenses', 'rtmedia' ), 'href' => admin_url( 'admin.php?page=rtmedia-license' ), 'meta' => array(
|
562 |
+
'title' => __( 'Licenses', 'rtmedia' ), 'target' => '_self',
|
563 |
),
|
564 |
) );
|
565 |
}
|
638 |
add_submenu_page( 'rtmedia-settings', __( 'Support', 'rtmedia' ), __( 'Support', 'rtmedia' ), 'manage_options', 'rtmedia-support', array( $this, 'support_page' ) );
|
639 |
add_submenu_page( 'rtmedia-settings', __( 'Themes', 'rtmedia' ), __( 'Themes', 'rtmedia' ), 'manage_options', 'rtmedia-themes', array( $this, 'theme_page' ) );
|
640 |
add_submenu_page( 'rtmedia-settings', __( 'Hire Us', 'rtmedia' ), __( 'Hire Us', 'rtmedia' ), 'manage_options', 'rtmedia-hire-us', array( $this, 'hire_us_page' ) );
|
641 |
+
add_submenu_page( 'rtmedia-settings', __( 'Licenses', 'rtmedia' ), __( 'Licenses', 'rtmedia' ), 'manage_options', 'rtmedia-license', array( $this, 'license_page' ) );
|
642 |
|
643 |
if ( ! defined( "RTMEDIA_PRO_VERSION" ) ){
|
644 |
add_submenu_page( 'rtmedia-settings', __( 'Premium', 'rtmedia' ), __( 'Premium ', 'rtmedia' ), 'manage_options', 'rtmedia-premium', array( $this, 'premium_page' ) );
|
1140 |
), array(
|
1141 |
'href' => get_admin_url( null, add_query_arg( array( 'page' => 'rtmedia-support' ), 'admin.php' ) ), 'name' => __( 'Support', 'rtmedia' ), 'slug' => 'rtmedia-support'
|
1142 |
), array(
|
1143 |
+
'href' => get_admin_url( null, add_query_arg( array( 'page' => 'rtmedia-license' ), 'admin.php' ) ), 'name' => __( 'Licenses', 'rtmedia' ), 'slug' => 'rtmedia-license'
|
1144 |
),
|
1145 |
);
|
1146 |
|
app/helper/RTMediaLicense.php
CHANGED
@@ -25,7 +25,7 @@ class RTMediaLicense {
|
|
25 |
<?php
|
26 |
} else {
|
27 |
?>
|
28 |
-
<div>You may interested in <a href="<?php echo admin_url( 'admin.php?page=rtmedia-addons' ) ?>">rtMedia Addons</a>.</div>
|
29 |
<?php
|
30 |
}
|
31 |
}
|
25 |
<?php
|
26 |
} else {
|
27 |
?>
|
28 |
+
<div>You may be interested in <a href="<?php echo admin_url( 'admin.php?page=rtmedia-addons' ) ?>">rtMedia Addons</a>.</div>
|
29 |
<?php
|
30 |
}
|
31 |
}
|
app/main/controllers/privacy/RTMediaPrivacy.php
CHANGED
@@ -26,9 +26,15 @@ class RTMediaPrivacy {
|
|
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;
|
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 |
+
add_filter ( 'bp_activity_has_more_items' , array( $this , 'enable_buddypress_load_more' ), 10, 1 ) ;
|
30 |
}
|
31 |
}
|
32 |
|
33 |
+
function enable_buddypress_load_more( $has_more_items ){
|
34 |
+
global $activities_template;
|
35 |
+
return true;
|
36 |
+
}
|
37 |
+
|
38 |
function enable_buddypress_privacy( $flag, $method, $func_args ) {
|
39 |
global $rtmedia;
|
40 |
$option = $rtmedia->options;
|
index.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
Plugin Name: rtMedia for WordPress, BuddyPress and bbPress
|
5 |
Plugin URI: http://rtcamp.com/rtmedia/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media
|
6 |
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.7.
|
8 |
Author: rtCamp
|
9 |
Text Domain: rtmedia
|
10 |
Author URI: http://rtcamp.com/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media
|
4 |
Plugin Name: rtMedia for WordPress, BuddyPress and bbPress
|
5 |
Plugin URI: http://rtcamp.com/rtmedia/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media
|
6 |
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.7.11
|
8 |
Author: rtCamp
|
9 |
Text Domain: rtmedia
|
10 |
Author URI: http://rtcamp.com/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media
|
readme.txt
CHANGED
@@ -5,8 +5,8 @@ Tags: BuddyPress, media, multimedia, album, audio, songs, music, video, photo, i
|
|
5 |
License: GPLv2 or later
|
6 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
7 |
Requires at least: WordPress 3.6
|
8 |
-
Tested up to: WordPress
|
9 |
-
Stable tag: 3.7.
|
10 |
|
11 |
Add albums, photo, audio/video encoding, privacy, sharing, front-end uploads & more. All this works mobile/tablets devices.
|
12 |
|
@@ -133,6 +133,9 @@ http://www.youtube.com/watch?v=dJrykKQGDcs
|
|
133 |
|
134 |
Please 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.
|
135 |
|
|
|
|
|
|
|
136 |
= 3.7.10 =
|
137 |
* Travis CI Config added
|
138 |
* Fix CSS for audio/video player
|
@@ -814,8 +817,8 @@ Please visit [rtMedia's Roadmap page](http://rtcamp.com/rtmedia/roadmap/?utm_sou
|
|
814 |
|
815 |
== Upgrade Notice ==
|
816 |
|
817 |
-
= 3.7.
|
818 |
-
Requires BuddyPress 1.7 or higher, if using BuddyPress. Fix
|
819 |
|
820 |
== Sponsors ==
|
821 |
|
5 |
License: GPLv2 or later
|
6 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
7 |
Requires at least: WordPress 3.6
|
8 |
+
Tested up to: WordPress 4.0 + BuddyPress 2.0
|
9 |
+
Stable tag: 3.7.11
|
10 |
|
11 |
Add albums, photo, audio/video encoding, privacy, sharing, front-end uploads & more. All this works mobile/tablets devices.
|
12 |
|
133 |
|
134 |
Please 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.
|
135 |
|
136 |
+
= 3.7.11 =
|
137 |
+
* Fix BuddyPress load more issue
|
138 |
+
|
139 |
= 3.7.10 =
|
140 |
* Travis CI Config added
|
141 |
* Fix CSS for audio/video player
|
817 |
|
818 |
== Upgrade Notice ==
|
819 |
|
820 |
+
= 3.7.11 =
|
821 |
+
Requires BuddyPress 1.7 or higher, if using BuddyPress. Fix BuddyPress load more issue.
|
822 |
|
823 |
== Sponsors ==
|
824 |
|