rtMedia for WordPress, BuddyPress and bbPress - Version 4.1.5

Version Description

Requires BuddyPress 1.7 or higher, if using BuddyPress. Fix issue where multiple gallery shortcode not working together and added filter to change 'under' album text.

=

Download this release

Release Info

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

Code changes from version 4.1.4 to 4.1.5

app/assets/js/rtMedia.backbone.js CHANGED
@@ -142,7 +142,11 @@ jQuery( function ( $ ) {
142
var list_el = "";
143
144
if ( typeof ( element ) === "undefined" ) {
145
- list_el = $( ".rtmedia-list" )[0];
146
} else {
147
list_el = element.parent().siblings( '.rtmedia-list' );
148
}
@@ -173,11 +177,11 @@ jQuery( function ( $ ) {
173
} );
174
}
175
},
176
- reloadView: function () {
177
upload_sync = true;
178
nextpage = 1;
179
jQuery( '.rtmedia-container .rtmedia-list' ).css( 'opacity', '0.5' );
180
- this.getNext();
181
}
182
} );
183
142
var list_el = "";
143
144
if ( typeof ( element ) === "undefined" ) {
145
+ if( jQuery( el ).find( '.rtmedia-list' ).length > 0 ) {
146
+ list_el = jQuery( el ).find( '.rtmedia-list' );
147
+ } else {
148
+ list_el = $( ".rtmedia-list" )[0];
149
+ }
150
} else {
151
list_el = element.parent().siblings( '.rtmedia-list' );
152
}
177
} );
178
}
179
},
180
+ reloadView: function ( parent_el ) {
181
upload_sync = true;
182
nextpage = 1;
183
jQuery( '.rtmedia-container .rtmedia-list' ).css( 'opacity', '0.5' );
184
+ this.getNext( undefined, parent_el, undefined );
185
}
186
} );
187
app/main/routers/query/RTMediaQuery.php CHANGED
@@ -430,7 +430,18 @@ class RTMediaQuery {
430
*/
431
function &query( $query ) {
432
$this->original_query = $query;
433
- $this->query = wp_parse_args( $query, $this->query );
434
//Set Json
435
$allowed_query = apply_filters( 'rtmedia_allowed_query', array(
436
'id',
@@ -456,7 +467,17 @@ class RTMediaQuery {
456
unset( $query_data[ $key ] );
457
}
458
}
459
- $this->query = wp_parse_args( $query_data, $this->query );
460
} else {
461
if ( isset( $this->is_gallery_shortcode ) && true === $this->is_gallery_shortcode ) {
462
foreach ( $this->query as $key => $val ) {
430
*/
431
function &query( $query ) {
432
$this->original_query = $query;
433
+
434
+ /*
435
+ * @chandrapatel commented below code. here we are merging new query vars and previous query vars
436
+ * which is cause an issue. For example, First time query vars contains media_type and second time query vars not contain media_type
437
+ * then media not listed properly.
438
+ *
439
+ * Later on, renmove this comment and below commented code.
440
+ */
441
+ // $this->query = wp_parse_args( $query, $this->query );
442
+
443
+ $this->query = $query;
444
+
445
//Set Json
446
$allowed_query = apply_filters( 'rtmedia_allowed_query', array(
447
'id',
467
unset( $query_data[ $key ] );
468
}
469
}
470
+ /*
471
+ * @chandra commented this code. here we are merging new query vars and previous query vars
472
+ * which is cause an issue. For example, First time query vars contain media_type and second time query vars not contain media_type
473
+ * then media not listed properly.
474
+ *
475
+ * Later on, renmove this comment and below commented code.
476
+ */
477
+ // $this->query = wp_parse_args( $query, $this->query );
478
+
479
+ $this->query = $query_data;
480
+
481
} else {
482
if ( isset( $this->is_gallery_shortcode ) && true === $this->is_gallery_shortcode ) {
483
foreach ( $this->query as $key => $val ) {
index.php CHANGED
@@ -4,7 +4,7 @@
4
Plugin Name: rtMedia for WordPress, BuddyPress and bbPress
5
Plugin URI: https://rtmedia.io/?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: 4.1.4
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: https://rtmedia.io/?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: 4.1.5
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
@@ -1,12 +1,12 @@
1
=== rtMedia for WordPress, BuddyPress and bbPress ===
2
- Contributors: rtcamp, sanket.parmar, pranalipatel, jignesh.nakrani, mangeshp, manishsongirkar36, kiranpotphode, rittesh.patel, sagarjadhav, pushpak.pop, faishal, desaiuditd, rahul286, JoshuaAbenazer, gagan0123, saurabhshukla, nitun.lanjewar, umesh.nevase, suhasgirgaonkar, neerukoul, hrishiv90, kanakiyajay, jarretc, tobiaskluge, rafaelfunchal, UmeshSingla, mehulkaklotar, tannermirabel, kishores
3
Donate link: http://rtcamp.com/donate/
4
Tags: BuddyPress, media, multimedia, album, audio, songs, music, video, photo, image, upload, share, MediaElement.js, ffmpeg, kaltura, media-node, rtMedia, WordPress, bbPress, masonry
5
License: GPLv2 or later
6
License URI: http://www.gnu.org/licenses/gpl-2.0.html
7
Requires at least: WordPress 4.1
8
Tested up to: 4.6.1
9
- Stable tag: 4.1.4
10
11
Add albums, photo, audio/video upload, privacy, sharing, front-end uploads & more. All this works on mobile/tablets devices.
12
@@ -135,6 +135,11 @@ http://www.youtube.com/watch?v=dJrykKQGDcs
135
136
== Changelog ==
137
138
= 4.1.4 [Sep 13, 2016] =
139
* Fix audio player height issue
140
* Fix video player fullscreen issue
@@ -1218,8 +1223,8 @@ http://www.youtube.com/watch?v=dJrykKQGDcs
1218
1219
== Upgrade Notice ==
1220
1221
- = 4.1.4 =
1222
- Requires BuddyPress 1.7 or higher, if using BuddyPress. Fix audio/video height and fullscreen issue.
1223
1224
== Sponsors ==
1225
1
=== rtMedia for WordPress, BuddyPress and bbPress ===
2
+ Contributors: rtcamp, sanket.parmar, pranalipatel, jignesh.nakrani, mangeshp, manishsongirkar36, kiranpotphode, rittesh.patel, sagarjadhav, pushpak.pop, faishal, desaiuditd, rahul286, JoshuaAbenazer, gagan0123, saurabhshukla, nitun.lanjewar, umesh.nevase, suhasgirgaonkar, neerukoul, hrishiv90, kanakiyajay, jarretc, tobiaskluge, rafaelfunchal, UmeshSingla, mehulkaklotar, tannermirabel, kishores, chandrapatel
3
Donate link: http://rtcamp.com/donate/
4
Tags: BuddyPress, media, multimedia, album, audio, songs, music, video, photo, image, upload, share, MediaElement.js, ffmpeg, kaltura, media-node, rtMedia, WordPress, bbPress, masonry
5
License: GPLv2 or later
6
License URI: http://www.gnu.org/licenses/gpl-2.0.html
7
Requires at least: WordPress 4.1
8
Tested up to: 4.6.1
9
+ Stable tag: 4.1.5
10
11
Add albums, photo, audio/video upload, privacy, sharing, front-end uploads & more. All this works on mobile/tablets devices.
12
135
136
== Changelog ==
137
138
+ = 4.1.5 [Sep 15, 2016] =
139
+ * Fix issue where multiple gallery shortcode not working together
140
+ * Add filter to change 'under' album text
141
+ * Fix issue where media query not reset properly
142
+
143
= 4.1.4 [Sep 13, 2016] =
144
* Fix audio player height issue
145
* Fix video player fullscreen issue
1223
1224
== Upgrade Notice ==
1225
1226
+ = 4.1.5 =
1227
+ Requires BuddyPress 1.7 or higher, if using BuddyPress. Fix issue where multiple gallery shortcode not working together and added filter to change 'under' album text.
1228
1229
== Sponsors ==
1230
templates/media/media-single.php CHANGED
@@ -38,7 +38,7 @@
38
39
<?php if ( rtmedia_album_name() ) { ?>
40
<span class="rtmedia-album-name">
41
- <span>&nbsp;<?php esc_html_e( 'under', 'buddypress-media' ); ?></span>
42
<a href="<?php rtmedia_album_permalink(); ?>"
43
title="<?php echo esc_attr( rtmedia_album_name() ); ?>"><?php echo esc_html( rtmedia_album_name() ); ?></a>
44
</span>
38
39
<?php if ( rtmedia_album_name() ) { ?>
40
<span class="rtmedia-album-name">
41
+ <span>&nbsp;<?php echo $media_under = apply_filters( 'rtmedia_update_under_album_text', esc_html__( 'under', 'buddypress-media' )); ?></span>
42
<a href="<?php rtmedia_album_permalink(); ?>"
43
title="<?php echo esc_attr( rtmedia_album_name() ); ?>"><?php echo esc_html( rtmedia_album_name() ); ?></a>
44
</span>