Version Description
rtMedia 4.6.3 with added fix for fatal errors issue with Yoast plugin along with the missing timestamp of media and added script tag for rtMedia social sync add-on
=
Download this release
Release Info
Developer | dharmin16 |
Plugin | rtMedia for WordPress, BuddyPress and bbPress |
Version | 4.6.3 |
Comparing to | |
See all releases |
Code changes from version 4.6.2 to 4.6.3
- app/main/RTMedia.php +8 -0
- app/main/controllers/template/rtmedia-functions.php +4 -2
- app/main/interactions/RTMediaInteraction.php +1 -1
- index.php +2 -2
- languages/buddypress-media.po +27 -27
- readme.txt +11 -3
app/main/RTMedia.php
CHANGED
@@ -1746,6 +1746,14 @@ class RTMedia {
|
|
1746 |
'id' => array(),
|
1747 |
);
|
1748 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1749 |
// form input.
|
1750 |
$new_allowed['form'] = array(
|
1751 |
'action' => array(),
|
1746 |
'id' => array(),
|
1747 |
);
|
1748 |
|
1749 |
+
// Script, for social sync plugin.
|
1750 |
+
$new_allowed['script'] = array(
|
1751 |
+
'type' => array(),
|
1752 |
+
'class' => array(),
|
1753 |
+
'id' => array(),
|
1754 |
+
'src' => array(),
|
1755 |
+
);
|
1756 |
+
|
1757 |
// form input.
|
1758 |
$new_allowed['form'] = array(
|
1759 |
'action' => array(),
|
app/main/controllers/template/rtmedia-functions.php
CHANGED
@@ -3303,9 +3303,11 @@ function rtmedia_convert_date( $_date ) {
|
|
3303 |
$length = array( 1, 60, 3600, 86400 );
|
3304 |
// translators: %s: count of hour/minute/second.
|
3305 |
$ago_text = esc_html__( '%s ago ', 'buddypress-media' );
|
3306 |
-
$no = 0;
|
3307 |
|
3308 |
-
|
|
|
|
|
|
|
3309 |
$no = $diff / $length[ $i ];
|
3310 |
}
|
3311 |
|
3303 |
$length = array( 1, 60, 3600, 86400 );
|
3304 |
// translators: %s: count of hour/minute/second.
|
3305 |
$ago_text = esc_html__( '%s ago ', 'buddypress-media' );
|
|
|
3306 |
|
3307 |
+
$i = count( $length ) - 1;
|
3308 |
+
$no = $diff / $length[ $i ];
|
3309 |
+
while ( $i >= 0 && $no <= 1 ) {
|
3310 |
+
$i--;
|
3311 |
$no = $diff / $length[ $i ];
|
3312 |
}
|
3313 |
|
app/main/interactions/RTMediaInteraction.php
CHANGED
@@ -52,7 +52,7 @@ class RTMediaInteraction {
|
|
52 |
|
53 |
add_filter( 'wp_title', array( $this, 'set_title' ), 99999, 2 );
|
54 |
add_filter( 'wpseo_opengraph_title', array( $this, 'set_title' ), 9999, 1 );
|
55 |
-
add_filter( '
|
56 |
add_filter( 'wpseo_opengraph_url', array( $this, 'rtmedia_wpseo_og_url' ), 999, 1 );
|
57 |
add_filter( 'wpseo_opengraph_desc', array( $this, 'rtmedia_wpseo_og_desc' ), 999, 1 );
|
58 |
}
|
52 |
|
53 |
add_filter( 'wp_title', array( $this, 'set_title' ), 99999, 2 );
|
54 |
add_filter( 'wpseo_opengraph_title', array( $this, 'set_title' ), 9999, 1 );
|
55 |
+
add_filter( 'wpseo_frontend_presenters', array( $this, 'rtmedia_wpseo_og_image' ), 999, 1 );
|
56 |
add_filter( 'wpseo_opengraph_url', array( $this, 'rtmedia_wpseo_og_url' ), 999, 1 );
|
57 |
add_filter( 'wpseo_opengraph_desc', array( $this, 'rtmedia_wpseo_og_desc' ), 999, 1 );
|
58 |
}
|
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.6.
|
7 |
Author: rtCamp
|
8 |
Text Domain: buddypress-media
|
9 |
Author URI: http://rtcamp.com/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media
|
@@ -21,7 +21,7 @@ if ( ! defined( 'RTMEDIA_VERSION' ) ) {
|
|
21 |
/**
|
22 |
* The version of the plugin
|
23 |
*/
|
24 |
-
define( 'RTMEDIA_VERSION', '4.6.
|
25 |
}
|
26 |
|
27 |
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.6.3
|
7 |
Author: rtCamp
|
8 |
Text Domain: buddypress-media
|
9 |
Author URI: http://rtcamp.com/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media
|
21 |
/**
|
22 |
* The version of the plugin
|
23 |
*/
|
24 |
+
define( 'RTMEDIA_VERSION', '4.6.3' );
|
25 |
}
|
26 |
|
27 |
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.6.
|
6 |
"Report-Msgid-Bugs-To: https://rtmedia.io/support/\n"
|
7 |
-
"POT-Creation-Date: 2020-04-
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -146,7 +146,7 @@ msgstr ""
|
|
146 |
#: app/admin/RTMediaAdmin.php:805 app/admin/RTMediaAdmin.php:1355
|
147 |
#: app/admin/RTMediaAdmin.php:1356 app/importers/RTMediaActivityUpgrade.php:188
|
148 |
#: app/importers/RTMediaMigration.php:92 app/main/RTMedia.php:1208
|
149 |
-
#: app/main/RTMedia.php:
|
150 |
msgid "rtMedia"
|
151 |
msgstr ""
|
152 |
|
@@ -3185,12 +3185,12 @@ msgid "Delete Album"
|
|
3185 |
msgstr ""
|
3186 |
|
3187 |
#: app/main/controllers/template/rtmedia-filters.php:918
|
3188 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
3189 |
msgid "rtMedia Shortcode Uploads"
|
3190 |
msgstr ""
|
3191 |
|
3192 |
#: app/main/controllers/template/rtmedia-filters.php:922
|
3193 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
3194 |
msgid "rtMedia Activities"
|
3195 |
msgstr ""
|
3196 |
|
@@ -3199,12 +3199,12 @@ msgid "rtMedia Comments"
|
|
3199 |
msgstr ""
|
3200 |
|
3201 |
#: app/main/controllers/template/rtmedia-filters.php:930
|
3202 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
3203 |
msgid "rtMedia Media Views"
|
3204 |
msgstr ""
|
3205 |
|
3206 |
#: app/main/controllers/template/rtmedia-filters.php:934
|
3207 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
3208 |
msgid "rtMedia Media Likes"
|
3209 |
msgstr ""
|
3210 |
|
@@ -3302,84 +3302,84 @@ msgstr ""
|
|
3302 |
msgid "%s ago "
|
3303 |
msgstr ""
|
3304 |
|
3305 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
3306 |
#. translators: %s: number of seconds.
|
3307 |
msgid "%s second"
|
3308 |
msgid_plural "%s seconds"
|
3309 |
msgstr[0] ""
|
3310 |
msgstr[1] ""
|
3311 |
|
3312 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
3313 |
#. translators: %s: number of minutes.
|
3314 |
msgid "%s minute"
|
3315 |
msgid_plural "%s minutes"
|
3316 |
msgstr[0] ""
|
3317 |
msgstr[1] ""
|
3318 |
|
3319 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
3320 |
#. translators: %s: number of hours.
|
3321 |
msgid "%s hour"
|
3322 |
msgid_plural "%s hours"
|
3323 |
msgstr[0] ""
|
3324 |
msgstr[1] ""
|
3325 |
|
3326 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
3327 |
#. translators: %s: date format, see http:php.net/date.
|
3328 |
msgid "View Conversation"
|
3329 |
msgstr ""
|
3330 |
|
3331 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
3332 |
msgid "Activity Date"
|
3333 |
msgstr ""
|
3334 |
|
3335 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
3336 |
msgid "Activity Content"
|
3337 |
msgstr ""
|
3338 |
|
3339 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
3340 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
3341 |
msgid "Attachments"
|
3342 |
msgstr ""
|
3343 |
|
3344 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
3345 |
msgid "Media Upload Date"
|
3346 |
msgstr ""
|
3347 |
|
3348 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
3349 |
msgid "Media Title"
|
3350 |
msgstr ""
|
3351 |
|
3352 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
3353 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
3354 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
3355 |
msgid "Media URL"
|
3356 |
msgstr ""
|
3357 |
|
3358 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
3359 |
msgid "Album Title"
|
3360 |
msgstr ""
|
3361 |
|
3362 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
3363 |
msgid "rtMedia Activity Comments"
|
3364 |
msgstr ""
|
3365 |
|
3366 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
3367 |
msgid "Comment Date"
|
3368 |
msgstr ""
|
3369 |
|
3370 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
3371 |
msgid "Comment Content"
|
3372 |
msgstr ""
|
3373 |
|
3374 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
3375 |
msgid "Number of Views"
|
3376 |
msgstr ""
|
3377 |
|
3378 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
3379 |
msgid "Date of First View"
|
3380 |
msgstr ""
|
3381 |
|
3382 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
3383 |
msgid "Date"
|
3384 |
msgstr ""
|
3385 |
|
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.6.3\n"
|
6 |
"Report-Msgid-Bugs-To: https://rtmedia.io/support/\n"
|
7 |
+
"POT-Creation-Date: 2020-04-30 10:14:18+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
146 |
#: app/admin/RTMediaAdmin.php:805 app/admin/RTMediaAdmin.php:1355
|
147 |
#: app/admin/RTMediaAdmin.php:1356 app/importers/RTMediaActivityUpgrade.php:188
|
148 |
#: app/importers/RTMediaMigration.php:92 app/main/RTMedia.php:1208
|
149 |
+
#: app/main/RTMedia.php:2085
|
150 |
msgid "rtMedia"
|
151 |
msgstr ""
|
152 |
|
3185 |
msgstr ""
|
3186 |
|
3187 |
#: app/main/controllers/template/rtmedia-filters.php:918
|
3188 |
+
#: app/main/controllers/template/rtmedia-functions.php:4633
|
3189 |
msgid "rtMedia Shortcode Uploads"
|
3190 |
msgstr ""
|
3191 |
|
3192 |
#: app/main/controllers/template/rtmedia-filters.php:922
|
3193 |
+
#: app/main/controllers/template/rtmedia-functions.php:4515
|
3194 |
msgid "rtMedia Activities"
|
3195 |
msgstr ""
|
3196 |
|
3199 |
msgstr ""
|
3200 |
|
3201 |
#: app/main/controllers/template/rtmedia-filters.php:930
|
3202 |
+
#: app/main/controllers/template/rtmedia-functions.php:4860
|
3203 |
msgid "rtMedia Media Views"
|
3204 |
msgstr ""
|
3205 |
|
3206 |
#: app/main/controllers/template/rtmedia-filters.php:934
|
3207 |
+
#: app/main/controllers/template/rtmedia-functions.php:4961
|
3208 |
msgid "rtMedia Media Likes"
|
3209 |
msgstr ""
|
3210 |
|
3302 |
msgid "%s ago "
|
3303 |
msgstr ""
|
3304 |
|
3305 |
+
#: app/main/controllers/template/rtmedia-functions.php:3325
|
3306 |
#. translators: %s: number of seconds.
|
3307 |
msgid "%s second"
|
3308 |
msgid_plural "%s seconds"
|
3309 |
msgstr[0] ""
|
3310 |
msgstr[1] ""
|
3311 |
|
3312 |
+
#: app/main/controllers/template/rtmedia-functions.php:3330
|
3313 |
#. translators: %s: number of minutes.
|
3314 |
msgid "%s minute"
|
3315 |
msgid_plural "%s minutes"
|
3316 |
msgstr[0] ""
|
3317 |
msgstr[1] ""
|
3318 |
|
3319 |
+
#: app/main/controllers/template/rtmedia-functions.php:3335
|
3320 |
#. translators: %s: number of hours.
|
3321 |
msgid "%s hour"
|
3322 |
msgid_plural "%s hours"
|
3323 |
msgstr[0] ""
|
3324 |
msgstr[1] ""
|
3325 |
|
3326 |
+
#: app/main/controllers/template/rtmedia-functions.php:3962
|
3327 |
#. translators: %s: date format, see http:php.net/date.
|
3328 |
msgid "View Conversation"
|
3329 |
msgstr ""
|
3330 |
|
3331 |
+
#: app/main/controllers/template/rtmedia-functions.php:4541
|
3332 |
msgid "Activity Date"
|
3333 |
msgstr ""
|
3334 |
|
3335 |
+
#: app/main/controllers/template/rtmedia-functions.php:4545
|
3336 |
msgid "Activity Content"
|
3337 |
msgstr ""
|
3338 |
|
3339 |
+
#: app/main/controllers/template/rtmedia-functions.php:4549
|
3340 |
+
#: app/main/controllers/template/rtmedia-functions.php:4770
|
3341 |
msgid "Attachments"
|
3342 |
msgstr ""
|
3343 |
|
3344 |
+
#: app/main/controllers/template/rtmedia-functions.php:4642
|
3345 |
msgid "Media Upload Date"
|
3346 |
msgstr ""
|
3347 |
|
3348 |
+
#: app/main/controllers/template/rtmedia-functions.php:4646
|
3349 |
msgid "Media Title"
|
3350 |
msgstr ""
|
3351 |
|
3352 |
+
#: app/main/controllers/template/rtmedia-functions.php:4650
|
3353 |
+
#: app/main/controllers/template/rtmedia-functions.php:4864
|
3354 |
+
#: app/main/controllers/template/rtmedia-functions.php:4965
|
3355 |
msgid "Media URL"
|
3356 |
msgstr ""
|
3357 |
|
3358 |
+
#: app/main/controllers/template/rtmedia-functions.php:4654
|
3359 |
msgid "Album Title"
|
3360 |
msgstr ""
|
3361 |
|
3362 |
+
#: app/main/controllers/template/rtmedia-functions.php:4742
|
3363 |
msgid "rtMedia Activity Comments"
|
3364 |
msgstr ""
|
3365 |
|
3366 |
+
#: app/main/controllers/template/rtmedia-functions.php:4762
|
3367 |
msgid "Comment Date"
|
3368 |
msgstr ""
|
3369 |
|
3370 |
+
#: app/main/controllers/template/rtmedia-functions.php:4766
|
3371 |
msgid "Comment Content"
|
3372 |
msgstr ""
|
3373 |
|
3374 |
+
#: app/main/controllers/template/rtmedia-functions.php:4868
|
3375 |
msgid "Number of Views"
|
3376 |
msgstr ""
|
3377 |
|
3378 |
+
#: app/main/controllers/template/rtmedia-functions.php:4872
|
3379 |
msgid "Date of First View"
|
3380 |
msgstr ""
|
3381 |
|
3382 |
+
#: app/main/controllers/template/rtmedia-functions.php:4969
|
3383 |
msgid "Date"
|
3384 |
msgstr ""
|
3385 |
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ License: GPLv2 or later
|
|
5 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
6 |
Requires at least: WordPress 4.1
|
7 |
Tested up to: 5.4
|
8 |
-
Stable tag: 4.6.
|
9 |
|
10 |
Add albums, photo, audio/video upload, privacy, sharing, front-end uploads & more. All this works on mobile/tablets devices.
|
11 |
|
@@ -134,6 +134,14 @@ http://www.youtube.com/watch?v=dJrykKQGDcs
|
|
134 |
|
135 |
== Changelog ==
|
136 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
137 |
= 4.6.2 [April 22, 2020] =
|
138 |
|
139 |
* FIXED
|
@@ -1685,8 +1693,8 @@ http://www.youtube.com/watch?v=dJrykKQGDcs
|
|
1685 |
|
1686 |
== Upgrade Notice ==
|
1687 |
|
1688 |
-
= 4.6.
|
1689 |
-
rtMedia 4.6.
|
1690 |
|
1691 |
== Sponsors ==
|
1692 |
|
5 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
6 |
Requires at least: WordPress 4.1
|
7 |
Tested up to: 5.4
|
8 |
+
Stable tag: 4.6.3
|
9 |
|
10 |
Add albums, photo, audio/video upload, privacy, sharing, front-end uploads & more. All this works on mobile/tablets devices.
|
11 |
|
134 |
|
135 |
== Changelog ==
|
136 |
|
137 |
+
= 4.6.3 [April 30, 2020] =
|
138 |
+
|
139 |
+
* FIXED
|
140 |
+
|
141 |
+
* Conflict with Yoast SEO plugin
|
142 |
+
* Wrong Date/Time stamp for media
|
143 |
+
* Printing JavaScript code as text when Social Sync addon is active
|
144 |
+
|
145 |
= 4.6.2 [April 22, 2020] =
|
146 |
|
147 |
* FIXED
|
1693 |
|
1694 |
== Upgrade Notice ==
|
1695 |
|
1696 |
+
= 4.6.3 =
|
1697 |
+
rtMedia 4.6.3 with added fix for fatal errors issue with Yoast plugin along with the missing timestamp of media and added script tag for rtMedia social sync add-on
|
1698 |
|
1699 |
== Sponsors ==
|
1700 |
|