Version Description
- Fix JSON API parameters bug.
Download this release
Release Info
Developer | rtcamp |
Plugin | rtMedia for WordPress, BuddyPress and bbPress |
Version | 3.7.35 |
Comparing to | |
See all releases |
Code changes from version 3.7.34 to 3.7.35
- app/main/controllers/api/RTMediaJsonApi.php +4 -4
- index.php +1 -1
- readme.txt +6 -3
app/main/controllers/api/RTMediaJsonApi.php
CHANGED
@@ -977,12 +977,12 @@ class RTMediaJsonApi{
|
|
977 |
}
|
978 |
$uploaded['rtmedia_upload_nonce'] = wp_create_nonce ( 'rtmedia_upload_nonce' );
|
979 |
$uploaded['rtmedia_simple_file_upload'] = 1;
|
980 |
-
|
981 |
-
|
982 |
$uploaded['mode'] = 'file_upload';
|
983 |
$uploaded['media_author'] = $this->user_id;
|
984 |
-
$uploaded['album_id'] = $
|
985 |
-
$uploaded['privacy'] =
|
986 |
$uploaded['title'] = $title;
|
987 |
$uploaded['description'] = $description;
|
988 |
$uploaded['taxonomy'] = array();
|
977 |
}
|
978 |
$uploaded['rtmedia_upload_nonce'] = wp_create_nonce ( 'rtmedia_upload_nonce' );
|
979 |
$uploaded['rtmedia_simple_file_upload'] = 1;
|
980 |
+
$uploaded['context'] = !empty($_POST['context']) ? $_POST['context'] : 'profile';
|
981 |
+
$uploaded['context_id'] = !empty($_POST['context_id']) ? $_POST['context_id'] : $this->user_id;
|
982 |
$uploaded['mode'] = 'file_upload';
|
983 |
$uploaded['media_author'] = $this->user_id;
|
984 |
+
$uploaded['album_id'] = !empty($_POST['album_id']) ? $_POST['album_id'] : RTMediaAlbum::get_default();
|
985 |
+
$uploaded['privacy'] = !empty($_POST['privacy']) ? $_POST['privacy'] : get_rtmedia_default_privacy();
|
986 |
$uploaded['title'] = $title;
|
987 |
$uploaded['description'] = $description;
|
988 |
$uploaded['taxonomy'] = array();
|
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.
|
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.35
|
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.1 + BuddyPress 2.2.0
|
9 |
-
Stable tag: 3.7.
|
10 |
|
11 |
Add albums, photo, audio/video encoding, privacy, sharing, front-end uploads & more. All this works on mobile/tablets devices.
|
12 |
|
@@ -128,6 +128,9 @@ http://www.youtube.com/watch?v=dJrykKQGDcs
|
|
128 |
|
129 |
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.
|
130 |
|
|
|
|
|
|
|
131 |
= 3.7.34 =
|
132 |
* Added tabs support in rtMedia
|
133 |
* Fix activity upgrade
|
@@ -916,8 +919,8 @@ Please visit [rtMedia's Roadmap page](http://rtcamp.com/rtmedia/roadmap/?utm_sou
|
|
916 |
|
917 |
== Upgrade Notice ==
|
918 |
|
919 |
-
= 3.7.
|
920 |
-
Requires BuddyPress 1.7 or higher, if using BuddyPress.
|
921 |
|
922 |
== Sponsors ==
|
923 |
|
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.1 + BuddyPress 2.2.0
|
9 |
+
Stable tag: 3.7.35
|
10 |
|
11 |
Add albums, photo, audio/video encoding, privacy, sharing, front-end uploads & more. All this works on mobile/tablets devices.
|
12 |
|
128 |
|
129 |
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.
|
130 |
|
131 |
+
= 3.7.35 =
|
132 |
+
* Fix JSON API parameters bug.
|
133 |
+
|
134 |
= 3.7.34 =
|
135 |
* Added tabs support in rtMedia
|
136 |
* Fix activity upgrade
|
919 |
|
920 |
== Upgrade Notice ==
|
921 |
|
922 |
+
= 3.7.35 =
|
923 |
+
Requires BuddyPress 1.7 or higher, if using BuddyPress. Fix JSON API parameters.
|
924 |
|
925 |
== Sponsors ==
|
926 |
|