rtMedia for WordPress, BuddyPress and bbPress - Version 4.6.2

Version Description

rtMedia 4.6.2 with added fixes for preview not loading of docs and files in lightbox, privacy page redirection on user's profile along with warnings and PHP errors

=

Download this release

Release Info

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

Code changes from version 4.6.1 to 4.6.2

app/main/RTMedia.php CHANGED
@@ -1322,6 +1322,7 @@ class RTMedia {
1322
  wp_localize_script( 'rtmedia-magnific', 'rtmedia_load_more', __( 'Loading media', 'buddypress-media' ) );
1323
  wp_localize_script( 'rtmedia-main', 'rtmedia_empty_activity_msg', __( 'Please enter some content to post.', 'buddypress-media' ) );
1324
  wp_localize_script( 'rtmedia-main', 'rtmedia_empty_comment_msg', __( 'Empty comment is not allowed.', 'buddypress-media' ) );
 
1325
  wp_localize_script( 'rtmedia-main', 'rtmedia_media_comment_delete_confirmation', __( 'Are you sure you want to delete this comment?', 'buddypress-media' ) );
1326
  wp_localize_script( 'rtmedia-main', 'rtmedia_album_delete_confirmation', __( 'Are you sure you want to delete this Album?', 'buddypress-media' ) );
1327
  wp_localize_script( 'rtmedia-main', 'rtmedia_drop_media_msg', __( 'Drop files here', 'buddypress-media' ) );
@@ -1554,6 +1555,15 @@ class RTMedia {
1554
  if ( empty( $is_buddypress_activate ) ) {
1555
  wp_localize_script( 'rtmedia-main', 'ajaxurl', admin_url( 'admin-ajax.php', is_ssl() ? 'admin' : 'http' ) );
1556
  }
 
 
 
 
 
 
 
 
 
1557
  }
1558
 
1559
  /**
@@ -1729,6 +1739,13 @@ class RTMedia {
1729
  public static function expanded_allowed_tags() {
1730
  $new_allowed = wp_kses_allowed_html( 'post' );
1731
 
 
 
 
 
 
 
 
1732
  // form input.
1733
  $new_allowed['form'] = array(
1734
  'action' => array(),
@@ -1842,7 +1859,7 @@ function parentlink_global_album( $id ) {
1842
  $parent_link = '';
1843
 
1844
  if ( is_array( $global_albums ) && '' !== $global_albums ) {
1845
- if ( in_array( $id, $global_albums, true ) && function_exists( 'bp_displayed_user_id' ) ) {
1846
  $disp_user = bp_displayed_user_id();
1847
  $curr_user = get_current_user_id();
1848
  if ( $disp_user === $curr_user ) {
1322
  wp_localize_script( 'rtmedia-magnific', 'rtmedia_load_more', __( 'Loading media', 'buddypress-media' ) );
1323
  wp_localize_script( 'rtmedia-main', 'rtmedia_empty_activity_msg', __( 'Please enter some content to post.', 'buddypress-media' ) );
1324
  wp_localize_script( 'rtmedia-main', 'rtmedia_empty_comment_msg', __( 'Empty comment is not allowed.', 'buddypress-media' ) );
1325
+ wp_localize_script( 'rtmedia-main', 'rtmedia_media_delete_confirmation', __( 'Are you sure you want to delete this media?', 'buddypress-media' ) );
1326
  wp_localize_script( 'rtmedia-main', 'rtmedia_media_comment_delete_confirmation', __( 'Are you sure you want to delete this comment?', 'buddypress-media' ) );
1327
  wp_localize_script( 'rtmedia-main', 'rtmedia_album_delete_confirmation', __( 'Are you sure you want to delete this Album?', 'buddypress-media' ) );
1328
  wp_localize_script( 'rtmedia-main', 'rtmedia_drop_media_msg', __( 'Drop files here', 'buddypress-media' ) );
1555
  if ( empty( $is_buddypress_activate ) ) {
1556
  wp_localize_script( 'rtmedia-main', 'ajaxurl', admin_url( 'admin-ajax.php', is_ssl() ? 'admin' : 'http' ) );
1557
  }
1558
+
1559
+ $options = $rtmedia->options;
1560
+ // Previously done with rtmedia_custom_css() method on wp_head hook.
1561
+ if ( ! empty( $options['styles_custom'] ) ) {
1562
+ wp_register_style( 'rtmedia-custom-css', false );
1563
+ wp_enqueue_style( 'rtmedia-custom-css' );
1564
+ $css = stripslashes( wp_filter_nohtml_kses( $options['styles_custom'] ) );
1565
+ wp_add_inline_style( 'rtmedia-custom-css', $css );
1566
+ }
1567
  }
1568
 
1569
  /**
1739
  public static function expanded_allowed_tags() {
1740
  $new_allowed = wp_kses_allowed_html( 'post' );
1741
 
1742
+ // Iframe.
1743
+ $new_allowed['iframe'] = array(
1744
+ 'src' => array(),
1745
+ 'class' => array(),
1746
+ 'id' => array(),
1747
+ );
1748
+
1749
  // form input.
1750
  $new_allowed['form'] = array(
1751
  'action' => array(),
1859
  $parent_link = '';
1860
 
1861
  if ( is_array( $global_albums ) && '' !== $global_albums ) {
1862
+ if ( in_array( $id, $global_albums, false ) && function_exists( 'bp_displayed_user_id' ) ) { // phpcs:ignore WordPress.PHP.StrictInArray.FoundNonStrictFalse -- This option sometimes comes from buddypress or normal options, so can't be sure.
1863
  $disp_user = bp_displayed_user_id();
1864
  $curr_user = get_current_user_id();
1865
  if ( $disp_user === $curr_user ) {
app/main/controllers/privacy/RTMediaPrivacy.php CHANGED
@@ -466,8 +466,10 @@ class RTMediaPrivacy {
466
  $default_privacy = sanitize_text_field( filter_input( INPUT_POST, 'rtmedia-default-privacy', FILTER_SANITIZE_STRING ) );
467
  $nonce = sanitize_text_field( filter_input( INPUT_POST, 'rtmedia_member_settings_privacy', FILTER_SANITIZE_STRING ) );
468
 
469
- if ( ! empty( $default_privacy ) || 0 === intval( $default_privacy ) ) {
470
-
 
 
471
  $status = false;
472
  if ( wp_verify_nonce( $nonce, 'rtmedia_member_settings_privacy' ) ) {
473
  // todo user attribute.
466
  $default_privacy = sanitize_text_field( filter_input( INPUT_POST, 'rtmedia-default-privacy', FILTER_SANITIZE_STRING ) );
467
  $nonce = sanitize_text_field( filter_input( INPUT_POST, 'rtmedia_member_settings_privacy', FILTER_SANITIZE_STRING ) );
468
 
469
+ // Old condition won't work as we've added sanitize_text_field for $default_privacy.
470
+ // We can't perform empty as 0 could be the possible value, so we check for empty string instead.
471
+ // Condition intval( $default_privacy ) will always 0 which shouldn't happen.
472
+ if ( 0 !== strlen( strval( $default_privacy ) ) ) {
473
  $status = false;
474
  if ( wp_verify_nonce( $nonce, 'rtmedia_member_settings_privacy' ) ) {
475
  // todo user attribute.
app/main/controllers/template/RTMediaTemplate.php CHANGED
@@ -459,12 +459,33 @@ class RTMediaTemplate {
459
 
460
  /**
461
  * Show error message for media update error.
 
 
462
  */
463
  public function media_update_success_error() {
464
- $message = apply_filters( 'rtmedia_update_media_message', esc_html__( 'Error in updating Media', 'buddypress-media' ), true );
465
- $html = "<div class='rtmedia-error media-edit-messge'>" . esc_html( $message ) . '</div>';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
466
 
467
- echo wp_kses( apply_filters( 'rtmedia_update_media_message_html', $html, $message, true ), RTMedia::expanded_allowed_tags() );
468
  }
469
 
470
  /**
@@ -871,7 +892,8 @@ class RTMediaTemplate {
871
  global $wpdb;
872
 
873
  $comments = $wpdb->get_row( $wpdb->prepare( "SELECT * FROM $wpdb->comments WHERE comment_ID = %d limit 100", $id ), ARRAY_A );
874
- echo wp_kses( rmedia_single_comment( $comments ), RTMedia::expanded_allowed_tags() );
 
875
  exit;
876
  }
877
  } else {
459
 
460
  /**
461
  * Show error message for media update error.
462
+ *
463
+ * @return void
464
  */
465
  public function media_update_success_error() {
466
+ /**
467
+ * To filter error message on media update.
468
+ *
469
+ * @param string $message Raw error message.
470
+ * @param bool $bool
471
+ *
472
+ * @return string Raw error message.
473
+ */
474
+ $message = apply_filters( 'rtmedia_update_media_message', __( 'Error in updating Media', 'buddypress-media' ), true );
475
+ $html = sprintf( '<div class="rtmedia-warning media-edit-messge">%s</div>', esc_html( $message ) );
476
+
477
+ /**
478
+ * To filter error message HTML on media update.
479
+ *
480
+ * @param string $html HTML of error message.
481
+ * @param string $message Raw error message.
482
+ * @param bool $bool
483
+ *
484
+ * @return string HTML of error message.
485
+ */
486
+ $html = apply_filters( 'rtmedia_update_media_message_html', $html, $message, true );
487
 
488
+ echo wp_kses( $html, RTMedia::expanded_allowed_tags() );
489
  }
490
 
491
  /**
892
  global $wpdb;
893
 
894
  $comments = $wpdb->get_row( $wpdb->prepare( "SELECT * FROM $wpdb->comments WHERE comment_ID = %d limit 100", $id ), ARRAY_A );
895
+ // @todo: Change a.rtmedia-comment-like-click attribute to data-comment-id from data-comment_id in rtmedia-likes (https://github.com/rtCamp/rtmedia-likes) addon.
896
+ echo rmedia_single_comment( $comments ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Contains data-* attributes.
897
  exit;
898
  }
899
  } else {
app/main/controllers/template/rtmedia-functions.php CHANGED
@@ -1350,7 +1350,8 @@ function rtmedia_comments( $echo = true ) {
1350
  }
1351
 
1352
  if ( $html ) {
1353
- echo wp_kses( $html, RTMedia::expanded_allowed_tags() );
 
1354
  } else {
1355
  return $html;
1356
  }
1350
  }
1351
 
1352
  if ( $html ) {
1353
+ // @todo: Change a.rtmedia-comment-like-click attribute to data-comment-id from data-comment_id in rtmedia-likes (https://github.com/rtCamp/rtmedia-likes) addon.
1354
+ echo $html; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Contains data-* attributes.
1355
  } else {
1356
  return $html;
1357
  }
app/main/routers/RTMediaRouter.php CHANGED
@@ -242,7 +242,7 @@ class RTMediaRouter {
242
  break;
243
  }
244
  }
245
- } elseif ( isset( $rtmedia_query->media ) && 1 === count( $rtmedia_query->media ) && $rtmedia_query->media ) {
246
  $wp_query->post = get_post( $rtmedia_query->media[0]->media_id );
247
  }
248
 
242
  break;
243
  }
244
  }
245
+ } elseif ( ! empty( $rtmedia_query->media[0] ) && isset( $rtmedia_query->media[0]->media_id ) ) {
246
  $wp_query->post = get_post( $rtmedia_query->media[0]->media_id );
247
  }
248
 
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.1
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.1' );
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.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
21
  /**
22
  * The version of the plugin
23
  */
24
+ define( 'RTMEDIA_VERSION', '4.6.2' );
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.1\n"
6
  "Report-Msgid-Bugs-To: https://rtmedia.io/support/\n"
7
- "POT-Creation-Date: 2020-04-08 09:51:26+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,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:2060
150
  msgid "rtMedia"
151
  msgstr ""
152
 
@@ -337,7 +337,7 @@ msgid "rtMedia Privacy"
337
  msgstr ""
338
 
339
  #: app/admin/RTMediaAdmin.php:1523
340
- #: app/main/controllers/privacy/RTMediaPrivacy.php:538
341
  msgid "Privacy"
342
  msgstr ""
343
 
@@ -2285,7 +2285,7 @@ msgstr ""
2285
  msgid "No time remaining."
2286
  msgstr ""
2287
 
2288
- #: app/main/RTMedia.php:162 app/main/RTMedia.php:1497
2289
  #: app/main/controllers/activity/RTMediaBuddyPressActivity.php:744
2290
  #: app/main/controllers/shortcodes/RTMediaGalleryShortcode.php:112
2291
  #: app/main/controllers/upload/processors/RTMediaUploadFile.php:246
@@ -2340,7 +2340,7 @@ msgstr ""
2340
  msgid "Album"
2341
  msgstr ""
2342
 
2343
- #: app/main/RTMedia.php:886 app/main/RTMedia.php:1394
2344
  #: app/main/controllers/media/RTMediaAlbum.php:55
2345
  #: app/main/controllers/media/RTMediaAlbum.php:67
2346
  msgid "Albums"
@@ -2365,7 +2365,7 @@ msgstr ""
2365
  msgid ": Can't Create Database table. Please check create table permission."
2366
  msgstr ""
2367
 
2368
- #: app/main/RTMedia.php:1280
2369
  msgid "Are you sure you want to delete this media?"
2370
  msgstr ""
2371
 
@@ -2385,79 +2385,79 @@ msgstr ""
2385
  msgid "Empty comment is not allowed."
2386
  msgstr ""
2387
 
2388
- #: app/main/RTMedia.php:1325
2389
  msgid "Are you sure you want to delete this comment?"
2390
  msgstr ""
2391
 
2392
- #: app/main/RTMedia.php:1326
2393
  msgid "Are you sure you want to delete this Album?"
2394
  msgstr ""
2395
 
2396
- #: app/main/RTMedia.php:1327
2397
  msgid "Drop files here"
2398
  msgstr ""
2399
 
2400
- #: app/main/RTMedia.php:1328
2401
  msgid "album created successfully."
2402
  msgstr ""
2403
 
2404
- #: app/main/RTMedia.php:1329
2405
  msgid "Something went wrong. Please try again."
2406
  msgstr ""
2407
 
2408
- #: app/main/RTMedia.php:1330
2409
  msgid "Enter an album name."
2410
  msgstr ""
2411
 
2412
- #: app/main/RTMedia.php:1331
2413
  msgid "Max file Size Limit : "
2414
  msgstr ""
2415
 
2416
- #: app/main/RTMedia.php:1332
2417
  msgid "Allowed File Formats"
2418
  msgstr ""
2419
 
2420
- #: app/main/RTMedia.php:1333 templates/media/album-single-edit.php:87
2421
  msgid "Select All Visible"
2422
  msgstr ""
2423
 
2424
- #: app/main/RTMedia.php:1334
2425
  msgid "Unselect All Visible"
2426
  msgstr ""
2427
 
2428
- #: app/main/RTMedia.php:1335
2429
  msgid "Please select some media."
2430
  msgstr ""
2431
 
2432
- #: app/main/RTMedia.php:1336
2433
  msgid "Are you sure you want to delete the selected media?"
2434
  msgstr ""
2435
 
2436
- #: app/main/RTMedia.php:1337
2437
  msgid "Are you sure you want to move the selected media?"
2438
  msgstr ""
2439
 
2440
- #: app/main/RTMedia.php:1338
2441
  msgid "Waiting"
2442
  msgstr ""
2443
 
2444
- #: app/main/RTMedia.php:1339
2445
  msgid "Uploaded"
2446
  msgstr ""
2447
 
2448
- #: app/main/RTMedia.php:1340
2449
  msgid "Uploading"
2450
  msgstr ""
2451
 
2452
- #: app/main/RTMedia.php:1341
2453
  msgid "Failed"
2454
  msgstr ""
2455
 
2456
- #: app/main/RTMedia.php:1342
2457
  msgid "Close"
2458
  msgstr ""
2459
 
2460
- #: app/main/RTMedia.php:1343
2461
  #: app/main/controllers/media/RTMediaGalleryItemAction.php:86
2462
  #: app/main/controllers/media/RTMediaGalleryItemAction.php:109
2463
  #: app/main/controllers/template/rtmedia-functions.php:1261
@@ -2465,92 +2465,92 @@ msgstr ""
2465
  msgid "Edit"
2466
  msgstr ""
2467
 
2468
- #: app/main/RTMedia.php:1344
2469
  #: app/main/controllers/media/RTMediaGalleryItemAction.php:89
2470
  #: app/main/controllers/media/RTMediaGalleryItemAction.php:109
2471
- #: app/main/controllers/template/rtmedia-functions.php:2219
2472
- #: app/main/controllers/template/rtmedia-functions.php:2228
2473
  #: templates/media/album-single-edit.php:94
2474
  msgid "Delete"
2475
  msgstr ""
2476
 
2477
- #: app/main/RTMedia.php:1345 templates/media/media-single-edit.php:19
2478
  msgid "Edit Media"
2479
  msgstr ""
2480
 
2481
- #: app/main/RTMedia.php:1346
2482
  msgid "Remove from queue"
2483
  msgstr ""
2484
 
2485
- #: app/main/RTMedia.php:1347
2486
  msgid "Add more files"
2487
  msgstr ""
2488
 
2489
- #: app/main/RTMedia.php:1348
2490
  msgid "File not supported"
2491
  msgstr ""
2492
 
2493
- #: app/main/RTMedia.php:1349
2494
  msgid "more"
2495
  msgstr ""
2496
 
2497
- #: app/main/RTMedia.php:1350
2498
  msgid "less"
2499
  msgstr ""
2500
 
2501
- #: app/main/RTMedia.php:1351
2502
  msgid "Read more"
2503
  msgstr ""
2504
 
2505
- #: app/main/RTMedia.php:1352
2506
  msgid "Show less"
2507
  msgstr ""
2508
 
2509
- #: app/main/RTMedia.php:1354
2510
  msgid "This media is uploaded. Are you sure you want to delete this media?"
2511
  msgstr ""
2512
 
2513
- #: app/main/RTMedia.php:1370
2514
  msgid "Featured media set successfully."
2515
  msgstr ""
2516
 
2517
- #: app/main/RTMedia.php:1371
2518
  msgid "Featured media removed successfully."
2519
  msgstr ""
2520
 
2521
- #: app/main/RTMedia.php:1376
2522
  msgid "Title:"
2523
  msgstr ""
2524
 
2525
- #: app/main/RTMedia.php:1377
2526
  msgid "Description:"
2527
  msgstr ""
2528
 
2529
- #: app/main/RTMedia.php:1380
2530
  msgid "Oops !! There's no media found for the request !!"
2531
  msgstr ""
2532
 
2533
- #: app/main/RTMedia.php:1384
2534
  msgid "Edit File Name"
2535
  msgstr ""
2536
 
2537
- #: app/main/RTMedia.php:1395
2538
  msgid "Privacy updated successfully."
2539
  msgstr ""
2540
 
2541
- #: app/main/RTMedia.php:1396
2542
  msgid "Couldn't change privacy, please try again."
2543
  msgstr ""
2544
 
2545
- #: app/main/RTMedia.php:1433
2546
  msgid "There are some uploads in progress. Do you want to cancel them?"
2547
  msgstr ""
2548
 
2549
- #: app/main/RTMedia.php:1435
2550
  msgid "Media upload is disabled. Please Enable at least one media type to proceed."
2551
  msgstr ""
2552
 
2553
- #: app/main/RTMedia.php:1546
2554
  msgid "Adding media in Comments is not allowed"
2555
  msgstr ""
2556
 
@@ -2567,7 +2567,7 @@ msgstr ""
2567
  #: app/main/controllers/activity/RTMediaBuddyPressActivity.php:791
2568
  #: app/main/controllers/media/RTMediaComment.php:204
2569
  #: app/main/controllers/shortcodes/RTMediaUploadShortcode.php:125
2570
- #: app/main/controllers/template/rtmedia-functions.php:2258
2571
  msgid "You are not allowed to upload/attach media."
2572
  msgstr ""
2573
 
@@ -2853,7 +2853,7 @@ msgid "Group Admin only"
2853
  msgstr ""
2854
 
2855
  #: app/main/controllers/group/RTMediaGroupExtension.php:181
2856
- #: app/main/controllers/privacy/RTMediaPrivacy.php:526
2857
  #: templates/media/album-single-edit.php:69
2858
  msgid "Save Changes"
2859
  msgstr ""
@@ -3005,15 +3005,15 @@ msgstr ""
3005
  msgid "%1$s added %4$d %3$s"
3006
  msgstr ""
3007
 
3008
- #: app/main/controllers/privacy/RTMediaPrivacy.php:481
3009
  msgid "No changes were made to your account."
3010
  msgstr ""
3011
 
3012
- #: app/main/controllers/privacy/RTMediaPrivacy.php:484
3013
  msgid "Your default privacy settings saved successfully."
3014
  msgstr ""
3015
 
3016
- #: app/main/controllers/privacy/RTMediaPrivacy.php:513
3017
  msgid "Default Privacy"
3018
  msgstr ""
3019
 
@@ -3043,9 +3043,9 @@ msgid "Invalid attribute passed for rtmedia_gallery shortcode."
3043
  msgstr ""
3044
 
3045
  #: app/main/controllers/template/RTMediaTemplate.php:445
3046
- #: app/main/controllers/template/RTMediaTemplate.php:553
3047
- #: app/main/controllers/template/RTMediaTemplate.php:659
3048
- #: app/main/controllers/template/RTMediaTemplate.php:878
3049
  msgid "Ooops !!! Invalid access. No nonce was found !!"
3050
  msgstr ""
3051
 
@@ -3053,7 +3053,7 @@ msgstr ""
3053
  msgid "Media updated Sucessfully"
3054
  msgstr ""
3055
 
3056
- #: app/main/controllers/template/RTMediaTemplate.php:464
3057
  msgid "Error in updating Media"
3058
  msgstr ""
3059
 
@@ -3168,7 +3168,7 @@ msgid "Doing wrong, invalid AJAX request!"
3168
  msgstr ""
3169
 
3170
  #: app/main/controllers/template/rtmedia-ajax-actions.php:144
3171
- #: app/main/controllers/template/rtmedia-functions.php:2156
3172
  msgid "Comment"
3173
  msgstr ""
3174
 
@@ -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:4630
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:4512
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:4857
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:4958
3208
  msgid "rtMedia Media Likes"
3209
  msgstr ""
3210
 
@@ -3224,162 +3224,162 @@ msgstr ""
3224
  msgid "There are no comments on this media yet."
3225
  msgstr ""
3226
 
3227
- #: app/main/controllers/template/rtmedia-functions.php:1381
3228
  #. translators: %s Count of comments.
3229
  msgid "Show all %s comments"
3230
  msgstr ""
3231
 
3232
- #: app/main/controllers/template/rtmedia-functions.php:1414
3233
  msgid "Delete Comment"
3234
  msgstr ""
3235
 
3236
- #: app/main/controllers/template/rtmedia-functions.php:1772
3237
  msgid "Go to page no : "
3238
  msgstr ""
3239
 
3240
- #: app/main/controllers/template/rtmedia-functions.php:1777
3241
  msgid "Go"
3242
  msgstr ""
3243
 
3244
- #: app/main/controllers/template/rtmedia-functions.php:2154
3245
  msgid "Type Comment..."
3246
  msgstr ""
3247
 
3248
- #: app/main/controllers/template/rtmedia-functions.php:2219
3249
- #: app/main/controllers/template/rtmedia-functions.php:2228
3250
  msgid "Delete Media"
3251
  msgstr ""
3252
 
3253
- #: app/main/controllers/template/rtmedia-functions.php:2482
3254
  msgid "Profile Albums"
3255
  msgstr ""
3256
 
3257
- #: app/main/controllers/template/rtmedia-functions.php:2486
3258
- #: app/main/controllers/template/rtmedia-functions.php:2535
3259
  msgid "Group Albums"
3260
  msgstr ""
3261
 
3262
- #: app/main/controllers/template/rtmedia-functions.php:2716
3263
  msgid "Privacy : "
3264
  msgstr ""
3265
 
3266
- #: app/main/controllers/template/rtmedia-functions.php:3068
3267
  msgid "You like this"
3268
  msgstr ""
3269
 
3270
- #: app/main/controllers/template/rtmedia-functions.php:3082
3271
  msgid "You and "
3272
  msgstr ""
3273
 
3274
- #: app/main/controllers/template/rtmedia-functions.php:3105
3275
  msgid " person likes this"
3276
  msgid_plural " people like this"
3277
  msgstr[0] ""
3278
  msgstr[1] ""
3279
 
3280
- #: app/main/controllers/template/rtmedia-functions.php:3226
3281
  msgid "Public"
3282
  msgstr ""
3283
 
3284
- #: app/main/controllers/template/rtmedia-functions.php:3231
3285
  msgid "All members"
3286
  msgstr ""
3287
 
3288
- #: app/main/controllers/template/rtmedia-functions.php:3236
3289
  msgid "Your friends"
3290
  msgstr ""
3291
 
3292
- #: app/main/controllers/template/rtmedia-functions.php:3241
3293
  msgid "Only you"
3294
  msgstr ""
3295
 
3296
- #: app/main/controllers/template/rtmedia-functions.php:3246
3297
  msgid "Blocked temporarily"
3298
  msgstr ""
3299
 
3300
- #: app/main/controllers/template/rtmedia-functions.php:3304
3301
  #. translators: %s: count of hour/minute/second.
3302
  msgid "%s ago "
3303
  msgstr ""
3304
 
3305
- #: app/main/controllers/template/rtmedia-functions.php:3322
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:3327
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:3332
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:3959
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:4538
3332
  msgid "Activity Date"
3333
  msgstr ""
3334
 
3335
- #: app/main/controllers/template/rtmedia-functions.php:4542
3336
  msgid "Activity Content"
3337
  msgstr ""
3338
 
3339
- #: app/main/controllers/template/rtmedia-functions.php:4546
3340
- #: app/main/controllers/template/rtmedia-functions.php:4767
3341
  msgid "Attachments"
3342
  msgstr ""
3343
 
3344
- #: app/main/controllers/template/rtmedia-functions.php:4639
3345
  msgid "Media Upload Date"
3346
  msgstr ""
3347
 
3348
- #: app/main/controllers/template/rtmedia-functions.php:4643
3349
  msgid "Media Title"
3350
  msgstr ""
3351
 
3352
- #: app/main/controllers/template/rtmedia-functions.php:4647
3353
- #: app/main/controllers/template/rtmedia-functions.php:4861
3354
- #: app/main/controllers/template/rtmedia-functions.php:4962
3355
  msgid "Media URL"
3356
  msgstr ""
3357
 
3358
- #: app/main/controllers/template/rtmedia-functions.php:4651
3359
  msgid "Album Title"
3360
  msgstr ""
3361
 
3362
- #: app/main/controllers/template/rtmedia-functions.php:4739
3363
  msgid "rtMedia Activity Comments"
3364
  msgstr ""
3365
 
3366
- #: app/main/controllers/template/rtmedia-functions.php:4759
3367
  msgid "Comment Date"
3368
  msgstr ""
3369
 
3370
- #: app/main/controllers/template/rtmedia-functions.php:4763
3371
  msgid "Comment Content"
3372
  msgstr ""
3373
 
3374
- #: app/main/controllers/template/rtmedia-functions.php:4865
3375
  msgid "Number of Views"
3376
  msgstr ""
3377
 
3378
- #: app/main/controllers/template/rtmedia-functions.php:4869
3379
  msgid "Date of First View"
3380
  msgstr ""
3381
 
3382
- #: app/main/controllers/template/rtmedia-functions.php:4966
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.2\n"
6
  "Report-Msgid-Bugs-To: https://rtmedia.io/support/\n"
7
+ "POT-Creation-Date: 2020-04-22 11:49:33+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:2077
150
  msgid "rtMedia"
151
  msgstr ""
152
 
337
  msgstr ""
338
 
339
  #: app/admin/RTMediaAdmin.php:1523
340
+ #: app/main/controllers/privacy/RTMediaPrivacy.php:540
341
  msgid "Privacy"
342
  msgstr ""
343
 
2285
  msgid "No time remaining."
2286
  msgstr ""
2287
 
2288
+ #: app/main/RTMedia.php:162 app/main/RTMedia.php:1498
2289
  #: app/main/controllers/activity/RTMediaBuddyPressActivity.php:744
2290
  #: app/main/controllers/shortcodes/RTMediaGalleryShortcode.php:112
2291
  #: app/main/controllers/upload/processors/RTMediaUploadFile.php:246
2340
  msgid "Album"
2341
  msgstr ""
2342
 
2343
+ #: app/main/RTMedia.php:886 app/main/RTMedia.php:1395
2344
  #: app/main/controllers/media/RTMediaAlbum.php:55
2345
  #: app/main/controllers/media/RTMediaAlbum.php:67
2346
  msgid "Albums"
2365
  msgid ": Can't Create Database table. Please check create table permission."
2366
  msgstr ""
2367
 
2368
+ #: app/main/RTMedia.php:1280 app/main/RTMedia.php:1325
2369
  msgid "Are you sure you want to delete this media?"
2370
  msgstr ""
2371
 
2385
  msgid "Empty comment is not allowed."
2386
  msgstr ""
2387
 
2388
+ #: app/main/RTMedia.php:1326
2389
  msgid "Are you sure you want to delete this comment?"
2390
  msgstr ""
2391
 
2392
+ #: app/main/RTMedia.php:1327
2393
  msgid "Are you sure you want to delete this Album?"
2394
  msgstr ""
2395
 
2396
+ #: app/main/RTMedia.php:1328
2397
  msgid "Drop files here"
2398
  msgstr ""
2399
 
2400
+ #: app/main/RTMedia.php:1329
2401
  msgid "album created successfully."
2402
  msgstr ""
2403
 
2404
+ #: app/main/RTMedia.php:1330
2405
  msgid "Something went wrong. Please try again."
2406
  msgstr ""
2407
 
2408
+ #: app/main/RTMedia.php:1331
2409
  msgid "Enter an album name."
2410
  msgstr ""
2411
 
2412
+ #: app/main/RTMedia.php:1332
2413
  msgid "Max file Size Limit : "
2414
  msgstr ""
2415
 
2416
+ #: app/main/RTMedia.php:1333
2417
  msgid "Allowed File Formats"
2418
  msgstr ""
2419
 
2420
+ #: app/main/RTMedia.php:1334 templates/media/album-single-edit.php:87
2421
  msgid "Select All Visible"
2422
  msgstr ""
2423
 
2424
+ #: app/main/RTMedia.php:1335
2425
  msgid "Unselect All Visible"
2426
  msgstr ""
2427
 
2428
+ #: app/main/RTMedia.php:1336
2429
  msgid "Please select some media."
2430
  msgstr ""
2431
 
2432
+ #: app/main/RTMedia.php:1337
2433
  msgid "Are you sure you want to delete the selected media?"
2434
  msgstr ""
2435
 
2436
+ #: app/main/RTMedia.php:1338
2437
  msgid "Are you sure you want to move the selected media?"
2438
  msgstr ""
2439
 
2440
+ #: app/main/RTMedia.php:1339
2441
  msgid "Waiting"
2442
  msgstr ""
2443
 
2444
+ #: app/main/RTMedia.php:1340
2445
  msgid "Uploaded"
2446
  msgstr ""
2447
 
2448
+ #: app/main/RTMedia.php:1341
2449
  msgid "Uploading"
2450
  msgstr ""
2451
 
2452
+ #: app/main/RTMedia.php:1342
2453
  msgid "Failed"
2454
  msgstr ""
2455
 
2456
+ #: app/main/RTMedia.php:1343
2457
  msgid "Close"
2458
  msgstr ""
2459
 
2460
+ #: app/main/RTMedia.php:1344
2461
  #: app/main/controllers/media/RTMediaGalleryItemAction.php:86
2462
  #: app/main/controllers/media/RTMediaGalleryItemAction.php:109
2463
  #: app/main/controllers/template/rtmedia-functions.php:1261
2465
  msgid "Edit"
2466
  msgstr ""
2467
 
2468
+ #: app/main/RTMedia.php:1345
2469
  #: app/main/controllers/media/RTMediaGalleryItemAction.php:89
2470
  #: app/main/controllers/media/RTMediaGalleryItemAction.php:109
2471
+ #: app/main/controllers/template/rtmedia-functions.php:2220
2472
+ #: app/main/controllers/template/rtmedia-functions.php:2229
2473
  #: templates/media/album-single-edit.php:94
2474
  msgid "Delete"
2475
  msgstr ""
2476
 
2477
+ #: app/main/RTMedia.php:1346 templates/media/media-single-edit.php:19
2478
  msgid "Edit Media"
2479
  msgstr ""
2480
 
2481
+ #: app/main/RTMedia.php:1347
2482
  msgid "Remove from queue"
2483
  msgstr ""
2484
 
2485
+ #: app/main/RTMedia.php:1348
2486
  msgid "Add more files"
2487
  msgstr ""
2488
 
2489
+ #: app/main/RTMedia.php:1349
2490
  msgid "File not supported"
2491
  msgstr ""
2492
 
2493
+ #: app/main/RTMedia.php:1350
2494
  msgid "more"
2495
  msgstr ""
2496
 
2497
+ #: app/main/RTMedia.php:1351
2498
  msgid "less"
2499
  msgstr ""
2500
 
2501
+ #: app/main/RTMedia.php:1352
2502
  msgid "Read more"
2503
  msgstr ""
2504
 
2505
+ #: app/main/RTMedia.php:1353
2506
  msgid "Show less"
2507
  msgstr ""
2508
 
2509
+ #: app/main/RTMedia.php:1355
2510
  msgid "This media is uploaded. Are you sure you want to delete this media?"
2511
  msgstr ""
2512
 
2513
+ #: app/main/RTMedia.php:1371
2514
  msgid "Featured media set successfully."
2515
  msgstr ""
2516
 
2517
+ #: app/main/RTMedia.php:1372
2518
  msgid "Featured media removed successfully."
2519
  msgstr ""
2520
 
2521
+ #: app/main/RTMedia.php:1377
2522
  msgid "Title:"
2523
  msgstr ""
2524
 
2525
+ #: app/main/RTMedia.php:1378
2526
  msgid "Description:"
2527
  msgstr ""
2528
 
2529
+ #: app/main/RTMedia.php:1381
2530
  msgid "Oops !! There's no media found for the request !!"
2531
  msgstr ""
2532
 
2533
+ #: app/main/RTMedia.php:1385
2534
  msgid "Edit File Name"
2535
  msgstr ""
2536
 
2537
+ #: app/main/RTMedia.php:1396
2538
  msgid "Privacy updated successfully."
2539
  msgstr ""
2540
 
2541
+ #: app/main/RTMedia.php:1397
2542
  msgid "Couldn't change privacy, please try again."
2543
  msgstr ""
2544
 
2545
+ #: app/main/RTMedia.php:1434
2546
  msgid "There are some uploads in progress. Do you want to cancel them?"
2547
  msgstr ""
2548
 
2549
+ #: app/main/RTMedia.php:1436
2550
  msgid "Media upload is disabled. Please Enable at least one media type to proceed."
2551
  msgstr ""
2552
 
2553
+ #: app/main/RTMedia.php:1547
2554
  msgid "Adding media in Comments is not allowed"
2555
  msgstr ""
2556
 
2567
  #: app/main/controllers/activity/RTMediaBuddyPressActivity.php:791
2568
  #: app/main/controllers/media/RTMediaComment.php:204
2569
  #: app/main/controllers/shortcodes/RTMediaUploadShortcode.php:125
2570
+ #: app/main/controllers/template/rtmedia-functions.php:2259
2571
  msgid "You are not allowed to upload/attach media."
2572
  msgstr ""
2573
 
2853
  msgstr ""
2854
 
2855
  #: app/main/controllers/group/RTMediaGroupExtension.php:181
2856
+ #: app/main/controllers/privacy/RTMediaPrivacy.php:528
2857
  #: templates/media/album-single-edit.php:69
2858
  msgid "Save Changes"
2859
  msgstr ""
3005
  msgid "%1$s added %4$d %3$s"
3006
  msgstr ""
3007
 
3008
+ #: app/main/controllers/privacy/RTMediaPrivacy.php:483
3009
  msgid "No changes were made to your account."
3010
  msgstr ""
3011
 
3012
+ #: app/main/controllers/privacy/RTMediaPrivacy.php:486
3013
  msgid "Your default privacy settings saved successfully."
3014
  msgstr ""
3015
 
3016
+ #: app/main/controllers/privacy/RTMediaPrivacy.php:515
3017
  msgid "Default Privacy"
3018
  msgstr ""
3019
 
3043
  msgstr ""
3044
 
3045
  #: app/main/controllers/template/RTMediaTemplate.php:445
3046
+ #: app/main/controllers/template/RTMediaTemplate.php:574
3047
+ #: app/main/controllers/template/RTMediaTemplate.php:680
3048
+ #: app/main/controllers/template/RTMediaTemplate.php:900
3049
  msgid "Ooops !!! Invalid access. No nonce was found !!"
3050
  msgstr ""
3051
 
3053
  msgid "Media updated Sucessfully"
3054
  msgstr ""
3055
 
3056
+ #: app/main/controllers/template/RTMediaTemplate.php:474
3057
  msgid "Error in updating Media"
3058
  msgstr ""
3059
 
3168
  msgstr ""
3169
 
3170
  #: app/main/controllers/template/rtmedia-ajax-actions.php:144
3171
+ #: app/main/controllers/template/rtmedia-functions.php:2157
3172
  msgid "Comment"
3173
  msgstr ""
3174
 
3185
  msgstr ""
3186
 
3187
  #: app/main/controllers/template/rtmedia-filters.php:918
3188
+ #: app/main/controllers/template/rtmedia-functions.php:4631
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:4513
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:4858
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:4959
3208
  msgid "rtMedia Media Likes"
3209
  msgstr ""
3210
 
3224
  msgid "There are no comments on this media yet."
3225
  msgstr ""
3226
 
3227
+ #: app/main/controllers/template/rtmedia-functions.php:1382
3228
  #. translators: %s Count of comments.
3229
  msgid "Show all %s comments"
3230
  msgstr ""
3231
 
3232
+ #: app/main/controllers/template/rtmedia-functions.php:1415
3233
  msgid "Delete Comment"
3234
  msgstr ""
3235
 
3236
+ #: app/main/controllers/template/rtmedia-functions.php:1773
3237
  msgid "Go to page no : "
3238
  msgstr ""
3239
 
3240
+ #: app/main/controllers/template/rtmedia-functions.php:1778
3241
  msgid "Go"
3242
  msgstr ""
3243
 
3244
+ #: app/main/controllers/template/rtmedia-functions.php:2155
3245
  msgid "Type Comment..."
3246
  msgstr ""
3247
 
3248
+ #: app/main/controllers/template/rtmedia-functions.php:2220
3249
+ #: app/main/controllers/template/rtmedia-functions.php:2229
3250
  msgid "Delete Media"
3251
  msgstr ""
3252
 
3253
+ #: app/main/controllers/template/rtmedia-functions.php:2483
3254
  msgid "Profile Albums"
3255
  msgstr ""
3256
 
3257
+ #: app/main/controllers/template/rtmedia-functions.php:2487
3258
+ #: app/main/controllers/template/rtmedia-functions.php:2536
3259
  msgid "Group Albums"
3260
  msgstr ""
3261
 
3262
+ #: app/main/controllers/template/rtmedia-functions.php:2717
3263
  msgid "Privacy : "
3264
  msgstr ""
3265
 
3266
+ #: app/main/controllers/template/rtmedia-functions.php:3069
3267
  msgid "You like this"
3268
  msgstr ""
3269
 
3270
+ #: app/main/controllers/template/rtmedia-functions.php:3083
3271
  msgid "You and "
3272
  msgstr ""
3273
 
3274
+ #: app/main/controllers/template/rtmedia-functions.php:3106
3275
  msgid " person likes this"
3276
  msgid_plural " people like this"
3277
  msgstr[0] ""
3278
  msgstr[1] ""
3279
 
3280
+ #: app/main/controllers/template/rtmedia-functions.php:3227
3281
  msgid "Public"
3282
  msgstr ""
3283
 
3284
+ #: app/main/controllers/template/rtmedia-functions.php:3232
3285
  msgid "All members"
3286
  msgstr ""
3287
 
3288
+ #: app/main/controllers/template/rtmedia-functions.php:3237
3289
  msgid "Your friends"
3290
  msgstr ""
3291
 
3292
+ #: app/main/controllers/template/rtmedia-functions.php:3242
3293
  msgid "Only you"
3294
  msgstr ""
3295
 
3296
+ #: app/main/controllers/template/rtmedia-functions.php:3247
3297
  msgid "Blocked temporarily"
3298
  msgstr ""
3299
 
3300
+ #: app/main/controllers/template/rtmedia-functions.php:3305
3301
  #. translators: %s: count of hour/minute/second.
3302
  msgid "%s ago "
3303
  msgstr ""
3304
 
3305
+ #: app/main/controllers/template/rtmedia-functions.php:3323
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:3328
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:3333
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:3960
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:4539
3332
  msgid "Activity Date"
3333
  msgstr ""
3334
 
3335
+ #: app/main/controllers/template/rtmedia-functions.php:4543
3336
  msgid "Activity Content"
3337
  msgstr ""
3338
 
3339
+ #: app/main/controllers/template/rtmedia-functions.php:4547
3340
+ #: app/main/controllers/template/rtmedia-functions.php:4768
3341
  msgid "Attachments"
3342
  msgstr ""
3343
 
3344
+ #: app/main/controllers/template/rtmedia-functions.php:4640
3345
  msgid "Media Upload Date"
3346
  msgstr ""
3347
 
3348
+ #: app/main/controllers/template/rtmedia-functions.php:4644
3349
  msgid "Media Title"
3350
  msgstr ""
3351
 
3352
+ #: app/main/controllers/template/rtmedia-functions.php:4648
3353
+ #: app/main/controllers/template/rtmedia-functions.php:4862
3354
+ #: app/main/controllers/template/rtmedia-functions.php:4963
3355
  msgid "Media URL"
3356
  msgstr ""
3357
 
3358
+ #: app/main/controllers/template/rtmedia-functions.php:4652
3359
  msgid "Album Title"
3360
  msgstr ""
3361
 
3362
+ #: app/main/controllers/template/rtmedia-functions.php:4740
3363
  msgid "rtMedia Activity Comments"
3364
  msgstr ""
3365
 
3366
+ #: app/main/controllers/template/rtmedia-functions.php:4760
3367
  msgid "Comment Date"
3368
  msgstr ""
3369
 
3370
+ #: app/main/controllers/template/rtmedia-functions.php:4764
3371
  msgid "Comment Content"
3372
  msgstr ""
3373
 
3374
+ #: app/main/controllers/template/rtmedia-functions.php:4866
3375
  msgid "Number of Views"
3376
  msgstr ""
3377
 
3378
+ #: app/main/controllers/template/rtmedia-functions.php:4870
3379
  msgid "Date of First View"
3380
  msgstr ""
3381
 
3382
+ #: app/main/controllers/template/rtmedia-functions.php:4967
3383
  msgid "Date"
3384
  msgstr ""
3385
 
readme.txt CHANGED
@@ -1,11 +1,11 @@
1
  === rtMedia for WordPress, BuddyPress and bbPress ===
2
- Contributors: rtcamp, mangeshp, sanket.parmar, pranalipatel, jignesh.nakrani, manishsongirkar36, kiranpotphode, yahil, 1naveengiri, bhargavbhandari90, raftaar1191, rittesh.patel, sagarjadhav, pushpak.pop, faishal, desaiuditd, rahul286, JoshuaAbenazer, gagan0123, saurabhshukla, nitun.lanjewar, umesh.nevase, suhasgirgaonkar, neerukoul, hrishiv90, kanakiyajay, jarretc, tobiaskluge, rafaelfunchal, UmeshSingla, mehulkaklotar, tannermirabel, kishores, chandrapatel, rahul3883, nomnom99, sayanchakraborty, milindmore22, thrijith, abhijitrakas, sid177, montu3366, jashwini, juhise, ravatparmar, dharmin16, malavvasita, pooja1210, krupajnanda, surajkumarsingh, kanumalivad, dishitpala
3
  Tags: BuddyPress, media, multimedia, album, audio, songs, music, video, photo, image, upload, share, MediaElement.js, media-node, rtMedia, WordPress, bbPress, masonry
4
  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.1
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,18 @@ http://www.youtube.com/watch?v=dJrykKQGDcs
134
 
135
  == Changelog ==
136
 
 
 
 
 
 
 
 
 
 
 
 
 
137
  = 4.6.1 [April 9, 2020] =
138
 
139
  * Enhancement
@@ -1673,8 +1685,8 @@ http://www.youtube.com/watch?v=dJrykKQGDcs
1673
 
1674
  == Upgrade Notice ==
1675
 
1676
- = 4.6.1 =
1677
- rtMedia 4.6.1 with added server side validation for terms of services checkbox, minor bug fixes along with warnings and PHPCS fixes
1678
 
1679
  == Sponsors ==
1680
 
1
  === rtMedia for WordPress, BuddyPress and bbPress ===
2
+ Contributors: rtcamp, mangeshp, sanket.parmar, pranalipatel, jignesh.nakrani, manishsongirkar36, kiranpotphode, yahil, 1naveengiri, bhargavbhandari90, raftaar1191, rittesh.patel, sagarjadhav, pushpak.pop, faishal, desaiuditd, rahul286, JoshuaAbenazer, gagan0123, saurabhshukla, nitun.lanjewar, umesh.nevase, suhasgirgaonkar, neerukoul, hrishiv90, kanakiyajay, jarretc, tobiaskluge, rafaelfunchal, UmeshSingla, mehulkaklotar, tannermirabel, kishores, chandrapatel, rahul3883, nomnom99, sayanchakraborty, milindmore22, thrijith, abhijitrakas, sid177, montu3366, jashwini, juhise, ravatparmar, dharmin16, malavvasita, pooja1210, krupajnanda, surajkumarsingh, kanumalivad, dishitpala, shobhit2412
3
  Tags: BuddyPress, media, multimedia, album, audio, songs, music, video, photo, image, upload, share, MediaElement.js, media-node, rtMedia, WordPress, bbPress, masonry
4
  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.2
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.2 [April 22, 2020] =
138
+
139
+ * FIXED
140
+
141
+ * Redirecting to admin's WallPost album
142
+ * Preview not loading for Docs and Other files in lightbox
143
+ * Custom css not applying when added from rtMedia settings’ custom css tab
144
+ * Too many redirections on BuddyPress’ privacy page
145
+ * Unable to delete media from lightbox and single media page
146
+ * Likes on mendia comment not working
147
+ * PHP errors and warning
148
+
149
  = 4.6.1 [April 9, 2020] =
150
 
151
  * Enhancement
1685
 
1686
  == Upgrade Notice ==
1687
 
1688
+ = 4.6.2 =
1689
+ rtMedia 4.6.2 with added fixes for preview not loading of docs and files in lightbox, privacy page redirection on user's profile along with warnings and PHP errors
1690
 
1691
  == Sponsors ==
1692
 
templates/main.php CHANGED
@@ -26,7 +26,7 @@ $bp_template = get_option( '_bp_theme_package_id' );
26
 
27
  $class = '';
28
  // Getting extran classes for #buddypress when Nouveau is active.
29
- if ( 'nouveau' === $bp_template && ! $rt_ajax_request ) {
30
  $class = bp_nouveau_get_container_classes();
31
  }
32
  ?>
@@ -165,6 +165,32 @@ if ( ! $rt_ajax_request ) {
165
  endwhile;
166
  }
167
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
168
  }
