rtMedia for WordPress, BuddyPress and bbPress - Version 3.6.8

Version Description

  • Fix Regenerate Thumbnail plugin image sizes issue
  • Update Spanish language files
Download this release

Release Info

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

Code changes from version 3.6.7 to 3.6.8

Files changed (4) hide show
  1. app/main/RTMedia.php +2 -6
  2. index.php +1 -1
  3. languages/rtmedia-es_ES.mo +0 -0
  4. readme.txt +8 -3
app/main/RTMedia.php CHANGED
@@ -862,9 +862,8 @@ class RTMedia
862
  $sizes = $this->unset_bp_media_image_sizes_details($sizes);
863
  } elseif (isset($_REQUEST['id'])) { //For Regenerate Thumbnails Plugin
864
  $model = new RTMediaModel();
865
- $result = $model->get_by_media_id($_REQUEST['id']);
866
- if ($result) {
867
- if (isset($result["result"]) && count($result["result"]) > 0) {
868
  $bp_media_sizes = $this->image_sizes();
869
  $sizes = array(
870
  'rt_media_thumbnail' => $bp_media_sizes['thumbnail'],
@@ -872,9 +871,6 @@ class RTMedia
872
  'rt_media_single_image' => $bp_media_sizes['single'],
873
  'rt_media_featured_image' => $bp_media_sizes['featured'],
874
  );
875
- } else {
876
- $sizes = $this->unset_bp_media_image_sizes_details($sizes);
877
- }
878
  } else {
879
  $sizes = $this->unset_bp_media_image_sizes_details($sizes);
880
  }
862
  $sizes = $this->unset_bp_media_image_sizes_details($sizes);
863
  } elseif (isset($_REQUEST['id'])) { //For Regenerate Thumbnails Plugin
864
  $model = new RTMediaModel();
865
+ $result = $model->get( array( 'media_id' => $_REQUEST['id'] ) );
866
+ if (! empty( $result ) ) {
 
867
  $bp_media_sizes = $this->image_sizes();
868
  $sizes = array(
869
  'rt_media_thumbnail' => $bp_media_sizes['thumbnail'],
871
  'rt_media_single_image' => $bp_media_sizes['single'],
872
  'rt_media_featured_image' => $bp_media_sizes['featured'],
873
  );
 
 
 
874
  } else {
875
  $sizes = $this->unset_bp_media_image_sizes_details($sizes);
876
  }
index.php CHANGED
@@ -4,7 +4,7 @@
4
  Plugin Name: rtMedia for WordPress, BuddyPress and bbPress
5
  Plugin URI: http://rtcamp.com/buddypress-media/?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.6.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/buddypress-media/?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.6.8
8
  Author: rtCamp
9
  Text Domain: rtmedia
10
  Author URI: http://rtcamp.com/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media
languages/rtmedia-es_ES.mo CHANGED
Binary file
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: WordPress 3.7 + BuddyPress 1.8.1
9
- Stable tag: 3.6.7
10
 
11
  Add albums, photo, audio/video encoding, privacy, sharing, front-end uploads & more. All this works mobile/tablets devices.
12
 
@@ -132,6 +132,11 @@ http://www.youtube.com/watch?v=dJrykKQGDcs
132
  == Changelog ==
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
  = 3.6.7 =
136
  * Update Spanish language files
137
  * Bug fix for media single edit
@@ -722,8 +727,8 @@ Please visit [rtMedia's Roadmap page](http://rtcamp.com/rtmedia/roadmap/?utm_sou
722
 
723
  == Upgrade Notice ==
724
 
725
- = 3.6.7 =
726
- Requires BuddyPress 1.7 or higher, if using BuddyPress. Update Spanish language files, bug fix for single media edit.
727
 
728
  == Sponsors ==
729
 
6
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
7
  Requires at least: WordPress 3.6
8
  Tested up to: WordPress 3.7 + BuddyPress 1.8.1
9
+ Stable tag: 3.6.8
10
 
11
  Add albums, photo, audio/video encoding, privacy, sharing, front-end uploads & more. All this works mobile/tablets devices.
12
 
132
  == Changelog ==
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.6.8 =
137
+ * Fix Regenerate Thumbnail plugin image sizes issue
138
+ * Update Spanish language files
139
+
140
  = 3.6.7 =
141
  * Update Spanish language files
142
  * Bug fix for media single edit
727
 
728
  == Upgrade Notice ==
729
 
730
+ = 3.6.8 =
731
+ Requires BuddyPress 1.7 or higher, if using BuddyPress. Fix Regenerate Thumbnail plugin image sizes issue.
732
 
733
  == Sponsors ==
734