rtMedia for WordPress, BuddyPress and bbPress - Version 3.7.18

Version Description

  • Fix for template include for relative paths
Download this release

Release Info

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

Code changes from version 3.7.17 to 3.7.18

app/main/controllers/template/RTMediaTemplate.php CHANGED
@@ -660,6 +660,11 @@ class RTMediaTemplate {
660
 
661
  $context = apply_filters( 'rtmedia_context_filter', $context );
662
 
 
 
 
 
 
663
  $template_name = $template . '.php';
664
 
665
  if ( $context === false ){
660
 
661
  $context = apply_filters( 'rtmedia_context_filter', $context );
662
 
663
+ // check and exit if $template contains relative path
664
+ if( strpos( $template, '.' ) ){
665
+ die('No Cheating');
666
+ }
667
+
668
  $template_name = $template . '.php';
669
 
670
  if ( $context === false ){
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.17
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.18
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
@@ -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 4.0 + BuddyPress 2.0
9
- Stable tag: 3.7.17
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.17 =
137
  * Removed unwanted database call on BuddyPress single activity page
138
 
@@ -846,8 +849,8 @@ Please visit [rtMedia's Roadmap page](http://rtcamp.com/rtmedia/roadmap/?utm_sou
846
 
847
  == Upgrade Notice ==
848
 
849
- = 3.7.17 =
850
- Requires BuddyPress 1.7 or higher, if using BuddyPress. Removed unwanted database call on BuddyPress single activity page.
851
 
852
 
853
  == Sponsors ==
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.18
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.18 =
137
+ * Fix for template include for relative paths
138
+
139
  = 3.7.17 =
140
  * Removed unwanted database call on BuddyPress single activity page
141
 
849
 
850
  == Upgrade Notice ==
851
 
852
+ = 3.7.18 =
853
+ Requires BuddyPress 1.7 or higher, if using BuddyPress. Fix for template include for relative paths
854
 
855
 
856
  == Sponsors ==