169
  } else { // When Legacy is active.
170
  if ( 'buddypress' === $template_type ) {
@@ -276,32 +302,28 @@ if ( ! $rt_ajax_request ) {
276
  endif; // group/profile if/else.
277
  }
278
  } else { // if BuddyPress.
279
- ?>
280
- <div id="item-body">
281
- <?php
282
  }
283
 
284
  rtmedia_load_template();
285
 
286
  if ( ! $rt_ajax_request ) {
287
- if ( function_exists( 'bp_displayed_user_id' ) && 'buddypress' === $template_type && ( bp_displayed_user_id() || bp_is_group() ) ) {
288
- if ( bp_is_group() ) {
289
  do_action( 'bp_after_group_media' );
290
  do_action( 'bp_after_group_body' );
291
  }
292
- if ( bp_displayed_user_id() ) {
293
  do_action( 'bp_after_member_media' );
294
  do_action( 'bp_after_member_body' );
295
  }
296
  }
297
- ?>
298
- </div><!--#item-body-->
299
- <?php
300
- if ( function_exists( 'bp_displayed_user_id' ) && 'buddypress' === $template_type && ( bp_displayed_user_id() || bp_is_group() ) ) {
301
- if ( bp_is_group() ) {
302
  do_action( 'bp_after_group_home_content' );
303
  }
304
- if ( bp_displayed_user_id() ) {
305
  do_action( 'bp_after_member_home_content' );
306
  }
307
  }
26
 
27
  $class = '';
28
  // Getting extran classes for #buddypress when Nouveau is active.
29
+ if ( 'nouveau' === $bp_template && ! $rt_ajax_request && function_exists( 'bp_nouveau_get_container_classes' ) ) {
30
  $class = bp_nouveau_get_container_classes();
31
  }
32
  ?>
165
  endwhile;
166
  }
167
  }
