rtMedia for WordPress, BuddyPress and bbPress - Version 3.2.11

Version Description

  • Updated Spanish translation, bug fixes
Download this release

Release Info

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

Code changes from version 3.2.10.2 to 3.2.11

app/admin/RTMediaAdmin.php CHANGED
@@ -44,9 +44,9 @@ if ( ! class_exists ( 'RTMediaAdmin' ) ) {
44
add_action ( 'wp_dashboard_setup', array( &$this, 'add_dashboard_widgets' ), 0 );
45
add_filter("attachment_fields_to_edit", array($this,"edit_video_thumbnail"), null, 2);
46
add_filter("attachment_fields_to_save", array($this,"save_video_thumbnail"), null, 2);
47
- add_action ( 'admin_notices', array( $this, 'rtmedia_regenerate_thumbnail_notice' ) );
48
- add_action ( 'wp_ajax_rtmedia_hide_video_thumb_admin_notice', array( $this, 'rtmedia_hide_video_thumb_admin_notice' ), 1 );
49
- $obj_encoding = new RTMediaEncoding(true);
50
if ($obj_encoding->api_key){
51
add_filter ("media_row_actions", array($this,"add_reencode_link"), null, 2);
52
add_action( 'admin_head-upload.php', array( $this, 'add_bulk_actions_regenerate' ) );
@@ -54,7 +54,7 @@ if ( ! class_exists ( 'RTMediaAdmin' ) ) {
54
add_action( 'admin_action_bulk_video_regenerate_thumbnails', array( $this, 'bulk_action_handler' ) );
55
add_action( 'admin_action_-1', array( $this, 'bulk_action_handler' ) );
56
}
57
- add_action ( 'wp_ajax_rt_media_regeneration', array( $this, 'rt_media_regeneration' ), 1 );
58
59
if ( isset ( $_POST[ "rtmedia-options" ] ) ) {
60
if ( isset ( $_POST[ "rtmedia-options" ][ "general_showAdminMenu" ] ) && $_POST[ "rtmedia-options" ][ "general_showAdminMenu" ] == "1" )
@@ -73,10 +73,40 @@ if ( ! class_exists ( 'RTMediaAdmin' ) ) {
73
}
74
$this->rtmedia_settings = new RTMediaSettings();
75
$this->rtmedia_encoding = new RTMediaEncoding();
76
- if(! defined("RTMEDIA_PRO_VERSION"))
77
add_action ( 'rtmedia_before_default_admin_widgets', array( $this, 'rtmedia_advertisement' ),1);
78
}
79
80
function bp_admin_tabs() {
81
if ( current_user_can ( 'manage_options' ) ) {
82
add_action ( 'bp_admin_tabs', array( $this, 'tab' ) );
44
add_action ( 'wp_dashboard_setup', array( &$this, 'add_dashboard_widgets' ), 0 );
45
add_filter("attachment_fields_to_edit", array($this,"edit_video_thumbnail"), null, 2);
46
add_filter("attachment_fields_to_save", array($this,"save_video_thumbnail"), null, 2);
47
+ add_action ( 'admin_notices', array( $this, 'rtmedia_regenerate_thumbnail_notice' ) );
48
+ add_action ( 'wp_ajax_rtmedia_hide_video_thumb_admin_notice', array( $this, 'rtmedia_hide_video_thumb_admin_notice' ), 1 );
49
+ $obj_encoding = new RTMediaEncoding(true);
50
if ($obj_encoding->api_key){
51
add_filter ("media_row_actions", array($this,"add_reencode_link"), null, 2);
52
add_action( 'admin_head-upload.php', array( $this, 'add_bulk_actions_regenerate' ) );
54
add_action( 'admin_action_bulk_video_regenerate_thumbnails', array( $this, 'bulk_action_handler' ) );
55
add_action( 'admin_action_-1', array( $this, 'bulk_action_handler' ) );
56
}
57
+ add_action ( 'wp_ajax_rt_media_regeneration', array( $this, 'rt_media_regeneration' ), 1 );
58
59
if ( isset ( $_POST[ "rtmedia-options" ] ) ) {
60
if ( isset ( $_POST[ "rtmedia-options" ][ "general_showAdminMenu" ] ) && $_POST[ "rtmedia-options" ][ "general_showAdminMenu" ] == "1" )
73
}
74
$this->rtmedia_settings = new RTMediaSettings();
75
$this->rtmedia_encoding = new RTMediaEncoding();
76
+ if(! defined("RTMEDIA_PRO_VERSION") )
77
add_action ( 'rtmedia_before_default_admin_widgets', array( $this, 'rtmedia_advertisement' ),1);
78
+ // if( $this->check_for_addon_update_notice() ) {
79
+ // add_action ( 'admin_notices', array( $this, 'rtmedia_addon_update_notice' ) );
80
+ // }
81
}
82
83
+ // function rtmedia_addon_update_notice() {
84
+ // echo '<div class="error rtmedia-addon-upate-notice">
85
+ // <p> <b>'.__('rtMedia:').'</b> '.__('Please update all premium add-ons that you had purchased from rtCamp from your ','rtmedia').' <a href="https://rtcamp.com/my-account/" target="_blank">'.__('account',"rtmedia").'</a> </p>
86
+ // </div>';
87
+ // }
88
+
89
+ // function check_for_addon_update_notice() {
90
+ // $return_falg = false;
91
+ // if( defined( 'RTMEDIA_INSTAGRAM_PATH' ) ) {
92
+ // $plugin_info = get_plugin_data(RTMEDIA_INSTAGRAM_PATH.'index.php');
93
+ // if( isset( $plugin_info['Version'] ) && $plugin_info['Version'] < "2.1.2" ) {
94
+ // $return_falg = true;
95
+ // }
96
+ // } else if( defined( 'RTMEDIA_PHOTO_TAGGING_PATH' ) ) {
97
+ // $plugin_info = get_plugin_data(RTMEDIA_PHOTO_TAGGING_PATH.'index.php');
98
+ // if( isset( $plugin_info['Version'] ) && $plugin_info['Version'] < "2.2.1" ) {
99
+ // $return_falg = true;
100
+ // }
101
+ // } else if( defined( 'RTMEDIA_PRO_PATH' ) ) {
102
+ // $plugin_info = get_plugin_data(RTMEDIA_PRO_PATH.'index.php');
103
+ // if( isset( $plugin_info['Version'] ) && $plugin_info['Version'] < "1.8.1" ) {
104
+ // $return_falg = true;
105
+ // }
106
+ // }
107
+ // return $return_falg;
108
+ // }
109
+
110
function bp_admin_tabs() {
111
if ( current_user_can ( 'manage_options' ) ) {
112
add_action ( 'bp_admin_tabs', array( $this, 'tab' ) );
app/main/RTMedia.php CHANGED
@@ -274,7 +274,13 @@ class RTMedia
274
unset($allowed_types[$key]); // if not unset this type
275
continue;
276
}
277
-
278
// if thumbnail is not supplied, use the default thumbnail
279
if (!isset($type['thumbnail']) || empty($type['thumbnail'])) {
280
$type['thumbnail'] = $this->default_thumbnail;
@@ -393,7 +399,8 @@ class RTMedia
393
'general_perPageMedia' => (isset($bp_media_options['default_count'])) ? $bp_media_options['default_count'] : 10,
394
'general_enableMediaEndPoint' => 0,
395
'general_showAdminMenu' => (isset($bp_media_options['show_admin_menu'])) ? $bp_media_options['show_admin_menu'] : 0,
396
- 'general_videothumbs' => 2
397
);
398
399
@@ -737,8 +744,9 @@ class RTMedia
737
738
wp_enqueue_style('rtmedia-main', RTMEDIA_URL . 'app/assets/css/main.css', '', RTMEDIA_VERSION);
739
wp_enqueue_style('rtmedia-font-awesome', RTMEDIA_URL . 'app/assets/css/font-awesome.min.css', '', RTMEDIA_VERSION);
740
- wp_enqueue_script('rtmedia-foundation', RTMEDIA_URL . 'lib/foundation/foundation.min.js', array('jquery'), RTMEDIA_VERSION);
741
- wp_enqueue_script('rtmedia-foundation-reveal', RTMEDIA_URL . 'lib/foundation/foundation.reveal.js', array('jquery'), RTMEDIA_VERSION);
742
wp_enqueue_script('rtmedia-main', RTMEDIA_URL . 'app/assets/js/rtMedia.js', array('jquery', 'wp-mediaelement'), RTMEDIA_VERSION);
743
wp_enqueue_style('rtmedia-magnific', RTMEDIA_URL . 'lib/magnific/magnific.css', '', RTMEDIA_VERSION);
744
wp_enqueue_script('rtmedia-magnific', RTMEDIA_URL . 'lib/magnific/magnific.js', '', RTMEDIA_VERSION);
274
unset($allowed_types[$key]); // if not unset this type
275
continue;
276
}
277
+ $slug = strtoupper($type['name']);
278
+ if( defined("RTMEDIA_".$slug."_LABEL" ) ) {
279
+ $type['label'] = constant( "RTMEDIA_".$slug."_LABEL" );
280
+ }
281
+ if( defined( "RTMEDIA_".$slug."_PLURAL_LABEL" ) ) {
282
+ $type['plural_label'] = constant( "RTMEDIA_".$slug."_PLURAL_LABEL" );
283
+ }
284
// if thumbnail is not supplied, use the default thumbnail
285
if (!isset($type['thumbnail']) || empty($type['thumbnail'])) {
286
$type['thumbnail'] = $this->default_thumbnail;
399
'general_perPageMedia' => (isset($bp_media_options['default_count'])) ? $bp_media_options['default_count'] : 10,
400
'general_enableMediaEndPoint' => 0,
401
'general_showAdminMenu' => (isset($bp_media_options['show_admin_menu'])) ? $bp_media_options['show_admin_menu'] : 0,
402
+ 'general_videothumbs' => 2,
403
+ 'general_AllowUserData' => 1
404
);
405
406
744
745
wp_enqueue_style('rtmedia-main', RTMEDIA_URL . 'app/assets/css/main.css', '', RTMEDIA_VERSION);
746
wp_enqueue_style('rtmedia-font-awesome', RTMEDIA_URL . 'app/assets/css/font-awesome.min.css', '', RTMEDIA_VERSION);
747
+ if(! wp_script_is("rtp-foundation-js"))
748
+ wp_enqueue_script('rtp-foundation-js', RTMEDIA_URL . 'lib/foundation/foundation.min.js', array('jquery'), RTMEDIA_VERSION);
749
+ wp_enqueue_script('rtmedia-foundation-reveal', RTMEDIA_URL . 'lib/foundation/foundation.reveal.js', array('jquery','rtp-foundation-js'), RTMEDIA_VERSION);
750
wp_enqueue_script('rtmedia-main', RTMEDIA_URL . 'app/assets/js/rtMedia.js', array('jquery', 'wp-mediaelement'), RTMEDIA_VERSION);
751
wp_enqueue_style('rtmedia-magnific', RTMEDIA_URL . 'lib/magnific/magnific.css', '', RTMEDIA_VERSION);
752
wp_enqueue_script('rtmedia-magnific', RTMEDIA_URL . 'lib/magnific/magnific.js', '', RTMEDIA_VERSION);
app/main/controllers/shortcodes/RTMediaUploadShortcode.php CHANGED
@@ -48,6 +48,8 @@ class RTMediaUploadShortcode {
48
static function pre_render ( $attr ) {
49
global $post;
50
global $rtmedia_query;
51
if( !isset($attr['is_up_shortcode']) || $attr['is_up_shortcode'] !== false) {
52
$rtmedia_query->is_upload_shortcode = true;// set is_upload_shortcode in rtmedia query as true
53
} else {
48
static function pre_render ( $attr ) {
49
global $post;
50
global $rtmedia_query;
51
+ if( ! $rtmedia_query )
52
+ $rtmedia_query = new RTMediaQuery ();
53
if( !isset($attr['is_up_shortcode']) || $attr['is_up_shortcode'] !== false) {
54
$rtmedia_query->is_upload_shortcode = true;// set is_upload_shortcode in rtmedia query as true
55
} else {
app/main/controllers/template/RTMediaNav.php CHANGED
@@ -159,6 +159,8 @@ class RTMediaNav {
159
160
foreach ( $rtmedia->allowed_types as $type ) {
161
//print_r($type);
162
if ( ! $rtmedia->options[ 'allowedTypes_' . $type[ 'name' ] . '_enabled' ] )
163
continue;
164
159
160
foreach ( $rtmedia->allowed_types as $type ) {
161
//print_r($type);
162
+ if( ! isset( $rtmedia->options[ 'allowedTypes_' . $type[ 'name' ] . '_enabled' ] ) )
163
+ continue;
164
if ( ! $rtmedia->options[ 'allowedTypes_' . $type[ 'name' ] . '_enabled' ] )
165
continue;
166
app/main/controllers/template/RTMediaTemplate.php CHANGED
@@ -70,7 +70,7 @@ class RTMediaTemplate {
70
71
$this->check_return_upload ();
72
73
- if ( in_array ( $rtmedia_interaction->context->type, array( "profile", "group" ) ) ) {
74
75
76
$this->check_return_edit ();
@@ -82,8 +82,15 @@ class RTMediaTemplate {
82
$this->check_return_comments ();
83
84
$this->check_delete_comments ();
85
-
86
- return $this->get_default_template ();
87
} else if ( ! $shortcode_attr ) {
88
return $this->get_default_template ();
89
} else if ( $shortcode_attr[ 'name' ] == 'gallery' ) {
70
71
$this->check_return_upload ();
72
73
+ if ( $rtmedia_interaction && isset( $rtmedia_interaction->context ) && in_array ( $rtmedia_interaction->context->type, array( "profile", "group" ) ) ) {
74
75
76
$this->check_return_edit ();
82
$this->check_return_comments ();
83
84
$this->check_delete_comments ();
85
+ if( isset($rtmedia_query->is_gallery_shortcode) && $rtmedia_query->is_gallery_shortcode == true && isset( $shortcode_attr[ 'name' ] ) && $shortcode_attr[ 'name' ] == 'gallery' ) {
86
+ echo "<div class='rtmedia_gallery_wrapper'>";
87
+ $this->add_hidden_fields_in_gallery ();
88
+ $gallery_template = apply_filters("rtmedia-before-template",$template,$shortcode_attr);
89
+ include $this->locate_template ( $gallery_template );
90
+ echo "</div>";
91
+ } else {
92
+ return $this->get_default_template ();
93
+ }
94
} else if ( ! $shortcode_attr ) {
95
return $this->get_default_template ();
96
} else if ( $shortcode_attr[ 'name' ] == 'gallery' ) {
app/main/controllers/template/rt-template-functions.php CHANGED
@@ -227,7 +227,7 @@ function rtmedia_media ( $size_flag = true, $echo = true, $media_size = "rt_medi
227
if ( isset ( $rtmedia_media->media_type ) ) {
228
if ( $rtmedia_media->media_type == 'photo' ) {
229
$src = wp_get_attachment_image_src ( $rtmedia_media->media_id, $media_size );
230
- $html = "<img src='" . $src[ 0 ] . "' alt='' />";
231
} elseif ( $rtmedia_media->media_type == 'video' ) {
232
$size = " width=\"" . $rtmedia->options[ "defaultSizes_video_singlePlayer_width" ] . "\" height=\"" . $rtmedia->options[ "defaultSizes_video_singlePlayer_height" ] . "\" ";
233
@@ -288,12 +288,12 @@ function rtmedia_image ( $size = 'rt_media_thumbnail', $id = false ,$recho = tru
288
} else {
289
$thumbnail_id = false;
290
}
291
- if($media_object->media_type == 'music' && $thumbnail_id == "") {
292
- $thumbnail_id = get_music_cover_art(get_attached_file($media_object->media_id),$media_object->id);
293
- }
294
- if($media_object->media_type == 'music' && $thumbnail_id == "-1") {
295
- $thumbnail_id = false;
296
- }
297
298
} else {
299
$src = false;
@@ -325,6 +325,38 @@ function rtmedia_image ( $size = 'rt_media_thumbnail', $id = false ,$recho = tru
325
}
326
}
327
328
function rtmedia_album_image ( $size = 'thumbnail', $id = false) {
329
global $rtmedia_media;
330
$model = new RTMediaModel();
@@ -584,12 +616,12 @@ function rtmedia_pagination_prev_link () {
584
$author_name = get_query_var ( 'author_name' );
585
$link = '';
586
587
- if ( $rtmedia_interaction->context->type == "profile" ) {
588
if ( function_exists ( "bp_core_get_user_domain" ) )
589
$link .= trailingslashit ( bp_core_get_user_domain ( $rtmedia_media->media_author ) );
590
else
591
$link = $site_url . 'author/' . $author_name . '/';
592
- } else if ( $rtmedia_interaction->context->type == 'group' ) {
593
if ( function_exists ( "bp_get_current_group_slug" ) )
594
$link .= $site_url . bp_get_groups_root_slug () . '/' . bp_get_current_group_slug () . '/';
595
} else {
@@ -617,12 +649,12 @@ function rtmedia_pagination_next_link () {
617
$author_name = get_query_var ( 'author_name' );
618
$link = '';
619
620
- if ( $rtmedia_interaction->context->type == "profile" ) {
621
if ( function_exists ( "bp_core_get_user_domain" ) )
622
$link .= trailingslashit ( bp_core_get_user_domain ( $rtmedia_media->media_author ) );
623
else
624
$link .= $site_url . 'author/' . $author_name . '/';
625
- } else if ( $rtmedia_interaction->context->type == 'group' ) {
626
if ( function_exists ( "bp_get_current_group_slug" ) )
627
$link .= $site_url . bp_get_groups_root_slug () . '/' . bp_get_current_group_slug () . '/';
628
} else {
227
if ( isset ( $rtmedia_media->media_type ) ) {
228
if ( $rtmedia_media->media_type == 'photo' ) {
229
$src = wp_get_attachment_image_src ( $rtmedia_media->media_id, $media_size );
230
+ $html = "<img src='" . $src[ 0 ] . "' alt='".$rtmedia_media->post_name."' />";
231
} elseif ( $rtmedia_media->media_type == 'video' ) {
232
$size = " width=\"" . $rtmedia->options[ "defaultSizes_video_singlePlayer_width" ] . "\" height=\"" . $rtmedia->options[ "defaultSizes_video_singlePlayer_height" ] . "\" ";
233
288
} else {
289
$thumbnail_id = false;
290
}
291
+ if($media_object->media_type == 'music' && $thumbnail_id == "") {
292
+ $thumbnail_id = get_music_cover_art(get_attached_file($media_object->media_id),$media_object->id);
293
+ }
294
+ if($media_object->media_type == 'music' && $thumbnail_id == "-1") {
295
+ $thumbnail_id = false;
296
+ }
297
298
} else {
299
$src = false;
325
}
326
}
327
328
+ function rtmedia_image_alt($id = false, $echo = true) {
329
+ global $rtmedia_media;
330
+ $model = new RTMediaModel();
331
+ if ( $id ) {
332
+ $model = new RTMediaModel();
333
+ $media = $model->get_media ( array( 'id' => $id ), false, false );
334
+ if ( isset ( $media[ 0 ] ) )
335
+ $media_object = $media[ 0 ];
336
+ else
337
+ return false;
338
+ $post_object = get_post($media_object->media_id);
339
+ if( isset($post_object->post_name) ) {
340
+ $img_alt = $post_object->post_name;
341
+ } else {
342
+ $img_alt = " ";
343
+ }
344
+ } else {
345
+ global $rtmedia_media;
346
+ $media_object = $rtmedia_media;
347
+ if( isset($media_object->post_name) ) {
348
+ $img_alt = $media_object->post_name;
349
+ } else {
350
+ $img_alt = " ";
351
+ }
352
+ }
353
+ if( $echo ) {
354
+ echo $img_alt;
355
+ } else {
356
+ return $img_alt;
357
+ }
358
+ }
359
+
360
function rtmedia_album_image ( $size = 'thumbnail', $id = false) {
361
global $rtmedia_media;
362
$model = new RTMediaModel();
616
$author_name = get_query_var ( 'author_name' );
617
$link = '';
618
619
+ if ( $rtmedia_interaction && isset( $rtmedia_interaction->context ) && $rtmedia_interaction->context->type == "profile" ) {
620
if ( function_exists ( "bp_core_get_user_domain" ) )
621
$link .= trailingslashit ( bp_core_get_user_domain ( $rtmedia_media->media_author ) );
622
else
623
$link = $site_url . 'author/' . $author_name . '/';
624
+ } else if ( $rtmedia_interaction && isset( $rtmedia_interaction->context ) && $rtmedia_interaction->context->type == 'group' ) {
625
if ( function_exists ( "bp_get_current_group_slug" ) )
626
$link .= $site_url . bp_get_groups_root_slug () . '/' . bp_get_current_group_slug () . '/';
627
} else {
649
$author_name = get_query_var ( 'author_name' );
650
$link = '';
651
652
+ if ( $rtmedia_interaction && isset( $rtmedia_interaction->context ) && $rtmedia_interaction->context->type == "profile" ) {
653
if ( function_exists ( "bp_core_get_user_domain" ) )
654
$link .= trailingslashit ( bp_core_get_user_domain ( $rtmedia_media->media_author ) );
655
else
656
$link .= $site_url . 'author/' . $author_name . '/';
657
+ } else if ( $rtmedia_interaction && isset( $rtmedia_interaction->context ) && $rtmedia_interaction->context->type == 'group' ) {
658
if ( function_exists ( "bp_get_current_group_slug" ) )
659
$link .= $site_url . bp_get_groups_root_slug () . '/' . bp_get_current_group_slug () . '/';
660
} else {
app/main/controllers/upload/RTMediaUploadView.php CHANGED
@@ -42,9 +42,9 @@ class RTMediaUploadView {
42
43
global $rtmedia_query;
44
$album = '';
45
- if ( $rtmedia_query && is_rtmedia_album () && isset( $rtmedia_query->media_query[ 'album_id' ] ) ) {
46
$album = '<input class="rtmedia-current-album" type="hidden" name="rtmedia-current-album" value="' . $rtmedia_query->media_query[ 'album_id' ] . '" />';
47
- } elseif ( is_rtmedia_album_enable () && $rtmedia_query && is_rtmedia_gallery () ) {
48
49
if ( isset( $rtmedia_query->query[ 'context' ] ) && $rtmedia_query->query[ 'context' ] == 'profile' ) {
50
$album = '<label>' . __('Album','rtmedia') . ': </label><select name="album" class="rtmedia-user-album-list">' . rtmedia_user_album_list () . '</select>';
42
43
global $rtmedia_query;
44
$album = '';
45
+ if ( $rtmedia_query && isset( $rtmedia_query->media_query ) && isset( $rtmedia_query->media_query[ 'album_id' ] ) && is_rtmedia_album () ) {
46
$album = '<input class="rtmedia-current-album" type="hidden" name="rtmedia-current-album" value="' . $rtmedia_query->media_query[ 'album_id' ] . '" />';
47
+ } elseif ( is_rtmedia_album_enable () && $rtmedia_query && isset( $rtmedia_query->query ) && isset( $rtmedia_query->query[ 'media_type' ] ) && is_rtmedia_gallery () ) {
48
49
if ( isset( $rtmedia_query->query[ 'context' ] ) && $rtmedia_query->query[ 'context' ] == 'profile' ) {
50
$album = '<label>' . __('Album','rtmedia') . ': </label><select name="album" class="rtmedia-user-album-list">' . rtmedia_user_album_list () . '</select>';
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.2.10.2
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.2.11
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.2.10.2
10
11
Add albums, photo, audio/video encoding, privacy, sharing, front-end uploads & more. All this works mobile/tablets devices.
12
@@ -131,6 +131,9 @@ http://www.youtube.com/watch?v=dJrykKQGDcs
131
132
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.
133
134
= 3.2.10.2 =
135
* Remove Unused file, remove wp_load and add admin_ajax
136
@@ -620,8 +623,8 @@ Please visit [rtMedia's Roadmap page](http://rtcamp.com/rtmedia/roadmap/?utm_sou
620
621
== Upgrade Notice ==
622
623
- = 3.2.10.2 =
624
- Requires BuddyPress 1.7 or higher, if using BuddyPress.Remove Unused file, remove wp_load and add admin_ajax
625
626
== Sponsors ==
627
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.2.11
10
11
Add albums, photo, audio/video encoding, privacy, sharing, front-end uploads & more. All this works mobile/tablets devices.
12
131
132
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.
133
134
+ = 3.2.11 =
135
+ * Updated Spanish translation, bug fixes
136
+
137
= 3.2.10.2 =
138
* Remove Unused file, remove wp_load and add admin_ajax
139
623
624
== Upgrade Notice ==
625
626
+ = 3.2.11 =
627
+ Requires BuddyPress 1.7 or higher, if using BuddyPress.Updated Spainsh translation,bug fixes
628
629
== Sponsors ==
630
templates/media/media-gallery-item.php CHANGED
@@ -18,7 +18,7 @@ if ( isset( $_POST[ 'is_edit_allowed' ] ) )
18
<a href ="<?php rtmedia_permalink(); ?>">
19
<div class="rtmedia-item-thumbnail">
20
21
- <img src="<?php rtmedia_image("rt_media_thumbnail"); ?>" >
22
23
</div>
24
18
<a href ="<?php rtmedia_permalink(); ?>">
19
<div class="rtmedia-item-thumbnail">
20
21
+ <img src="<?php rtmedia_image("rt_media_thumbnail"); ?>" alt="<?php rtmedia_image_alt(); ?>" >
22
23
</div>
24