Version Description
- Fix media meta table name in $wpdb
- Bug fixes
Download this release
Release Info
Developer | rtcamp |
Plugin | ![]() |
Version | 3.7.37 |
Comparing to | |
See all releases |
Code changes from version 3.7.36 to 3.7.37
- app/helper/RTMediaSupport.php +2 -0
- app/main/RTMedia.php +2 -2
- app/main/controllers/media/RTMediaMedia.php +3 -1
- index.php +1 -1
- readme.txt +7 -3
app/helper/RTMediaSupport.php
CHANGED
@@ -447,10 +447,12 @@ if ( ! class_exists( 'RTMediaSupport' ) ){
|
|
447 |
<li>
|
448 |
<label class="bp-media-label" for="name"><?php _e( 'Name', 'rtmedia' ); ?> :</label>
|
449 |
<input class="bp-media-input" id="name" type="text" name="name" value="<?php echo ( isset( $_REQUEST['name'] ) ) ? esc_attr( stripslashes( trim( $_REQUEST['name'] ) ) ) : $current_user->display_name; ?>" required/>
|
|
|
450 |
</li>
|
451 |
<li>
|
452 |
<label class="bp-media-label" for="email"><?php _e( 'Email', 'rtmedia' ); ?> :</label>
|
453 |
<input id="email" class="bp-media-input" type="text" name="email" value="<?php echo ( isset( $_REQUEST['email'] ) ) ? esc_attr( stripslashes( trim( $_REQUEST['email'] ) ) ) : get_option( 'admin_email' ); ?>" required/>
|
|
|
454 |
</li>
|
455 |
<li>
|
456 |
<label class="bp-media-label" for="website"><?php _e( 'Website', 'rtmedia' ); ?> :</label>
|
447 |
<li>
|
448 |
<label class="bp-media-label" for="name"><?php _e( 'Name', 'rtmedia' ); ?> :</label>
|
449 |
<input class="bp-media-input" id="name" type="text" name="name" value="<?php echo ( isset( $_REQUEST['name'] ) ) ? esc_attr( stripslashes( trim( $_REQUEST['name'] ) ) ) : $current_user->display_name; ?>" required/>
|
450 |
+
<i class="dashicons dashicons-info" title="Use actual user name (which used during purchased)."></i>
|
451 |
</li>
|
452 |
<li>
|
453 |
<label class="bp-media-label" for="email"><?php _e( 'Email', 'rtmedia' ); ?> :</label>
|
454 |
<input id="email" class="bp-media-input" type="text" name="email" value="<?php echo ( isset( $_REQUEST['email'] ) ) ? esc_attr( stripslashes( trim( $_REQUEST['email'] ) ) ) : get_option( 'admin_email' ); ?>" required/>
|
455 |
+
<i class="dashicons dashicons-info" title="Use email-id which used during purchased."></i>
|
456 |
</li>
|
457 |
<li>
|
458 |
<label class="bp-media-label" for="website"><?php _e( 'Website', 'rtmedia' ); ?> :</label>
|
app/main/RTMedia.php
CHANGED
@@ -760,8 +760,8 @@ class RTMedia
|
|
760 |
|
761 |
function set_rtmedia_meta_wpdbfix() {
|
762 |
global $wpdb;
|
763 |
-
$
|
764 |
-
$wpdb->
|
765 |
}
|
766 |
|
767 |
function redirect_on_change_slug() {
|
760 |
|
761 |
function set_rtmedia_meta_wpdbfix() {
|
762 |
global $wpdb;
|
763 |
+
$media_meta = new RTMediaMeta();
|
764 |
+
$wpdb->mediameta = $media_meta->model->table_name;
|
765 |
}
|
766 |
|
767 |
function redirect_on_change_slug() {
|
app/main/controllers/media/RTMediaMedia.php
CHANGED
@@ -318,7 +318,9 @@ class RTMediaMedia {
|
|
318 |
global $wpdb, $bp;
|
319 |
$wpdb->update( $bp->activity->table_name, array( "type" => "rtmedia_update", "content" => $objActivity->create_activity_html() ), array( "id" => $media[ 0 ]->activity_id ) );
|
320 |
} else {
|
321 |
-
|
|
|
|
|
322 |
}
|
323 |
}
|
324 |
}
|
318 |
global $wpdb, $bp;
|
319 |
$wpdb->update( $bp->activity->table_name, array( "type" => "rtmedia_update", "content" => $objActivity->create_activity_html() ), array( "id" => $media[ 0 ]->activity_id ) );
|
320 |
} else {
|
321 |
+
if( isset( $media[ 0 ] ) && isset( $media[ 0 ]->activity_id ) ) {
|
322 |
+
bp_activity_delete_by_activity_id( $media[ 0 ]->activity_id );
|
323 |
+
}
|
324 |
}
|
325 |
}
|
326 |
}
|
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.37
|
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,10 @@ 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.36 =
|
132 |
* Fix Media Url upload issue
|
133 |
* Fix delete attachment issue while reassigning user
|
@@ -924,8 +928,8 @@ Please visit [rtMedia's Roadmap page](http://rtcamp.com/rtmedia/roadmap/?utm_sou
|
|
924 |
|
925 |
== Upgrade Notice ==
|
926 |
|
927 |
-
= 3.7.
|
928 |
-
Requires BuddyPress 1.7 or higher, if using BuddyPress. Fix
|
929 |
|
930 |
== Sponsors ==
|
931 |
|
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.37
|
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.37 =
|
132 |
+
* Fix media meta table name in $wpdb
|
133 |
+
* Bug fixes
|
134 |
+
|
135 |
= 3.7.36 =
|
136 |
* Fix Media Url upload issue
|
137 |
* Fix delete attachment issue while reassigning user
|
928 |
|
929 |
== Upgrade Notice ==
|
930 |
|
931 |
+
= 3.7.37 =
|
932 |
+
Requires BuddyPress 1.7 or higher, if using BuddyPress. Fix media meta table name in $wpdb, bug fixes.
|
933 |
|
934 |
== Sponsors ==
|
935 |
|