168
+ } else { // if BuddyPress.
169
+ echo '<div id="item-body">';
170
+
171
+ rtmedia_load_template();
172
+
173
+ if ( ! $rt_ajax_request ) {
174
+ if ( 'buddypress' === $template_type ) {
175
+ if ( function_exists( 'bp_is_group' ) && bp_is_group() ) {
176
+ do_action( 'bp_after_group_media' );
177
+ do_action( 'bp_after_group_body' );
178
+ }
179
+ if ( function_exists( 'bp_displayed_user_id' ) && bp_displayed_user_id() ) {
180
+ do_action( 'bp_after_member_media' );
181
+ do_action( 'bp_after_member_body' );
182
+ }
183
+ }
184
+ echo '</div><!--#item-body-->';
185
+ if ( 'buddypress' === $template_type ) {
186
+ if ( function_exists( 'bp_is_group' ) && bp_is_group() ) {
187
+ do_action( 'bp_after_group_home_content' );
188
+ }
189
+ if ( function_exists( 'bp_displayed_user_id' ) && bp_displayed_user_id() ) {
190
+ do_action( 'bp_after_member_home_content' );
191
+ }
192
+ }
193
+ }
194
  }
195
  } else { // When Legacy is active.
196
  if ( 'buddypress' === $template_type ) {
302
  endif; // group/profile if/else.
303
  }
304
  } else { // if BuddyPress.
305
+ echo '<div id="item-body">';
 
 
306
  }
307
 
308
  rtmedia_load_template();
309
 
310
  if ( ! $rt_ajax_request ) {
311
+ if ( 'buddypress' === $template_type ) {
312
+ if ( function_exists( 'bp_is_group' ) && bp_is_group() ) {
313
  do_action( 'bp_after_group_media' );
314
  do_action( 'bp_after_group_body' );
315
  }
316
+ if ( function_exists( 'bp_displayed_user_id' ) && bp_displayed_user_id() ) {
317
  do_action( 'bp_after_member_media' );
318
  do_action( 'bp_after_member_body' );
319
  }
320
  }
321
+ echo '</div><!--#item-body-->';
322
+ if ( 'buddypress' === $template_type ) {
323
+ if ( function_exists( 'bp_is_group' ) && bp_is_group() ) {
 
 
324
  do_action( 'bp_after_group_home_content' );
325
  }
326
+ if ( function_exists( 'bp_displayed_user_id' ) && bp_displayed_user_id() ) {
327
  do_action( 'bp_after_member_home_content' );
328
  }
329
  }