rtMedia for WordPress, BuddyPress and bbPress - Version 3.9.2

Version Description

Requires BuddyPress 1.7 or higher, if using BuddyPress. Update rtMedia main template, fix undefined JS error.

=

Download this release

Release Info

Developer rtcamp
Plugin Icon 128x128 rtMedia for WordPress, BuddyPress and bbPress
Version 3.9.2
Comparing to
See all releases

Code changes from version 3.9.1 to 3.9.2

app/admin/RTMediaAdmin.php CHANGED
@@ -1936,10 +1936,10 @@ if ( ! class_exists( 'RTMediaAdmin' ) ) {
1936
}
1937
1938
function rtmedia_update_template_notice() {
1939
- $site_option = rtmedia_get_site_option( 'rtmedia-update-template-notice-v3_8' );
1940
1941
if ( ! $site_option || 'hide' != $site_option ) {
1942
- rtmedia_update_site_option( 'rtmedia-update-template-notice-v3_8', 'show' );
1943
if ( is_dir( get_template_directory() . '/rtmedia' ) ) {
1944
echo '<div class="error rtmedia-update-template-notice"><p>' . __( 'Please update rtMedia template files if you have overridden the default rtMedia templates in your theme. If not, you can ignore and hide this notice.', 'buddypress-media' ) . '<a href="#" onclick="rtmedia_hide_template_override_notice()" style="float:right">' . __( 'Hide', 'buddypress-media' ) . '</a>' . ' </p></div>';
1945
?>
@@ -1960,7 +1960,7 @@ if ( ! class_exists( 'RTMediaAdmin' ) ) {
1960
1961
function rtmedia_hide_template_override_notice() {
1962
1963
- if ( rtmedia_update_site_option( 'rtmedia-update-template-notice-v3_8', 'hide' ) ) {
1964
echo '1';
1965
} else {
1966
echo '0';
1936
}
1937
1938
function rtmedia_update_template_notice() {
1939
+ $site_option = rtmedia_get_site_option( 'rtmedia-update-template-notice-v3_9_2' );
1940
1941
if ( ! $site_option || 'hide' != $site_option ) {
1942
+ rtmedia_update_site_option( 'rtmedia-update-template-notice-v3_9_2', 'show' );
1943
if ( is_dir( get_template_directory() . '/rtmedia' ) ) {
1944
echo '<div class="error rtmedia-update-template-notice"><p>' . __( 'Please update rtMedia template files if you have overridden the default rtMedia templates in your theme. If not, you can ignore and hide this notice.', 'buddypress-media' ) . '<a href="#" onclick="rtmedia_hide_template_override_notice()" style="float:right">' . __( 'Hide', 'buddypress-media' ) . '</a>' . ' </p></div>';
1945
?>
1960
1961
function rtmedia_hide_template_override_notice() {
1962
1963
+ if ( rtmedia_update_site_option( 'rtmedia-update-template-notice-v3_9_2', 'hide' ) ) {
1964
echo '1';
1965
} else {
1966
echo '0';
app/assets/js/rtMedia.backbone.js CHANGED
@@ -907,7 +907,7 @@ jQuery( document ).ready( function ( $ ) {
907
} );
908
909
var object = '';
910
- var item_id = jq( "#whats-new-post-in" ).val();
911
if ( item_id == undefined )
912
item_id = 0;
913
if ( item_id > 0 ) {
907
} );
908
909
var object = '';
910
+ var item_id = jQuery( "#whats-new-post-in" ).val();
911
if ( item_id == undefined )
912
item_id = 0;
913
if ( item_id > 0 ) {
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.9.1
8
Author: rtCamp
9
Text Domain: buddypress-media
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.9.2
8
Author: rtCamp
9
Text Domain: buddypress-media
10
Author URI: http://rtcamp.com/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media
readme.txt CHANGED
@@ -6,7 +6,7 @@ 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: 4.3.1
9
- Stable tag: 3.9.1
10
11
Add albums, photo, audio/video encoding, privacy, sharing, front-end uploads & more. All this works on mobile/tablets devices.
12
@@ -140,6 +140,10 @@ http://www.youtube.com/watch?v=dJrykKQGDcs
140
141
== Changelog ==
142
143
= 3.9.1 [Nov 05, 2015] =
144
* Fix encoding service key save issue
145
* Added thrive theme under rtMedia 3rd party themes
@@ -1098,8 +1102,8 @@ http://www.youtube.com/watch?v=dJrykKQGDcs
1098
1099
== Upgrade Notice ==
1100
1101
- = 3.9.1 =
1102
- Requires BuddyPress 1.7 or higher, if using BuddyPress. Fix encoding service key save issue, fix translation text domain, update chinese translations.
1103
1104
== Sponsors ==
1105
6
License URI: http://www.gnu.org/licenses/gpl-2.0.html
7
Requires at least: WordPress 3.6
8
Tested up to: 4.3.1
9
+ Stable tag: 3.9.2
10
11
Add albums, photo, audio/video encoding, privacy, sharing, front-end uploads & more. All this works on mobile/tablets devices.
12
140
141
== Changelog ==
142
143
+ = 3.9.2 [Nov 15, 2015] =
144
+ * Update rtMedia main template
145
+ * Fix undefined JS error
146
+
147
= 3.9.1 [Nov 05, 2015] =
148
* Fix encoding service key save issue
149
* Added thrive theme under rtMedia 3rd party themes
1102
1103
== Upgrade Notice ==
1104
1105
+ = 3.9.2 =
1106
+ Requires BuddyPress 1.7 or higher, if using BuddyPress. Update rtMedia main template, fix undefined JS error.
1107
1108
== Sponsors ==
1109
templates/main.php CHANGED
@@ -36,7 +36,16 @@ if ( ! $rt_ajax_request ) {
36
<?php do_action( 'bp_before_member_home_content' ); ?>
37
<div id="item-header" role="complementary">
38
39
- <?php bp_get_template_part ( 'members/single/member-header' ) ?>
40
41
</div><!--#item-header-->
42
36
<?php do_action( 'bp_before_member_home_content' ); ?>
37
<div id="item-header" role="complementary">
38
39
+ <?php
40
+ /**
41
+ * If the cover image feature is enabled, use a specific header
42
+ */
43
+ if ( function_exists( 'bp_displayed_user_use_cover_image_header' ) && bp_displayed_user_use_cover_image_header() ) :
44
+ bp_get_template_part( 'members/single/cover-image-header' );
45
+ else :
46
+ bp_get_template_part( 'members/single/member-header' );
47
+ endif;
48
+ ?>
49
50
</div><!--#item-header-->
51