Version Description
Requires BuddyPress 1.7 or higher, if using BuddyPress. Add backward compatibility.
=
Download this release
Release Info
Developer | rtcamp |
Plugin | rtMedia for WordPress, BuddyPress and bbPress |
Version | 4.1.1 |
Comparing to | |
See all releases |
Code changes from version 4.1 to 4.1.1
- app/main/controllers/template/rt-template-functions.php +6 -1
- index.php +1 -1
- readme.txt +6 -3
app/main/controllers/template/rt-template-functions.php
CHANGED
@@ -2896,7 +2896,12 @@ function replace_src_with_transcoded_file_url( $html, $rtmedia_media ) {
|
|
2896 |
$medias = get_post_meta( $attachment_id, '_rt_media_transcoded_files', true );
|
2897 |
if ( isset( $medias[ $media_type ] ) && is_array( $medias[ $media_type ] ) && ! empty( $medias[ $media_type ][0] ) ) {
|
2898 |
$file_url = $medias[ $media_type ][0];
|
2899 |
-
|
|
|
|
|
|
|
|
|
|
|
2900 |
if ( 0 === strpos( $file_url, $uploads['baseurl'] ) ) {
|
2901 |
$final_file_url = $file_url;
|
2902 |
} else {
|
2896 |
$medias = get_post_meta( $attachment_id, '_rt_media_transcoded_files', true );
|
2897 |
if ( isset( $medias[ $media_type ] ) && is_array( $medias[ $media_type ] ) && ! empty( $medias[ $media_type ][0] ) ) {
|
2898 |
$file_url = $medias[ $media_type ][0];
|
2899 |
+
/* for WordPress backward compatibility */
|
2900 |
+
if ( function_exists( 'wp_get_upload_dir' ) ) {
|
2901 |
+
$uploads = wp_get_upload_dir();
|
2902 |
+
} else {
|
2903 |
+
$uploads = wp_upload_dir();
|
2904 |
+
}
|
2905 |
if ( 0 === strpos( $file_url, $uploads['baseurl'] ) ) {
|
2906 |
$final_file_url = $file_url;
|
2907 |
} else {
|
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
|
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.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
|
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.6
|
9 |
-
Stable tag: 4.1
|
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,9 @@ http://www.youtube.com/watch?v=dJrykKQGDcs
|
|
135 |
|
136 |
== Changelog ==
|
137 |
|
|
|
|
|
|
|
138 |
= 4.1 [Aug 24, 2016] =
|
139 |
* Remove encoding service
|
140 |
* Introduced new [Transcoder](https://wordpress.org/plugins/transcoder/) plugin
|
@@ -1204,8 +1207,8 @@ http://www.youtube.com/watch?v=dJrykKQGDcs
|
|
1204 |
|
1205 |
== Upgrade Notice ==
|
1206 |
|
1207 |
-
= 4.1 =
|
1208 |
-
Requires BuddyPress 1.7 or higher, if using BuddyPress.
|
1209 |
|
1210 |
== Sponsors ==
|
1211 |
|
6 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
7 |
Requires at least: WordPress 3.6
|
8 |
Tested up to: 4.6
|
9 |
+
Stable tag: 4.1.1
|
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.1 [Aug 24, 2016] =
|
139 |
+
* Add backward compatibility
|
140 |
+
|
141 |
= 4.1 [Aug 24, 2016] =
|
142 |
* Remove encoding service
|
143 |
* Introduced new [Transcoder](https://wordpress.org/plugins/transcoder/) plugin
|
1207 |
|
1208 |
== Upgrade Notice ==
|
1209 |
|
1210 |
+
= 4.1.1 =
|
1211 |
+
Requires BuddyPress 1.7 or higher, if using BuddyPress. Add backward compatibility.
|
1212 |
|
1213 |
== Sponsors ==
|
1214 |
|