Version Description
[June 30, 2017] =
-
FIXED
- Broken thumbnails in sidebar widget gallery and sorting gallery shortcode
Download this release
Release Info
Developer | rtcamp |
Plugin | rtMedia for WordPress, BuddyPress and bbPress |
Version | 4.4.2 |
Comparing to | |
See all releases |
Code changes from version 4.4.1 to 4.4.2
- app/main/controllers/template/rtmedia-functions.php +10 -13
- index.php +2 -2
- languages/buddypress-media.po +35 -35
- readme.txt +8 -1
app/main/controllers/template/rtmedia-functions.php
CHANGED
@@ -596,7 +596,6 @@ function rtmedia_image( $size = 'rt_media_thumbnail', $id = false, $recho = true
|
|
596 |
|
597 |
global $rtmedia_backbone;
|
598 |
global $rtmedia;
|
599 |
-
global $rtmedia_query;
|
600 |
|
601 |
if ( $rtmedia_backbone['backbone'] ) {
|
602 |
echo '<%= guid %>';
|
@@ -610,18 +609,16 @@ function rtmedia_image( $size = 'rt_media_thumbnail', $id = false, $recho = true
|
|
610 |
'id' => $id,
|
611 |
), false, false );
|
612 |
|
613 |
-
|
614 |
-
|
615 |
-
|
616 |
-
|
617 |
-
|
618 |
-
|
619 |
-
|
620 |
-
|
621 |
-
|
622 |
-
|
623 |
-
return false;
|
624 |
-
}
|
625 |
}
|
626 |
} else {
|
627 |
global $rtmedia_media;
|
596 |
|
597 |
global $rtmedia_backbone;
|
598 |
global $rtmedia;
|
|
|
599 |
|
600 |
if ( $rtmedia_backbone['backbone'] ) {
|
601 |
echo '<%= guid %>';
|
609 |
'id' => $id,
|
610 |
), false, false );
|
611 |
|
612 |
+
/**
|
613 |
+
* Added because the function was generating duplicate thumbnails for
|
614 |
+
* search result in particular album.
|
615 |
+
*/
|
616 |
+
if ( isset( $media[ $key ] ) ) {
|
617 |
+
$media_object = $media[ $key ];
|
618 |
+
} elseif ( isset( $media[0] ) ) {
|
619 |
+
$media_object = $media[0];
|
620 |
+
} else {
|
621 |
+
return false;
|
|
|
|
|
622 |
}
|
623 |
} else {
|
624 |
global $rtmedia_media;
|
index.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: rtMedia for WordPress, BuddyPress and bbPress
|
4 |
Plugin URI: https://rtmedia.io/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media
|
5 |
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!
|
6 |
-
Version: 4.4.
|
7 |
Author: rtCamp
|
8 |
Text Domain: buddypress-media
|
9 |
Author URI: http://rtcamp.com/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media
|
@@ -22,7 +22,7 @@ if ( ! defined( 'RTMEDIA_VERSION' ) ) {
|
|
22 |
* The version of the plugin
|
23 |
*
|
24 |
*/
|
25 |
-
define( 'RTMEDIA_VERSION', '4.4.
|
26 |
}
|
27 |
|
28 |
if ( ! defined( 'RTMEDIA_PATH' ) ) {
|
3 |
Plugin Name: rtMedia for WordPress, BuddyPress and bbPress
|
4 |
Plugin URI: https://rtmedia.io/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media
|
5 |
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!
|
6 |
+
Version: 4.4.2
|
7 |
Author: rtCamp
|
8 |
Text Domain: buddypress-media
|
9 |
Author URI: http://rtcamp.com/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media
|
22 |
* The version of the plugin
|
23 |
*
|
24 |
*/
|
25 |
+
define( 'RTMEDIA_VERSION', '4.4.2' );
|
26 |
}
|
27 |
|
28 |
if ( ! defined( 'RTMEDIA_PATH' ) ) {
|
languages/buddypress-media.po
CHANGED
@@ -2,9 +2,9 @@
|
|
2 |
# This file is distributed under the same license as the rtMedia for WordPress, BuddyPress and bbPress package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: rtMedia for WordPress, BuddyPress and bbPress 4.4.
|
6 |
"Report-Msgid-Bugs-To: http://community.rtcamp.com/c/rtmedia/\n"
|
7 |
-
"POT-Creation-Date: 2017-06-
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -2279,16 +2279,16 @@ msgstr ""
|
|
2279 |
#: app/main/RTMedia.php:1031
|
2280 |
#: app/main/controllers/media/RTMediaGalleryItemAction.php:63
|
2281 |
#: app/main/controllers/media/RTMediaGalleryItemAction.php:80
|
2282 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
2283 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
2284 |
msgid "Edit"
|
2285 |
msgstr ""
|
2286 |
|
2287 |
#: app/main/RTMedia.php:1032
|
2288 |
#: app/main/controllers/media/RTMediaGalleryItemAction.php:67
|
2289 |
#: app/main/controllers/media/RTMediaGalleryItemAction.php:80
|
2290 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
2291 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
2292 |
#: templates/media/album-single-edit.php:78
|
2293 |
msgid "Delete"
|
2294 |
msgstr ""
|
@@ -2380,7 +2380,7 @@ msgstr ""
|
|
2380 |
#: app/main/controllers/activity/RTMediaBuddyPressActivity.php:336
|
2381 |
#: app/main/controllers/media/RTMediaComment.php:172
|
2382 |
#: app/main/controllers/shortcodes/RTMediaUploadShortcode.php:100
|
2383 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
2384 |
msgid "You are not allowed to upload/attach media."
|
2385 |
msgstr ""
|
2386 |
|
@@ -2966,7 +2966,7 @@ msgid "rtMedia Updates"
|
|
2966 |
msgstr ""
|
2967 |
|
2968 |
#: app/main/controllers/template/rtmedia-ajax-actions.php:88
|
2969 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
2970 |
msgid "Comment"
|
2971 |
msgstr ""
|
2972 |
|
@@ -2982,105 +2982,105 @@ msgstr ""
|
|
2982 |
msgid "Delete Album"
|
2983 |
msgstr ""
|
2984 |
|
2985 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
2986 |
msgid "There are no comments on this media yet."
|
2987 |
msgstr ""
|
2988 |
|
2989 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
2990 |
msgid "Show all %s comments"
|
2991 |
msgstr ""
|
2992 |
|
2993 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
2994 |
msgid "Delete Comment"
|
2995 |
msgstr ""
|
2996 |
|
2997 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
2998 |
msgid "Go to page no : "
|
2999 |
msgstr ""
|
3000 |
|
3001 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
3002 |
msgid "Go"
|
3003 |
msgstr ""
|
3004 |
|
3005 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
3006 |
msgid "Type Comment..."
|
3007 |
msgstr ""
|
3008 |
|
3009 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
3010 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
3011 |
msgid "Delete Media"
|
3012 |
msgstr ""
|
3013 |
|
3014 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
3015 |
msgid "Profile Albums"
|
3016 |
msgstr ""
|
3017 |
|
3018 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
3019 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
3020 |
msgid "Group Albums"
|
3021 |
msgstr ""
|
3022 |
|
3023 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
3024 |
msgid "Privacy : "
|
3025 |
msgstr ""
|
3026 |
|
3027 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
3028 |
msgid "You like this"
|
3029 |
msgstr ""
|
3030 |
|
3031 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
3032 |
msgid "You and "
|
3033 |
msgstr ""
|
3034 |
|
3035 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
3036 |
msgid " person likes this"
|
3037 |
msgid_plural " people like this"
|
3038 |
msgstr[0] ""
|
3039 |
msgstr[1] ""
|
3040 |
|
3041 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
3042 |
msgid "Public"
|
3043 |
msgstr ""
|
3044 |
|
3045 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
3046 |
msgid "All members"
|
3047 |
msgstr ""
|
3048 |
|
3049 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
3050 |
msgid "Your friends"
|
3051 |
msgstr ""
|
3052 |
|
3053 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
3054 |
msgid "Only you"
|
3055 |
msgstr ""
|
3056 |
|
3057 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
3058 |
msgid "Blocked temporarily"
|
3059 |
msgstr ""
|
3060 |
|
3061 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
3062 |
msgid "%s ago "
|
3063 |
msgstr ""
|
3064 |
|
3065 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
3066 |
msgid "1 second"
|
3067 |
msgid_plural "%s seconds"
|
3068 |
msgstr[0] ""
|
3069 |
msgstr[1] ""
|
3070 |
|
3071 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
3072 |
msgid "1 minute"
|
3073 |
msgid_plural "%s minutes"
|
3074 |
msgstr[0] ""
|
3075 |
msgstr[1] ""
|
3076 |
|
3077 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
3078 |
msgid "1 hour"
|
3079 |
msgid_plural "%s hours"
|
3080 |
msgstr[0] ""
|
3081 |
msgstr[1] ""
|
3082 |
|
3083 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
3084 |
#. translators: date format, see http:php.net/date
|
3085 |
msgid "View Conversation"
|
3086 |
msgstr ""
|
@@ -3171,7 +3171,7 @@ msgstr ""
|
|
3171 |
|
3172 |
#: templates/media/album-gallery.php:75
|
3173 |
#: templates/media/media-single-edit.php:63
|
3174 |
-
#: templates/media/media-single.php:
|
3175 |
msgid "Sorry !! There's no media found for the request !!"
|
3176 |
msgstr ""
|
3177 |
|
@@ -3242,7 +3242,7 @@ msgstr ""
|
|
3242 |
msgid "Sorry !! You do not have rights to edit this media"
|
3243 |
msgstr ""
|
3244 |
|
3245 |
-
#: templates/media/media-single.php:
|
3246 |
msgid "under"
|
3247 |
msgstr ""
|
3248 |
|
2 |
# This file is distributed under the same license as the rtMedia for WordPress, BuddyPress and bbPress package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: rtMedia for WordPress, BuddyPress and bbPress 4.4.2\n"
|
6 |
"Report-Msgid-Bugs-To: http://community.rtcamp.com/c/rtmedia/\n"
|
7 |
+
"POT-Creation-Date: 2017-06-30 10:55:41+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
2279 |
#: app/main/RTMedia.php:1031
|
2280 |
#: app/main/controllers/media/RTMediaGalleryItemAction.php:63
|
2281 |
#: app/main/controllers/media/RTMediaGalleryItemAction.php:80
|
2282 |
+
#: app/main/controllers/template/rtmedia-functions.php:1153
|
2283 |
+
#: app/main/controllers/template/rtmedia-functions.php:1172
|
2284 |
msgid "Edit"
|
2285 |
msgstr ""
|
2286 |
|
2287 |
#: app/main/RTMedia.php:1032
|
2288 |
#: app/main/controllers/media/RTMediaGalleryItemAction.php:67
|
2289 |
#: app/main/controllers/media/RTMediaGalleryItemAction.php:80
|
2290 |
+
#: app/main/controllers/template/rtmedia-functions.php:2063
|
2291 |
+
#: app/main/controllers/template/rtmedia-functions.php:2072
|
2292 |
#: templates/media/album-single-edit.php:78
|
2293 |
msgid "Delete"
|
2294 |
msgstr ""
|
2380 |
#: app/main/controllers/activity/RTMediaBuddyPressActivity.php:336
|
2381 |
#: app/main/controllers/media/RTMediaComment.php:172
|
2382 |
#: app/main/controllers/shortcodes/RTMediaUploadShortcode.php:100
|
2383 |
+
#: app/main/controllers/template/rtmedia-functions.php:2102
|
2384 |
msgid "You are not allowed to upload/attach media."
|
2385 |
msgstr ""
|
2386 |
|
2966 |
msgstr ""
|
2967 |
|
2968 |
#: app/main/controllers/template/rtmedia-ajax-actions.php:88
|
2969 |
+
#: app/main/controllers/template/rtmedia-functions.php:2002
|
2970 |
msgid "Comment"
|
2971 |
msgstr ""
|
2972 |
|
2982 |
msgid "Delete Album"
|
2983 |
msgstr ""
|
2984 |
|
2985 |
+
#: app/main/controllers/template/rtmedia-functions.php:1235
|
2986 |
msgid "There are no comments on this media yet."
|
2987 |
msgstr ""
|
2988 |
|
2989 |
+
#: app/main/controllers/template/rtmedia-functions.php:1267
|
2990 |
msgid "Show all %s comments"
|
2991 |
msgstr ""
|
2992 |
|
2993 |
+
#: app/main/controllers/template/rtmedia-functions.php:1300
|
2994 |
msgid "Delete Comment"
|
2995 |
msgstr ""
|
2996 |
|
2997 |
+
#: app/main/controllers/template/rtmedia-functions.php:1634
|
2998 |
msgid "Go to page no : "
|
2999 |
msgstr ""
|
3000 |
|
3001 |
+
#: app/main/controllers/template/rtmedia-functions.php:1639
|
3002 |
msgid "Go"
|
3003 |
msgstr ""
|
3004 |
|
3005 |
+
#: app/main/controllers/template/rtmedia-functions.php:2000
|
3006 |
msgid "Type Comment..."
|
3007 |
msgstr ""
|
3008 |
|
3009 |
+
#: app/main/controllers/template/rtmedia-functions.php:2063
|
3010 |
+
#: app/main/controllers/template/rtmedia-functions.php:2072
|
3011 |
msgid "Delete Media"
|
3012 |
msgstr ""
|
3013 |
|
3014 |
+
#: app/main/controllers/template/rtmedia-functions.php:2320
|
3015 |
msgid "Profile Albums"
|
3016 |
msgstr ""
|
3017 |
|
3018 |
+
#: app/main/controllers/template/rtmedia-functions.php:2324
|
3019 |
+
#: app/main/controllers/template/rtmedia-functions.php:2369
|
3020 |
msgid "Group Albums"
|
3021 |
msgstr ""
|
3022 |
|
3023 |
+
#: app/main/controllers/template/rtmedia-functions.php:2545
|
3024 |
msgid "Privacy : "
|
3025 |
msgstr ""
|
3026 |
|
3027 |
+
#: app/main/controllers/template/rtmedia-functions.php:2896
|
3028 |
msgid "You like this"
|
3029 |
msgstr ""
|
3030 |
|
3031 |
+
#: app/main/controllers/template/rtmedia-functions.php:2906
|
3032 |
msgid "You and "
|
3033 |
msgstr ""
|
3034 |
|
3035 |
+
#: app/main/controllers/template/rtmedia-functions.php:2925
|
3036 |
msgid " person likes this"
|
3037 |
msgid_plural " people like this"
|
3038 |
msgstr[0] ""
|
3039 |
msgstr[1] ""
|
3040 |
|
3041 |
+
#: app/main/controllers/template/rtmedia-functions.php:3030
|
3042 |
msgid "Public"
|
3043 |
msgstr ""
|
3044 |
|
3045 |
+
#: app/main/controllers/template/rtmedia-functions.php:3035
|
3046 |
msgid "All members"
|
3047 |
msgstr ""
|
3048 |
|
3049 |
+
#: app/main/controllers/template/rtmedia-functions.php:3040
|
3050 |
msgid "Your friends"
|
3051 |
msgstr ""
|
3052 |
|
3053 |
+
#: app/main/controllers/template/rtmedia-functions.php:3045
|
3054 |
msgid "Only you"
|
3055 |
msgstr ""
|
3056 |
|
3057 |
+
#: app/main/controllers/template/rtmedia-functions.php:3050
|
3058 |
msgid "Blocked temporarily"
|
3059 |
msgstr ""
|
3060 |
|
3061 |
+
#: app/main/controllers/template/rtmedia-functions.php:3103
|
3062 |
msgid "%s ago "
|
3063 |
msgstr ""
|
3064 |
|
3065 |
+
#: app/main/controllers/template/rtmedia-functions.php:3117
|
3066 |
msgid "1 second"
|
3067 |
msgid_plural "%s seconds"
|
3068 |
msgstr[0] ""
|
3069 |
msgstr[1] ""
|
3070 |
|
3071 |
+
#: app/main/controllers/template/rtmedia-functions.php:3121
|
3072 |
msgid "1 minute"
|
3073 |
msgid_plural "%s minutes"
|
3074 |
msgstr[0] ""
|
3075 |
msgstr[1] ""
|
3076 |
|
3077 |
+
#: app/main/controllers/template/rtmedia-functions.php:3125
|
3078 |
msgid "1 hour"
|
3079 |
msgid_plural "%s hours"
|
3080 |
msgstr[0] ""
|
3081 |
msgstr[1] ""
|
3082 |
|
3083 |
+
#: app/main/controllers/template/rtmedia-functions.php:3725
|
3084 |
#. translators: date format, see http:php.net/date
|
3085 |
msgid "View Conversation"
|
3086 |
msgstr ""
|
3171 |
|
3172 |
#: templates/media/album-gallery.php:75
|
3173 |
#: templates/media/media-single-edit.php:63
|
3174 |
+
#: templates/media/media-single.php:190
|
3175 |
msgid "Sorry !! There's no media found for the request !!"
|
3176 |
msgstr ""
|
3177 |
|
3242 |
msgid "Sorry !! You do not have rights to edit this media"
|
3243 |
msgstr ""
|
3244 |
|
3245 |
+
#: templates/media/media-single.php:62
|
3246 |
msgid "under"
|
3247 |
msgstr ""
|
3248 |
|
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 4.1
|
8 |
Tested up to: 4.8
|
9 |
-
Stable tag: 4.4.
|
10 |
|
11 |
Add albums, photo, audio/video upload, privacy, sharing, front-end uploads & more. All this works on mobile/tablets devices.
|
12 |
|
@@ -137,6 +137,13 @@ http://www.youtube.com/watch?v=dJrykKQGDcs
|
|
137 |
|
138 |
== Changelog ==
|
139 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
140 |
= 4.4.1 [June 29, 2017] =
|
141 |
|
142 |
* ENHANCEMENTS
|
6 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
7 |
Requires at least: WordPress 4.1
|
8 |
Tested up to: 4.8
|
9 |
+
Stable tag: 4.4.2
|
10 |
|
11 |
Add albums, photo, audio/video upload, privacy, sharing, front-end uploads & more. All this works on mobile/tablets devices.
|
12 |
|
137 |
|
138 |
== Changelog ==
|
139 |
|
140 |
+
= 4.4.2 [June 30, 2017] =
|
141 |
+
|
142 |
+
* FIXED
|
143 |
+
|
144 |
+
* Broken thumbnails in sidebar widget gallery and sorting gallery shortcode
|
145 |
+
|
146 |
+
|
147 |
= 4.4.1 [June 29, 2017] =
|
148 |
|
149 |
* ENHANCEMENTS
|