diff --git a/bp-loader.php b/bp-loader.php
index 034b30727f..79df2c0200 100644
--- a/bp-loader.php
+++ b/bp-loader.php
@@ -5,7 +5,7 @@
* Description: The BuddyBoss Platform adds community features to WordPress. Member Profiles, Activity Feeds, Direct Messaging, Notifications, and more!
* Author: BuddyBoss
* Author URI: https://buddyboss.com/
- * Version: 2.6.71
+ * Version: 2.6.72
* Text Domain: buddyboss
* Domain Path: /bp-languages/
* License: GPLv2 or later (license.txt)
diff --git a/package.json b/package.json
index c9152f1831..2eb107db9e 100644
--- a/package.json
+++ b/package.json
@@ -41,5 +41,5 @@
},
"license": "GPL-2.0-or-later",
"version": "3.1.0",
- "BBVersion": "2.6.71"
+ "BBVersion": "2.6.72"
}
diff --git a/src/bp-document/bp-document-functions.php b/src/bp-document/bp-document-functions.php
index 10e6b39a8e..de18c6f489 100644
--- a/src/bp-document/bp-document-functions.php
+++ b/src/bp-document/bp-document-functions.php
@@ -611,7 +611,13 @@ function bp_document_add_handler( $documents = array(), $privacy = 'public', $co
$bp_document = new BP_Document( $document['document_id'] );
- if ( ! empty( $bp_document->id ) ) {
+ if (
+ ! empty( $bp_document->id ) &&
+ (
+ bp_loggedin_user_id() === $bp_document->user_id ||
+ bp_current_user_can( 'bp_moderate' )
+ )
+ ) {
if ( bp_is_active( 'activity' ) ) {
$obj_activity = new BP_Activity_Activity( $bp_document->activity_id );
@@ -646,6 +652,12 @@ function bp_document_add_handler( $documents = array(), $privacy = 'public', $co
}
}
} else {
+
+ // Check if a document is already saved.
+ if ( get_post_meta( $document['id'], 'bp_document_id', true ) ) {
+ continue;
+ }
+
$file = get_attached_file( $document['id'] );
$file_type = wp_check_filetype( $file );
$file_name = basename( $file );
diff --git a/src/bp-loader.php b/src/bp-loader.php
index c42c35376a..690f510c8d 100644
--- a/src/bp-loader.php
+++ b/src/bp-loader.php
@@ -5,7 +5,7 @@
* Description: The BuddyBoss Platform adds community features to WordPress. Member Profiles, Activity Feeds, Direct Messaging, Notifications, and more!
* Author: BuddyBoss
* Author URI: https://buddyboss.com/
- * Version: 2.6.71
+ * Version: 2.6.72
* Text Domain: buddyboss
* Domain Path: /languages/
* License: GPLv2 or later (license.txt)
@@ -24,7 +24,7 @@
}
if ( ! defined( 'BP_PLATFORM_VERSION' ) ) {
- define( 'BP_PLATFORM_VERSION', '2.6.71' );
+ define( 'BP_PLATFORM_VERSION', '2.6.72' );
}
if ( ! defined( 'BP_PLATFORM_API' ) ) {
diff --git a/src/bp-media/bp-media-functions.php b/src/bp-media/bp-media-functions.php
index fb451095f6..b1f02d18cc 100644
--- a/src/bp-media/bp-media-functions.php
+++ b/src/bp-media/bp-media-functions.php
@@ -575,6 +575,7 @@ function bp_media_add( $args = '' ) {
function bp_media_add_handler( $medias = array(), $privacy = 'public', $content = '', $group_id = false, $album_id = false ) {
global $bp_media_upload_count, $bp_media_upload_activity_content;
$media_ids = array();
+ $media_id = 0;
$privacy = in_array( $privacy, array_keys( bp_media_get_visibility_levels() ) ) ? $privacy : 'public';
@@ -589,11 +590,17 @@ function bp_media_add_handler( $medias = array(), $privacy = 'public', $content
// save media.
foreach ( $medias as $media ) {
- // Update media if existing
+ // Update media if existing.
if ( ! empty( $media['media_id'] ) ) {
$bp_media = new BP_Media( $media['media_id'] );
- if ( ! empty( $bp_media->id ) ) {
+ if (
+ ! empty( $bp_media->id ) &&
+ (
+ bp_loggedin_user_id() === $bp_media->user_id ||
+ bp_current_user_can( 'bp_moderate' )
+ )
+ ) {
if ( bp_is_active( 'activity' ) ) {
$obj_activity = new BP_Activity_Activity( $bp_media->activity_id );
@@ -619,6 +626,11 @@ function bp_media_add_handler( $medias = array(), $privacy = 'public', $content
}
} else {
+ // Check if a media is already saved.
+ if ( get_post_meta( $media['id'], 'bp_media_id', true ) ) {
+ continue;
+ }
+
$media_id = bp_media_add(
array(
'attachment_id' => $media['id'],
diff --git a/src/bp-templates/bp-nouveau/includes/document/ajax.php b/src/bp-templates/bp-nouveau/includes/document/ajax.php
index 79b68eb696..9600ac247b 100644
--- a/src/bp-templates/bp-nouveau/includes/document/ajax.php
+++ b/src/bp-templates/bp-nouveau/includes/document/ajax.php
@@ -627,6 +627,15 @@ function bp_nouveau_ajax_document_document_save() {
ob_end_clean();
}
+ // Check if the document is empty return error.
+ if ( empty( $document ) ) {
+ $response['feedback'] = sprintf(
+ '
',
+ esc_html__( 'There was a problem when trying to save the document.', 'buddyboss' )
+ );
+ wp_send_json_error( $response );
+ }
+
wp_send_json_success( array( 'document' => $document ) );
}
diff --git a/src/bp-templates/bp-nouveau/includes/media/ajax.php b/src/bp-templates/bp-nouveau/includes/media/ajax.php
index 3dd6519f72..bb93165c45 100644
--- a/src/bp-templates/bp-nouveau/includes/media/ajax.php
+++ b/src/bp-templates/bp-nouveau/includes/media/ajax.php
@@ -289,6 +289,14 @@ function bp_nouveau_ajax_media_save() {
ob_end_clean();
}
+ if ( empty( $media ) ) {
+ $response['feedback'] = sprintf(
+ '',
+ esc_html__( 'There was a problem saving media.', 'buddyboss' )
+ );
+ wp_send_json_error( $response );
+ }
+
$media_personal_count = 0;
$media_group_count = 0;
$media_all_count = 0;
diff --git a/src/bp-templates/bp-nouveau/includes/video/ajax.php b/src/bp-templates/bp-nouveau/includes/video/ajax.php
index 59b2f3eed5..1caa3c30c7 100644
--- a/src/bp-templates/bp-nouveau/includes/video/ajax.php
+++ b/src/bp-templates/bp-nouveau/includes/video/ajax.php
@@ -386,6 +386,14 @@ function bp_nouveau_ajax_video_save() {
ob_end_clean();
}
+ if ( empty( $video ) ) {
+ $response['feedback'] = sprintf(
+ '',
+ esc_html__( 'There was a problem saving video.', 'buddyboss' )
+ );
+ wp_send_json_error( $response );
+ }
+
$video_personal_count = 0;
$video_group_count = 0;
$video_all_count = 0;
diff --git a/src/bp-video/bp-video-functions.php b/src/bp-video/bp-video-functions.php
index 962618533b..02ab060e1c 100644
--- a/src/bp-video/bp-video-functions.php
+++ b/src/bp-video/bp-video-functions.php
@@ -696,6 +696,7 @@ function bp_video_add( $args = '' ) {
function bp_video_add_handler( $videos = array(), $privacy = 'public', $content = '', $group_id = false, $album_id = false ) {
global $bp_video_upload_count, $bp_video_upload_activity_content;
$video_ids = array();
+ $video_id = 0;
$privacy = in_array( $privacy, array_keys( bp_video_get_visibility_levels() ), true ) ? $privacy : 'public';
@@ -707,14 +708,20 @@ function bp_video_add_handler( $videos = array(), $privacy = 'public', $content
// update the content of videos for later use.
$bp_video_upload_activity_content = $content;
- // save video.
+ // save video.
foreach ( $videos as $video ) {
// Update video if existing.
if ( ! empty( $video['video_id'] ) ) {
$bp_video = new BP_Video( $video['video_id'] );
- if ( ! empty( $bp_video->id ) ) {
+ if (
+ ! empty( $bp_video->id ) &&
+ (
+ bp_loggedin_user_id() === $bp_video->user_id ||
+ bp_current_user_can( 'bp_moderate' )
+ )
+ ) {
if ( bp_is_active( 'activity' ) ) {
$obj_activity = new BP_Activity_Activity( $bp_video->activity_id );
@@ -740,6 +747,11 @@ function bp_video_add_handler( $videos = array(), $privacy = 'public', $content
}
} else {
+ // Check if a video is already saved.
+ if ( get_post_meta( $video['id'], 'bp_video_id', true ) ) {
+ continue;
+ }
+
$video_id = bp_video_add(
array(
'attachment_id' => $video['id'],
@@ -766,7 +778,6 @@ function bp_video_add_handler( $videos = array(), $privacy = 'public', $content
if ( $video_id ) {
$video_ids[] = $video_id;
}
-
}
}
@@ -4188,7 +4199,7 @@ function bb_video_check_is_ffprobe_binary() {
class_exists( 'BuddyBossPlatform\FFMpeg\FFMpeg' ) ||
class_exists( 'FFMpeg\FFMpeg' )
) &&
- (
+ (
class_exists( 'BuddyBossPlatform\FFMpeg\FFProbe' ) ||
class_exists( 'FFMpeg\FFProbe' )
)
@@ -4628,7 +4639,7 @@ function bb_video_get_activity_video( $activity = '', $args = array() ) {
&& in_array( $activity->type, array( 'bbp_forum_create', 'bbp_topic_create', 'bbp_reply_create' ), true )
&& bp_is_forums_video_support_enabled()
) {
- $is_forum_activity = true;
+ $is_forum_activity = true;
$video_args['privacy'][] = 'forums';
}
diff --git a/src/bp-xprofile/classes/class-bp-rest-xprofile-fields-endpoint.php b/src/bp-xprofile/classes/class-bp-rest-xprofile-fields-endpoint.php
index 3bf3c48a55..65c8c101b6 100644
--- a/src/bp-xprofile/classes/class-bp-rest-xprofile-fields-endpoint.php
+++ b/src/bp-xprofile/classes/class-bp-rest-xprofile-fields-endpoint.php
@@ -1080,6 +1080,10 @@ public function get_profile_field_rendered_value( $value = '', $profile_field =
// Reset the global before returning the value.
$field = $reset_global;
+ if ( 'textarea' === $profile_field->type ) {
+ return $value;
+ }
+
return wp_specialchars_decode( $value );
}
@@ -1110,6 +1114,10 @@ public function get_profile_field_raw_value( $value = '', $profile_field = null
}
}
+ if ( 'textarea' === $profile_field->type ) {
+ return $value;
+ }
+
return wp_specialchars_decode( $value );
}
@@ -1141,7 +1149,11 @@ public function get_profile_field_unserialized_value( $value = '', $profile_fiel
$unserialized_value = maybe_unserialize( $value );
if ( ! is_array( $unserialized_value ) ) {
- $unserialized_value = (array) wp_specialchars_decode( $unserialized_value, ENT_QUOTES );
+ if ( 'textarea' === $profile_field->type ) {
+ $unserialized_value = (array) $unserialized_value;
+ } else {
+ $unserialized_value = (array) wp_specialchars_decode( $unserialized_value, ENT_QUOTES );
+ }
} elseif ( ! empty( $unserialized_value ) && is_array( $unserialized_value ) ) {
foreach ( $unserialized_value as $k => $v ) {
$unserialized_value[ $k ] = wp_specialchars_decode( $v, ENT_QUOTES );
diff --git a/src/bp-xprofile/classes/class-bp-rest-xprofile-update-endpoint.php b/src/bp-xprofile/classes/class-bp-rest-xprofile-update-endpoint.php
index 506d0f7664..672fd546d3 100644
--- a/src/bp-xprofile/classes/class-bp-rest-xprofile-update-endpoint.php
+++ b/src/bp-xprofile/classes/class-bp-rest-xprofile-update-endpoint.php
@@ -161,7 +161,7 @@ public function update_items( $request ) {
unset( $value[ $key ] );
}
}
-
+
if ( ! empty( $value ) ) {
xprofile_set_field_data( $field_id, $user_id, $value, $field->is_required );
}
diff --git a/src/endpoints/api_project.js b/src/endpoints/api_project.js
index ecacacf15e..7a295139db 100644
--- a/src/endpoints/api_project.js
+++ b/src/endpoints/api_project.js
@@ -13,7 +13,7 @@ define({
"apidoc": "0.3.0",
"generator": {
"name": "apidoc",
- "time": "2024-07-09T06:24:56.176Z",
+ "time": "2024-08-14T13:52:51.464Z",
"url": "http://apidocjs.com",
"version": "0.22.1"
}
diff --git a/src/endpoints/api_project.json b/src/endpoints/api_project.json
index cd89f243ec..c68b57c900 100644
--- a/src/endpoints/api_project.json
+++ b/src/endpoints/api_project.json
@@ -13,7 +13,7 @@
"apidoc": "0.3.0",
"generator": {
"name": "apidoc",
- "time": "2024-07-09T06:24:56.176Z",
+ "time": "2024-08-14T13:52:51.464Z",
"url": "http://apidocjs.com",
"version": "0.22.1"
}
diff --git a/src/languages/buddyboss.pot b/src/languages/buddyboss.pot
index a1c53b5237..b14abc8007 100644
--- a/src/languages/buddyboss.pot
+++ b/src/languages/buddyboss.pot
@@ -2,9 +2,9 @@
# This file is distributed under the GPLv2 or later (license.txt).
msgid ""
msgstr ""
-"Project-Id-Version: BuddyBoss Platform 2.6.71\n"
+"Project-Id-Version: BuddyBoss Platform 2.6.72\n"
"Report-Msgid-Bugs-To: https://www.buddyboss.com/contact/\n"
-"POT-Creation-Date: 2024-08-08 13:21:12+00:00\n"
+"POT-Creation-Date: 2024-08-14 14:14:33+00:00\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
@@ -497,8 +497,8 @@ msgstr ""
#: bp-templates/bp-nouveau/includes/activity/template-tags.php:1760
#: bp-templates/bp-nouveau/includes/activity/template-tags.php:2321
#: bp-templates/bp-nouveau/includes/document/ajax.php:477
-#: bp-templates/bp-nouveau/includes/media/ajax.php:1350
-#: bp-templates/bp-nouveau/includes/video/ajax.php:1342
+#: bp-templates/bp-nouveau/includes/media/ajax.php:1358
+#: bp-templates/bp-nouveau/includes/video/ajax.php:1350
#: bp-xprofile/bp-xprofile-admin.php:915
#: bp-xprofile/bp-xprofile-repeaters.php:881
#: bp-xprofile/bp-xprofile-repeaters.php:883
@@ -662,8 +662,8 @@ msgstr ""
#: bp-templates/bp-nouveau/includes/activity/template-tags.php:1546
#: bp-templates/bp-nouveau/includes/activity/template-tags.php:1599
#: bp-templates/bp-nouveau/includes/document/ajax.php:487
-#: bp-templates/bp-nouveau/includes/media/ajax.php:1360
-#: bp-templates/bp-nouveau/includes/video/ajax.php:1352
+#: bp-templates/bp-nouveau/includes/media/ajax.php:1368
+#: bp-templates/bp-nouveau/includes/video/ajax.php:1360
#: bp-xprofile/classes/class-bp-xprofile-field.php:1522
#: bp-xprofile/classes/class-bp-xprofile-group.php:1000
msgid "Cancel"
@@ -3392,36 +3392,36 @@ msgstr ""
#: bp-templates/bp-nouveau/includes/activity/ajax.php:217
#: bp-templates/bp-nouveau/includes/document/ajax.php:187
#: bp-templates/bp-nouveau/includes/document/ajax.php:556
-#: bp-templates/bp-nouveau/includes/document/ajax.php:640
-#: bp-templates/bp-nouveau/includes/document/ajax.php:755
-#: bp-templates/bp-nouveau/includes/document/ajax.php:861
-#: bp-templates/bp-nouveau/includes/document/ajax.php:998
-#: bp-templates/bp-nouveau/includes/document/ajax.php:1119
-#: bp-templates/bp-nouveau/includes/document/ajax.php:1206
-#: bp-templates/bp-nouveau/includes/document/ajax.php:1346
-#: bp-templates/bp-nouveau/includes/document/ajax.php:1528
-#: bp-templates/bp-nouveau/includes/document/ajax.php:1598
+#: bp-templates/bp-nouveau/includes/document/ajax.php:649
+#: bp-templates/bp-nouveau/includes/document/ajax.php:764
+#: bp-templates/bp-nouveau/includes/document/ajax.php:870
+#: bp-templates/bp-nouveau/includes/document/ajax.php:1007
+#: bp-templates/bp-nouveau/includes/document/ajax.php:1128
+#: bp-templates/bp-nouveau/includes/document/ajax.php:1215
+#: bp-templates/bp-nouveau/includes/document/ajax.php:1355
+#: bp-templates/bp-nouveau/includes/document/ajax.php:1537
+#: bp-templates/bp-nouveau/includes/document/ajax.php:1607
#: bp-templates/bp-nouveau/includes/follow/ajax.php:52
#: bp-templates/bp-nouveau/includes/friends/ajax.php:70
#: bp-templates/bp-nouveau/includes/groups/ajax.php:118
#: bp-templates/bp-nouveau/includes/groups/ajax.php:340
#: bp-templates/bp-nouveau/includes/media/ajax.php:132
#: bp-templates/bp-nouveau/includes/media/ajax.php:228
-#: bp-templates/bp-nouveau/includes/media/ajax.php:346
-#: bp-templates/bp-nouveau/includes/media/ajax.php:547
-#: bp-templates/bp-nouveau/includes/media/ajax.php:662
-#: bp-templates/bp-nouveau/includes/media/ajax.php:786
-#: bp-templates/bp-nouveau/includes/media/ajax.php:1429
+#: bp-templates/bp-nouveau/includes/media/ajax.php:354
+#: bp-templates/bp-nouveau/includes/media/ajax.php:555
+#: bp-templates/bp-nouveau/includes/media/ajax.php:670
+#: bp-templates/bp-nouveau/includes/media/ajax.php:794
+#: bp-templates/bp-nouveau/includes/media/ajax.php:1437
#: bp-templates/bp-nouveau/includes/video/ajax.php:155
#: bp-templates/bp-nouveau/includes/video/ajax.php:325
-#: bp-templates/bp-nouveau/includes/video/ajax.php:441
-#: bp-templates/bp-nouveau/includes/video/ajax.php:636
-#: bp-templates/bp-nouveau/includes/video/ajax.php:741
-#: bp-templates/bp-nouveau/includes/video/ajax.php:846
-#: bp-templates/bp-nouveau/includes/video/ajax.php:1431
-#: bp-templates/bp-nouveau/includes/video/ajax.php:1505
-#: bp-templates/bp-nouveau/includes/video/ajax.php:1607
-#: bp-templates/bp-nouveau/includes/video/ajax.php:1677
+#: bp-templates/bp-nouveau/includes/video/ajax.php:449
+#: bp-templates/bp-nouveau/includes/video/ajax.php:644
+#: bp-templates/bp-nouveau/includes/video/ajax.php:749
+#: bp-templates/bp-nouveau/includes/video/ajax.php:854
+#: bp-templates/bp-nouveau/includes/video/ajax.php:1439
+#: bp-templates/bp-nouveau/includes/video/ajax.php:1513
+#: bp-templates/bp-nouveau/includes/video/ajax.php:1615
+#: bp-templates/bp-nouveau/includes/video/ajax.php:1685
#: bp-templates/bp-nouveau/includes/xprofile/ajax.php:49
msgid "There was a problem performing this action. Please try again."
msgstr ""
@@ -4162,8 +4162,8 @@ msgstr ""
#: bp-core/admin/bp-core-admin-settings.php:1125
#: bp-core/admin/bp-core-admin-settings.php:3409
#: bp-core/admin/bp-core-admin-settings.php:3459
-#: bp-document/bp-document-functions.php:2047
-#: bp-groups/bp-groups-admin.php:2659 bp-video/bp-video-functions.php:2587
+#: bp-document/bp-document-functions.php:2059
+#: bp-groups/bp-groups-admin.php:2659 bp-video/bp-video-functions.php:2598
msgid "Default"
msgstr ""
@@ -5375,8 +5375,8 @@ msgstr ""
#: bp-core/admin/bp-core-admin-slugs.php:53 bp-core/bp-core-functions.php:797
#: bp-document/bp-document-filters.php:126
-#: bp-document/bp-document-functions.php:2234
-#: bp-document/bp-document-functions.php:2237
+#: bp-document/bp-document-functions.php:2246
+#: bp-document/bp-document-functions.php:2249
#: bp-document/classes/class-bp-document-component.php:70
#: bp-document/classes/class-bp-document-component.php:263
#: bp-document/classes/class-bp-document-component.php:265
@@ -6565,11 +6565,11 @@ msgid "Registration Settings"
msgstr ""
#: bp-core/admin/settings/bp-admin-setting-video.php:24
-#: bp-document/bp-document-functions.php:2092
+#: bp-document/bp-document-functions.php:2104
#: bp-moderation/classes/class-bp-moderation-activity.php:565
#: bp-moderation/classes/class-bp-moderation-activity.php:572
#: bp-moderation/classes/class-bp-moderation-video.php:220
-#: bp-video/bp-video-functions.php:2632
+#: bp-video/bp-video-functions.php:2643
msgid "Video"
msgstr ""
@@ -7104,15 +7104,15 @@ msgstr ""
#: bp-templates/bp-nouveau/buddypress/moderation/blocked-members-loop.php:50
#: bp-templates/bp-nouveau/buddypress/video/albums.php:66
#: bp-templates/bp-nouveau/buddypress/video/video-loop.php:38
-#: bp-templates/bp-nouveau/includes/document/ajax.php:961
-#: bp-templates/bp-nouveau/includes/document/ajax.php:1307
-#: bp-templates/bp-nouveau/includes/document/ajax.php:1465
+#: bp-templates/bp-nouveau/includes/document/ajax.php:970
+#: bp-templates/bp-nouveau/includes/document/ajax.php:1316
+#: bp-templates/bp-nouveau/includes/document/ajax.php:1474
#: bp-templates/bp-nouveau/includes/media/ajax.php:164
-#: bp-templates/bp-nouveau/includes/media/ajax.php:455
-#: bp-templates/bp-nouveau/includes/media/ajax.php:498
+#: bp-templates/bp-nouveau/includes/media/ajax.php:463
+#: bp-templates/bp-nouveau/includes/media/ajax.php:506
#: bp-templates/bp-nouveau/includes/video/ajax.php:187
-#: bp-templates/bp-nouveau/includes/video/ajax.php:547
-#: bp-templates/bp-nouveau/includes/video/ajax.php:590
+#: bp-templates/bp-nouveau/includes/video/ajax.php:555
+#: bp-templates/bp-nouveau/includes/video/ajax.php:598
msgid "Load More"
msgstr ""
@@ -8996,9 +8996,9 @@ msgstr ""
#: bp-members/classes/class-bp-members-ms-list-table.php:143
#: bp-templates/bp-nouveau/buddypress/document/document-loop.php:49
#: bp-templates/bp-nouveau/buddypress/members/single/invites/sent-invites.php:104
-#: bp-templates/bp-nouveau/includes/document/ajax.php:924
-#: bp-templates/bp-nouveau/includes/document/ajax.php:1269
-#: bp-templates/bp-nouveau/includes/document/ajax.php:1427
+#: bp-templates/bp-nouveau/includes/document/ajax.php:933
+#: bp-templates/bp-nouveau/includes/document/ajax.php:1278
+#: bp-templates/bp-nouveau/includes/document/ajax.php:1436
#: bp-templates/bp-nouveau/includes/members/functions.php:457
msgid "Name"
msgstr ""
@@ -10213,7 +10213,7 @@ msgstr ""
#: bp-core/classes/class-bp-admin-tab.php:300
#: bp-core/classes/class-bp-attachment.php:162
-#: bp-document/bp-document-functions.php:1532
+#: bp-document/bp-document-functions.php:1544
#: bp-media/bp-media-functions.php:183 bp-video/bp-video-functions.php:157
#: bp-video/bp-video-functions.php:305
msgid "No file was uploaded."
@@ -10406,28 +10406,28 @@ msgid "The uploaded file exceeds the maximum allowed file size of: %s"
msgstr ""
#: bp-core/classes/class-bp-attachment.php:161
-#: bp-document/bp-document-functions.php:1531
+#: bp-document/bp-document-functions.php:1543
#: bp-media/bp-media-functions.php:182 bp-video/bp-video-functions.php:156
#: bp-video/bp-video-functions.php:304
msgid "The uploaded file was only partially uploaded."
msgstr ""
#: bp-core/classes/class-bp-attachment.php:164
-#: bp-document/bp-document-functions.php:1534
+#: bp-document/bp-document-functions.php:1546
#: bp-media/bp-media-functions.php:185 bp-video/bp-video-functions.php:159
#: bp-video/bp-video-functions.php:307
msgid "Missing a temporary folder."
msgstr ""
#: bp-core/classes/class-bp-attachment.php:165
-#: bp-document/bp-document-functions.php:1535
+#: bp-document/bp-document-functions.php:1547
#: bp-media/bp-media-functions.php:186 bp-video/bp-video-functions.php:160
#: bp-video/bp-video-functions.php:308
msgid "Failed to write file to disk."
msgstr ""
#: bp-core/classes/class-bp-attachment.php:166
-#: bp-document/bp-document-functions.php:1536
+#: bp-document/bp-document-functions.php:1548
#: bp-media/bp-media-functions.php:187 bp-video/bp-video-functions.php:161
#: bp-video/bp-video-functions.php:309
msgid "File upload stopped by extension."
@@ -12107,11 +12107,11 @@ msgstr ""
#: bp-templates/bp-nouveau/includes/document/ajax.php:450
#: bp-templates/bp-nouveau/includes/document/functions.php:102
#: bp-templates/bp-nouveau/includes/document/functions.php:105
-#: bp-templates/bp-nouveau/includes/media/ajax.php:1322
-#: bp-templates/bp-nouveau/includes/media/ajax.php:1323
+#: bp-templates/bp-nouveau/includes/media/ajax.php:1330
+#: bp-templates/bp-nouveau/includes/media/ajax.php:1331
#: bp-templates/bp-nouveau/includes/messages/ajax.php:2737
-#: bp-templates/bp-nouveau/includes/video/ajax.php:1314
-#: bp-templates/bp-nouveau/includes/video/ajax.php:1315
+#: bp-templates/bp-nouveau/includes/video/ajax.php:1322
+#: bp-templates/bp-nouveau/includes/video/ajax.php:1323
msgid "Download"
msgstr ""
@@ -12136,85 +12136,85 @@ msgstr ""
msgid "Repairing documents … Complete!"
msgstr ""
-#: bp-document/bp-document-functions.php:1414
+#: bp-document/bp-document-functions.php:1426
msgid "Please login in order to upload file document."
msgstr ""
-#: bp-document/bp-document-functions.php:1530
+#: bp-document/bp-document-functions.php:1542
#: bp-video/bp-video-functions.php:155 bp-video/bp-video-functions.php:303
msgid "The uploaded file exceeds "
msgstr ""
-#: bp-document/bp-document-functions.php:1561
+#: bp-document/bp-document-functions.php:1573
msgid "Error while uploading document."
msgstr ""
-#: bp-document/bp-document-functions.php:2052
+#: bp-document/bp-document-functions.php:2064
#: bp-templates/bp-nouveau/buddypress/common/js-templates/messages/parts/bp-messages-single-header.php:164
#: bp-templates/bp-nouveau/buddypress/common/js-templates/messages/parts/bp-messages-single-header.php:250
#: bp-templates/bp-nouveau/buddypress/common/js-templates/messages/parts/bp-messages-thread.php:96
-#: bp-video/bp-video-functions.php:2592
+#: bp-video/bp-video-functions.php:2603
msgid "Archive"
msgstr ""
-#: bp-document/bp-document-functions.php:2057
-#: bp-video/bp-video-functions.php:2597
+#: bp-document/bp-document-functions.php:2069
+#: bp-video/bp-video-functions.php:2608
msgid "Audio"
msgstr ""
-#: bp-document/bp-document-functions.php:2062
-#: bp-video/bp-video-functions.php:2602
+#: bp-document/bp-document-functions.php:2074
+#: bp-video/bp-video-functions.php:2613
msgid "Code"
msgstr ""
-#: bp-document/bp-document-functions.php:2067
-#: bp-video/bp-video-functions.php:2607
+#: bp-document/bp-document-functions.php:2079
+#: bp-video/bp-video-functions.php:2618
msgid "Design"
msgstr ""
-#: bp-document/bp-document-functions.php:2072
+#: bp-document/bp-document-functions.php:2084
#: bp-templates/bp-nouveau/buddypress/common/js-templates/activity/parts/bp-activity-link-preview.php:51
#: bp-templates/bp-nouveau/buddypress/common/js-templates/members/bb-link-preview.php:44
-#: bp-video/bp-video-functions.php:2612
+#: bp-video/bp-video-functions.php:2623
msgid "Image"
msgstr ""
-#: bp-document/bp-document-functions.php:2077
-#: bp-video/bp-video-functions.php:2617
+#: bp-document/bp-document-functions.php:2089
+#: bp-video/bp-video-functions.php:2628
msgid "Presentation"
msgstr ""
-#: bp-document/bp-document-functions.php:2082
-#: bp-video/bp-video-functions.php:2622
+#: bp-document/bp-document-functions.php:2094
+#: bp-video/bp-video-functions.php:2633
msgid "Spreadsheet"
msgstr ""
-#: bp-document/bp-document-functions.php:2087
-#: bp-video/bp-video-functions.php:2627
+#: bp-document/bp-document-functions.php:2099
+#: bp-video/bp-video-functions.php:2638
msgid "Text"
msgstr ""
-#: bp-document/bp-document-functions.php:2241
+#: bp-document/bp-document-functions.php:2253
msgid "..."
msgstr ""
-#: bp-document/bp-document-functions.php:2630
+#: bp-document/bp-document-functions.php:2642
msgid "The document name is empty!"
msgstr ""
-#: bp-document/bp-document-functions.php:2633
+#: bp-document/bp-document-functions.php:2645
msgid "Bad characters or invalid document name!"
msgstr ""
-#: bp-document/bp-document-functions.php:2636
+#: bp-document/bp-document-functions.php:2648
msgid "A file with that name already exists in the containing folder!"
msgstr ""
-#: bp-document/bp-document-functions.php:2639
+#: bp-document/bp-document-functions.php:2651
msgid "The document containing directory is not writable!"
msgstr ""
-#: bp-document/bp-document-functions.php:2663
+#: bp-document/bp-document-functions.php:2675
msgid "File renaming error!"
msgstr ""
@@ -12716,7 +12716,7 @@ msgid "You don't have a permission to create a folder inside this group."
msgstr ""
#: bp-document/classes/class-bp-rest-document-folder-endpoint.php:525
-#: bp-templates/bp-nouveau/includes/document/ajax.php:700
+#: bp-templates/bp-nouveau/includes/document/ajax.php:709
msgid "You don't have a permission to create a folder inside this folder."
msgstr ""
@@ -17938,9 +17938,9 @@ msgstr ""
#: bp-forums/templates/default/bbpress/form-forum.php:97
#: bp-templates/bp-nouveau/buddypress/document/document-loop.php:74
#: bp-templates/bp-nouveau/buddypress/members/single/settings/profile.php:40
-#: bp-templates/bp-nouveau/includes/document/ajax.php:938
-#: bp-templates/bp-nouveau/includes/document/ajax.php:1283
-#: bp-templates/bp-nouveau/includes/document/ajax.php:1441
+#: bp-templates/bp-nouveau/includes/document/ajax.php:947
+#: bp-templates/bp-nouveau/includes/document/ajax.php:1292
+#: bp-templates/bp-nouveau/includes/document/ajax.php:1450
#: bp-xprofile/classes/class-bp-xprofile-field.php:1696
msgid "Visibility"
msgstr ""
@@ -24236,7 +24236,7 @@ msgstr ""
msgid "Re-Run Migration"
msgstr ""
-#: bp-media/bp-media-filters.php:1444 bp-media/bp-media-functions.php:2280
+#: bp-media/bp-media-filters.php:1444 bp-media/bp-media-functions.php:2292
msgid ""
"BuddyBoss Media data update is complete! Any previously uploaded member "
"photos should display in their profiles now."
@@ -24311,7 +24311,7 @@ msgstr ""
msgid "Error while uploading media."
msgstr ""
-#: bp-media/bp-media-functions.php:2281
+#: bp-media/bp-media-functions.php:2293
msgid "BuddyBoss Media data update is failing!"
msgstr ""
@@ -27026,7 +27026,7 @@ msgstr ""
#: bp-templates/bp-nouveau/buddypress/media/entry.php:338
#: bp-templates/bp-nouveau/buddypress/video/entry.php:158
#: bp-templates/bp-nouveau/includes/media/functions.php:185
-#: bp-templates/bp-nouveau/includes/video/ajax.php:1553
+#: bp-templates/bp-nouveau/includes/video/ajax.php:1561
#: bp-templates/bp-nouveau/includes/video/functions.php:147
#: bp-xprofile/classes/class-bp-xprofile-field-type-gender.php:204
#: bp-xprofile/classes/class-bp-xprofile-field-type-multiselectbox.php:208
@@ -28308,8 +28308,8 @@ msgstr ""
#: bp-templates/bp-nouveau/includes/activity/template-tags.php:1687
#: bp-templates/bp-nouveau/includes/activity/template-tags.php:2242
#: bp-templates/bp-nouveau/includes/document/ajax.php:442
-#: bp-templates/bp-nouveau/includes/media/ajax.php:1315
-#: bp-templates/bp-nouveau/includes/video/ajax.php:1307
+#: bp-templates/bp-nouveau/includes/media/ajax.php:1323
+#: bp-templates/bp-nouveau/includes/video/ajax.php:1315
msgid "More Options"
msgstr ""
@@ -30454,9 +30454,9 @@ msgid "Edit Post Privacy"
msgstr ""
#: bp-templates/bp-nouveau/buddypress/document/document-loop.php:55
-#: bp-templates/bp-nouveau/includes/document/ajax.php:931
-#: bp-templates/bp-nouveau/includes/document/ajax.php:1276
-#: bp-templates/bp-nouveau/includes/document/ajax.php:1434
+#: bp-templates/bp-nouveau/includes/document/ajax.php:940
+#: bp-templates/bp-nouveau/includes/document/ajax.php:1285
+#: bp-templates/bp-nouveau/includes/document/ajax.php:1443
msgid "Modified"
msgstr ""
@@ -31452,15 +31452,15 @@ msgstr ""
#: bp-templates/bp-nouveau/includes/document/ajax.php:257
#: bp-templates/bp-nouveau/includes/document/ajax.php:336
#: bp-templates/bp-nouveau/includes/document/ajax.php:517
-#: bp-templates/bp-nouveau/includes/media/ajax.php:860
-#: bp-templates/bp-nouveau/includes/media/ajax.php:939
-#: bp-templates/bp-nouveau/includes/media/ajax.php:982
-#: bp-templates/bp-nouveau/includes/media/ajax.php:1209
+#: bp-templates/bp-nouveau/includes/media/ajax.php:868
+#: bp-templates/bp-nouveau/includes/media/ajax.php:947
+#: bp-templates/bp-nouveau/includes/media/ajax.php:990
+#: bp-templates/bp-nouveau/includes/media/ajax.php:1217
#: bp-templates/bp-nouveau/includes/video/ajax.php:282
-#: bp-templates/bp-nouveau/includes/video/ajax.php:915
-#: bp-templates/bp-nouveau/includes/video/ajax.php:1024
-#: bp-templates/bp-nouveau/includes/video/ajax.php:1067
-#: bp-templates/bp-nouveau/includes/video/ajax.php:1256
+#: bp-templates/bp-nouveau/includes/video/ajax.php:923
+#: bp-templates/bp-nouveau/includes/video/ajax.php:1032
+#: bp-templates/bp-nouveau/includes/video/ajax.php:1075
+#: bp-templates/bp-nouveau/includes/video/ajax.php:1264
msgid "There was a problem displaying the content. Please try again."
msgstr ""
@@ -31719,10 +31719,10 @@ msgstr ""
#: bp-templates/bp-nouveau/includes/activity/template-tags.php:1594
#: bp-templates/bp-nouveau/includes/document/ajax.php:476
#: bp-templates/bp-nouveau/includes/document/ajax.php:482
-#: bp-templates/bp-nouveau/includes/media/ajax.php:1349
-#: bp-templates/bp-nouveau/includes/media/ajax.php:1355
-#: bp-templates/bp-nouveau/includes/video/ajax.php:1341
-#: bp-templates/bp-nouveau/includes/video/ajax.php:1347
+#: bp-templates/bp-nouveau/includes/media/ajax.php:1357
+#: bp-templates/bp-nouveau/includes/media/ajax.php:1363
+#: bp-templates/bp-nouveau/includes/video/ajax.php:1349
+#: bp-templates/bp-nouveau/includes/video/ajax.php:1355
msgid "Add a description"
msgstr ""
@@ -31730,8 +31730,8 @@ msgstr ""
#: bp-templates/bp-nouveau/includes/activity/template-tags.php:1545
#: bp-templates/bp-nouveau/includes/activity/template-tags.php:1598
#: bp-templates/bp-nouveau/includes/document/ajax.php:486
-#: bp-templates/bp-nouveau/includes/media/ajax.php:1359
-#: bp-templates/bp-nouveau/includes/video/ajax.php:1351
+#: bp-templates/bp-nouveau/includes/media/ajax.php:1367
+#: bp-templates/bp-nouveau/includes/video/ajax.php:1359
msgid "Done Editing"
msgstr ""
@@ -31873,9 +31873,9 @@ msgid "uploaded a document"
msgstr ""
#: bp-templates/bp-nouveau/includes/document/ajax.php:530
-#: bp-templates/bp-nouveau/includes/media/ajax.php:957
+#: bp-templates/bp-nouveau/includes/media/ajax.php:965
#: bp-templates/bp-nouveau/includes/video/ajax.php:300
-#: bp-templates/bp-nouveau/includes/video/ajax.php:1042
+#: bp-templates/bp-nouveau/includes/video/ajax.php:1050
msgid "Please provide attachment id to delete."
msgstr ""
@@ -31887,92 +31887,96 @@ msgstr ""
msgid "Please login to upload a document."
msgstr ""
-#: bp-templates/bp-nouveau/includes/document/ajax.php:658
-#: bp-templates/bp-nouveau/includes/document/ajax.php:780
+#: bp-templates/bp-nouveau/includes/document/ajax.php:634
+msgid "There was a problem when trying to save the document."
+msgstr ""
+
+#: bp-templates/bp-nouveau/includes/document/ajax.php:667
+#: bp-templates/bp-nouveau/includes/document/ajax.php:789
msgid "Please login to create a folder."
msgstr ""
-#: bp-templates/bp-nouveau/includes/document/ajax.php:665
-#: bp-templates/bp-nouveau/includes/document/ajax.php:775
-#: bp-templates/bp-nouveau/includes/document/ajax.php:1142
+#: bp-templates/bp-nouveau/includes/document/ajax.php:674
+#: bp-templates/bp-nouveau/includes/document/ajax.php:784
+#: bp-templates/bp-nouveau/includes/document/ajax.php:1151
msgid "Please enter title of folder."
msgstr ""
-#: bp-templates/bp-nouveau/includes/document/ajax.php:671
-#: bp-templates/bp-nouveau/includes/document/ajax.php:785
-#: bp-templates/bp-nouveau/includes/document/ajax.php:1078
-#: bp-templates/bp-nouveau/includes/document/ajax.php:1151
+#: bp-templates/bp-nouveau/includes/document/ajax.php:680
+#: bp-templates/bp-nouveau/includes/document/ajax.php:794
+#: bp-templates/bp-nouveau/includes/document/ajax.php:1087
+#: bp-templates/bp-nouveau/includes/document/ajax.php:1160
msgid "Invalid folder name"
msgstr ""
-#: bp-templates/bp-nouveau/includes/document/ajax.php:716
-#: bp-templates/bp-nouveau/includes/document/ajax.php:819
+#: bp-templates/bp-nouveau/includes/document/ajax.php:725
+#: bp-templates/bp-nouveau/includes/document/ajax.php:828
msgid "There was a problem when trying to create the folder."
msgstr ""
-#: bp-templates/bp-nouveau/includes/document/ajax.php:803
+#: bp-templates/bp-nouveau/includes/document/ajax.php:812
msgid "You don't have permission to create folder inside this folder."
msgstr ""
-#: bp-templates/bp-nouveau/includes/document/ajax.php:890
-#: bp-templates/bp-nouveau/includes/document/ajax.php:898
+#: bp-templates/bp-nouveau/includes/document/ajax.php:899
+#: bp-templates/bp-nouveau/includes/document/ajax.php:907
msgid "You don't have permission to move this document."
msgstr ""
-#: bp-templates/bp-nouveau/includes/document/ajax.php:921
-#: bp-templates/bp-nouveau/includes/document/ajax.php:1266
-#: bp-templates/bp-nouveau/includes/document/ajax.php:1424
+#: bp-templates/bp-nouveau/includes/document/ajax.php:930
+#: bp-templates/bp-nouveau/includes/document/ajax.php:1275
+#: bp-templates/bp-nouveau/includes/document/ajax.php:1433
msgid "Sort By:"
msgstr ""
-#: bp-templates/bp-nouveau/includes/document/ajax.php:1028
+#: bp-templates/bp-nouveau/includes/document/ajax.php:1037
msgid "You don't have a permission to rename the document."
msgstr ""
-#: bp-templates/bp-nouveau/includes/document/ajax.php:1085
+#: bp-templates/bp-nouveau/includes/document/ajax.php:1094
msgid "You don't have permission to rename folder"
msgstr ""
-#: bp-templates/bp-nouveau/includes/document/ajax.php:1164
+#: bp-templates/bp-nouveau/includes/document/ajax.php:1173
msgid "You don't have permission to rename this folder"
msgstr ""
-#: bp-templates/bp-nouveau/includes/document/ajax.php:1184
+#: bp-templates/bp-nouveau/includes/document/ajax.php:1193
msgid "There was a problem when trying to rename the folder."
msgstr ""
-#: bp-templates/bp-nouveau/includes/document/ajax.php:1371
-#: bp-templates/bp-nouveau/includes/document/ajax.php:1379
+#: bp-templates/bp-nouveau/includes/document/ajax.php:1380
+#: bp-templates/bp-nouveau/includes/document/ajax.php:1388
msgid "You don't have permission to move this folder."
msgstr ""
-#: bp-templates/bp-nouveau/includes/document/ajax.php:1392
+#: bp-templates/bp-nouveau/includes/document/ajax.php:1401
msgid "Couldn’t move item. "
msgstr ""
-#: bp-templates/bp-nouveau/includes/document/ajax.php:1404
+#: bp-templates/bp-nouveau/includes/document/ajax.php:1413
msgid "Couldn’t move item because it's parent folder. "
msgstr ""
-#: bp-templates/bp-nouveau/includes/document/ajax.php:1507
+#: bp-templates/bp-nouveau/includes/document/ajax.php:1516
msgid " Documents"
msgstr ""
-#: bp-templates/bp-nouveau/includes/document/ajax.php:1538
+#: bp-templates/bp-nouveau/includes/document/ajax.php:1547
msgid "Please login to edit a privacy."
msgstr ""
-#: bp-templates/bp-nouveau/includes/document/ajax.php:1559
+#: bp-templates/bp-nouveau/includes/document/ajax.php:1568
msgid "You don't have permission to update this folder privacy."
msgstr ""
-#: bp-templates/bp-nouveau/includes/document/ajax.php:1567
+#: bp-templates/bp-nouveau/includes/document/ajax.php:1576
msgid "You don't have permission to update this document privacy."
msgstr ""
-#: bp-templates/bp-nouveau/includes/document/ajax.php:1574
-#: bp-templates/bp-nouveau/includes/media/ajax.php:717
-#: bp-templates/bp-nouveau/includes/video/ajax.php:788
+#: bp-templates/bp-nouveau/includes/document/ajax.php:1583
+#: bp-templates/bp-nouveau/includes/media/ajax.php:725
+#: bp-templates/bp-nouveau/includes/video/ajax.php:796
msgid "Invalid privacy status."
msgstr ""
@@ -32529,13 +32533,13 @@ msgstr ""
#: bp-templates/bp-nouveau/includes/functions.php:1000
#: bp-templates/bp-nouveau/includes/functions.php:1020
-#: bp-templates/bp-nouveau/includes/media/ajax.php:463
-#: bp-templates/bp-nouveau/includes/media/ajax.php:506
+#: bp-templates/bp-nouveau/includes/media/ajax.php:471
+#: bp-templates/bp-nouveau/includes/media/ajax.php:514
msgid "Sorry, no photos were found."
msgstr ""
#: bp-templates/bp-nouveau/includes/functions.php:1004
-#: bp-templates/bp-nouveau/includes/media/ajax.php:463
+#: bp-templates/bp-nouveau/includes/media/ajax.php:471
msgid "Sorry, no photos or videos were found."
msgstr ""
@@ -32984,90 +32988,94 @@ msgid "widgets (content blocks)"
msgstr ""
#: bp-templates/bp-nouveau/includes/media/ajax.php:260
-#: bp-templates/bp-nouveau/includes/media/ajax.php:570
+#: bp-templates/bp-nouveau/includes/media/ajax.php:578
msgid "Please upload media before saving."
msgstr ""
-#: bp-templates/bp-nouveau/includes/media/ajax.php:373
+#: bp-templates/bp-nouveau/includes/media/ajax.php:295
+msgid "There was a problem saving media."
+msgstr ""
+
+#: bp-templates/bp-nouveau/includes/media/ajax.php:381
msgid "Please select media to delete."
msgstr ""
-#: bp-templates/bp-nouveau/includes/media/ajax.php:394
+#: bp-templates/bp-nouveau/includes/media/ajax.php:402
msgid "There was a problem deleting media."
msgstr ""
-#: bp-templates/bp-nouveau/includes/media/ajax.php:506
+#: bp-templates/bp-nouveau/includes/media/ajax.php:514
msgid "Sorry, no photos & videos were found."
msgstr ""
-#: bp-templates/bp-nouveau/includes/media/ajax.php:581
+#: bp-templates/bp-nouveau/includes/media/ajax.php:589
msgid "Please provide album to move media."
msgstr ""
-#: bp-templates/bp-nouveau/includes/media/ajax.php:598
+#: bp-templates/bp-nouveau/includes/media/ajax.php:606
msgid "There was a problem when trying to move the media."
msgstr ""
-#: bp-templates/bp-nouveau/includes/media/ajax.php:685
-#: bp-templates/bp-nouveau/includes/video/ajax.php:764
+#: bp-templates/bp-nouveau/includes/media/ajax.php:693
+#: bp-templates/bp-nouveau/includes/video/ajax.php:772
msgid "Please enter title of album."
msgstr ""
-#: bp-templates/bp-nouveau/includes/media/ajax.php:735
-#: bp-templates/bp-nouveau/includes/video/ajax.php:806
+#: bp-templates/bp-nouveau/includes/media/ajax.php:743
+#: bp-templates/bp-nouveau/includes/video/ajax.php:814
msgid "There was a problem when trying to create the album."
msgstr ""
-#: bp-templates/bp-nouveau/includes/media/ajax.php:810
-#: bp-templates/bp-nouveau/includes/video/ajax.php:870
+#: bp-templates/bp-nouveau/includes/media/ajax.php:818
+#: bp-templates/bp-nouveau/includes/video/ajax.php:878
msgid "Please provide ID of album to delete."
msgstr ""
-#: bp-templates/bp-nouveau/includes/media/ajax.php:819
-#: bp-templates/bp-nouveau/includes/video/ajax.php:879
+#: bp-templates/bp-nouveau/includes/media/ajax.php:827
+#: bp-templates/bp-nouveau/includes/video/ajax.php:887
msgid "You do not have permission to delete this album."
msgstr ""
-#: bp-templates/bp-nouveau/includes/media/ajax.php:1000
+#: bp-templates/bp-nouveau/includes/media/ajax.php:1008
msgid "Please provide media id to update."
msgstr ""
-#: bp-templates/bp-nouveau/includes/media/ajax.php:1011
-#: bp-templates/bp-nouveau/includes/video/ajax.php:1096
+#: bp-templates/bp-nouveau/includes/media/ajax.php:1019
+#: bp-templates/bp-nouveau/includes/video/ajax.php:1104
msgid "Please provide privacy to update."
msgstr ""
-#: bp-templates/bp-nouveau/includes/media/ajax.php:1020
-#: bp-templates/bp-nouveau/includes/video/ajax.php:1105
+#: bp-templates/bp-nouveau/includes/media/ajax.php:1028
+#: bp-templates/bp-nouveau/includes/video/ajax.php:1113
msgid "Privacy option is not valid."
msgstr ""
-#: bp-templates/bp-nouveau/includes/media/ajax.php:1029
+#: bp-templates/bp-nouveau/includes/media/ajax.php:1037
msgid "You don't have a permission to update privacy."
msgstr ""
-#: bp-templates/bp-nouveau/includes/media/ajax.php:1063
-#: bp-templates/bp-nouveau/includes/video/ajax.php:1127
+#: bp-templates/bp-nouveau/includes/media/ajax.php:1071
+#: bp-templates/bp-nouveau/includes/video/ajax.php:1135
msgid "There was a problem. Please try again."
msgstr ""
-#: bp-templates/bp-nouveau/includes/media/ajax.php:1081
-#: bp-templates/bp-nouveau/includes/media/ajax.php:1092
-#: bp-templates/bp-nouveau/includes/video/ajax.php:1145
-#: bp-templates/bp-nouveau/includes/video/ajax.php:1156
+#: bp-templates/bp-nouveau/includes/media/ajax.php:1089
+#: bp-templates/bp-nouveau/includes/media/ajax.php:1100
+#: bp-templates/bp-nouveau/includes/video/ajax.php:1153
+#: bp-templates/bp-nouveau/includes/video/ajax.php:1164
msgid "There was an error in updating a description. Please try again."
msgstr ""
-#: bp-templates/bp-nouveau/includes/media/ajax.php:1338
+#: bp-templates/bp-nouveau/includes/media/ajax.php:1346
msgid "uploaded an image"
msgstr ""
-#: bp-templates/bp-nouveau/includes/media/ajax.php:1400
+#: bp-templates/bp-nouveau/includes/media/ajax.php:1408
msgid " Medias"
msgstr ""
-#: bp-templates/bp-nouveau/includes/media/ajax.php:1463
#: bp-templates/bp-nouveau/includes/media/ajax.php:1471
+#: bp-templates/bp-nouveau/includes/media/ajax.php:1479
msgid "You don't have permission to move this media."
msgstr ""
@@ -33461,46 +33469,50 @@ msgid "By creating an account you are agreeing to the %s."
msgstr ""
#: bp-templates/bp-nouveau/includes/video/ajax.php:357
-#: bp-templates/bp-nouveau/includes/video/ajax.php:659
+#: bp-templates/bp-nouveau/includes/video/ajax.php:667
msgid "Please upload video before saving."
msgstr ""
-#: bp-templates/bp-nouveau/includes/video/ajax.php:466
+#: bp-templates/bp-nouveau/includes/video/ajax.php:392
+msgid "There was a problem saving video."
+msgstr ""
+
+#: bp-templates/bp-nouveau/includes/video/ajax.php:474
msgid "Please select video to delete."
msgstr ""
-#: bp-templates/bp-nouveau/includes/video/ajax.php:487
+#: bp-templates/bp-nouveau/includes/video/ajax.php:495
msgid "There was a problem deleting video."
msgstr ""
-#: bp-templates/bp-nouveau/includes/video/ajax.php:555
-#: bp-templates/bp-nouveau/includes/video/ajax.php:598
+#: bp-templates/bp-nouveau/includes/video/ajax.php:563
+#: bp-templates/bp-nouveau/includes/video/ajax.php:606
#: bp-templates/bp-nouveau/includes/video/functions.php:151
msgid "Sorry, no videos were found"
msgstr ""
-#: bp-templates/bp-nouveau/includes/video/ajax.php:670
+#: bp-templates/bp-nouveau/includes/video/ajax.php:678
msgid "Please provide album to move video."
msgstr ""
-#: bp-templates/bp-nouveau/includes/video/ajax.php:696
+#: bp-templates/bp-nouveau/includes/video/ajax.php:704
msgid "There was a problem when trying to move the video."
msgstr ""
-#: bp-templates/bp-nouveau/includes/video/ajax.php:1085
+#: bp-templates/bp-nouveau/includes/video/ajax.php:1093
msgid "Please provide video id to update."
msgstr ""
-#: bp-templates/bp-nouveau/includes/video/ajax.php:1330
+#: bp-templates/bp-nouveau/includes/video/ajax.php:1338
msgid "uploaded an video"
msgstr ""
-#: bp-templates/bp-nouveau/includes/video/ajax.php:1406
+#: bp-templates/bp-nouveau/includes/video/ajax.php:1414
msgid " Videos"
msgstr ""
-#: bp-templates/bp-nouveau/includes/video/ajax.php:1465
#: bp-templates/bp-nouveau/includes/video/ajax.php:1473
+#: bp-templates/bp-nouveau/includes/video/ajax.php:1481
msgid "You don't have permission to move this video."
msgstr ""
@@ -33625,11 +33637,11 @@ msgstr ""
msgid "Error while uploading video."
msgstr ""
-#: bp-video/bp-video-functions.php:4166
+#: bp-video/bp-video-functions.php:4177
msgid "FFMpeg\\FFMpeg class not found"
msgstr ""
-#: bp-video/bp-video-functions.php:4214
+#: bp-video/bp-video-functions.php:4225
msgid "FFMpeg\\FFProbe class not found"
msgstr ""
@@ -34342,7 +34354,7 @@ msgstr ""
#: bp-xprofile/classes/class-bp-rest-xprofile-fields-endpoint.php:279
#: bp-xprofile/classes/class-bp-rest-xprofile-fields-endpoint.php:345
#: bp-xprofile/classes/class-bp-rest-xprofile-fields-endpoint.php:789
-#: bp-xprofile/classes/class-bp-rest-xprofile-fields-endpoint.php:1834
+#: bp-xprofile/classes/class-bp-rest-xprofile-fields-endpoint.php:1846
msgid "Invalid field ID."
msgstr ""
@@ -34380,17 +34392,17 @@ msgid "The value of the field data."
msgstr ""
#: bp-xprofile/classes/class-bp-rest-xprofile-data-endpoint.php:647
-#: bp-xprofile/classes/class-bp-rest-xprofile-fields-endpoint.php:1368
+#: bp-xprofile/classes/class-bp-rest-xprofile-fields-endpoint.php:1380
msgid "Value for the field, as it exists in the database."
msgstr ""
#: bp-xprofile/classes/class-bp-rest-xprofile-data-endpoint.php:652
-#: bp-xprofile/classes/class-bp-rest-xprofile-fields-endpoint.php:1373
+#: bp-xprofile/classes/class-bp-rest-xprofile-fields-endpoint.php:1385
msgid "Unserialized value for the field, regular string will be casted as array."
msgstr ""
#: bp-xprofile/classes/class-bp-rest-xprofile-data-endpoint.php:661
-#: bp-xprofile/classes/class-bp-rest-xprofile-fields-endpoint.php:1379
+#: bp-xprofile/classes/class-bp-rest-xprofile-fields-endpoint.php:1391
msgid "HTML value for the field, transformed for display."
msgstr ""
@@ -34472,7 +34484,7 @@ msgstr ""
#: bp-xprofile/classes/class-bp-rest-xprofile-field-groups-endpoint.php:919
#: bp-xprofile/classes/class-bp-rest-xprofile-field-groups-endpoint.php:944
-#: bp-xprofile/classes/class-bp-rest-xprofile-fields-endpoint.php:1416
+#: bp-xprofile/classes/class-bp-rest-xprofile-fields-endpoint.php:1428
#: bp-xprofile/classes/class-bp-rest-xprofile-update-endpoint.php:405
#: bp-xprofile/classes/class-bp-rest-xprofile-update-endpoint.php:422
msgid ""
@@ -34482,12 +34494,12 @@ msgstr ""
#: bp-xprofile/classes/class-bp-rest-xprofile-field-groups-endpoint.php:927
#: bp-xprofile/classes/class-bp-rest-xprofile-fields-endpoint.php:84
-#: bp-xprofile/classes/class-bp-rest-xprofile-fields-endpoint.php:1424
+#: bp-xprofile/classes/class-bp-rest-xprofile-fields-endpoint.php:1436
msgid "Required if you want to load a specific user's data."
msgstr ""
#: bp-xprofile/classes/class-bp-rest-xprofile-field-groups-endpoint.php:935
-#: bp-xprofile/classes/class-bp-rest-xprofile-fields-endpoint.php:1432
+#: bp-xprofile/classes/class-bp-rest-xprofile-fields-endpoint.php:1444
#: bp-xprofile/classes/class-bp-rest-xprofile-update-endpoint.php:413
msgid ""
"Limit fields by those restricted to a given member type, or array of member "
@@ -34504,33 +34516,33 @@ msgid "Whether to fetch the fields for each group."
msgstr ""
#: bp-xprofile/classes/class-bp-rest-xprofile-field-groups-endpoint.php:960
-#: bp-xprofile/classes/class-bp-rest-xprofile-fields-endpoint.php:1449
+#: bp-xprofile/classes/class-bp-rest-xprofile-fields-endpoint.php:1461
#: bp-xprofile/classes/class-bp-rest-xprofile-repeater-endpoint.php:823
#: bp-xprofile/classes/class-bp-rest-xprofile-update-endpoint.php:438
msgid "Whether to fetch data for each field. Requires a $user_id."
msgstr ""
#: bp-xprofile/classes/class-bp-rest-xprofile-field-groups-endpoint.php:968
-#: bp-xprofile/classes/class-bp-rest-xprofile-fields-endpoint.php:1457
+#: bp-xprofile/classes/class-bp-rest-xprofile-fields-endpoint.php:1469
#: bp-xprofile/classes/class-bp-rest-xprofile-repeater-endpoint.php:831
#: bp-xprofile/classes/class-bp-rest-xprofile-update-endpoint.php:446
msgid "Whether to fetch the visibility level for each field."
msgstr ""
#: bp-xprofile/classes/class-bp-rest-xprofile-field-groups-endpoint.php:976
-#: bp-xprofile/classes/class-bp-rest-xprofile-fields-endpoint.php:1465
+#: bp-xprofile/classes/class-bp-rest-xprofile-fields-endpoint.php:1477
#: bp-xprofile/classes/class-bp-rest-xprofile-update-endpoint.php:454
msgid "Ensure result set excludes specific profile field groups."
msgstr ""
#: bp-xprofile/classes/class-bp-rest-xprofile-field-groups-endpoint.php:985
-#: bp-xprofile/classes/class-bp-rest-xprofile-fields-endpoint.php:1474
+#: bp-xprofile/classes/class-bp-rest-xprofile-fields-endpoint.php:1486
#: bp-xprofile/classes/class-bp-rest-xprofile-update-endpoint.php:463
msgid "Ensure result set excludes specific profile fields."
msgstr ""
#: bp-xprofile/classes/class-bp-rest-xprofile-field-groups-endpoint.php:994
-#: bp-xprofile/classes/class-bp-rest-xprofile-fields-endpoint.php:1483
+#: bp-xprofile/classes/class-bp-rest-xprofile-fields-endpoint.php:1495
#: bp-xprofile/classes/class-bp-rest-xprofile-update-endpoint.php:472
msgid ""
"Whether to pre-fetch xprofilemeta for all retrieved groups, fields, and "
@@ -34538,7 +34550,7 @@ msgid ""
msgstr ""
#: bp-xprofile/classes/class-bp-rest-xprofile-fields-endpoint.php:74
-#: bp-xprofile/classes/class-bp-rest-xprofile-fields-endpoint.php:1251
+#: bp-xprofile/classes/class-bp-rest-xprofile-fields-endpoint.php:1263
msgid "A unique numeric ID for the profile field."
msgstr ""
@@ -34580,96 +34592,96 @@ msgstr ""
msgid "Sorry, you are not allowed to delete this field."
msgstr ""
-#: bp-xprofile/classes/class-bp-rest-xprofile-fields-endpoint.php:1170
-#: bp-xprofile/classes/class-bp-rest-xprofile-fields-endpoint.php:1193
+#: bp-xprofile/classes/class-bp-rest-xprofile-fields-endpoint.php:1182
+#: bp-xprofile/classes/class-bp-rest-xprofile-fields-endpoint.php:1205
msgid ""
"Whether to allow members to set the visibility for the profile field data "
"or not."
msgstr ""
-#: bp-xprofile/classes/class-bp-rest-xprofile-fields-endpoint.php:1185
+#: bp-xprofile/classes/class-bp-rest-xprofile-fields-endpoint.php:1197
msgid "Default visibility for the profile field."
msgstr ""
-#: bp-xprofile/classes/class-bp-rest-xprofile-fields-endpoint.php:1201
+#: bp-xprofile/classes/class-bp-rest-xprofile-fields-endpoint.php:1213
msgid "Autolink status for this profile field"
msgstr ""
-#: bp-xprofile/classes/class-bp-rest-xprofile-fields-endpoint.php:1257
+#: bp-xprofile/classes/class-bp-rest-xprofile-fields-endpoint.php:1269
msgid "The ID of the group the field is part of."
msgstr ""
-#: bp-xprofile/classes/class-bp-rest-xprofile-fields-endpoint.php:1262
+#: bp-xprofile/classes/class-bp-rest-xprofile-fields-endpoint.php:1274
msgid "The ID of the parent field."
msgstr ""
-#: bp-xprofile/classes/class-bp-rest-xprofile-fields-endpoint.php:1267
+#: bp-xprofile/classes/class-bp-rest-xprofile-fields-endpoint.php:1279
msgid "The type for the profile field."
msgstr ""
-#: bp-xprofile/classes/class-bp-rest-xprofile-fields-endpoint.php:1276
+#: bp-xprofile/classes/class-bp-rest-xprofile-fields-endpoint.php:1288
msgid "The name of the profile field."
msgstr ""
-#: bp-xprofile/classes/class-bp-rest-xprofile-fields-endpoint.php:1284
+#: bp-xprofile/classes/class-bp-rest-xprofile-fields-endpoint.php:1296
msgid "The alternate name of the profile field."
msgstr ""
-#: bp-xprofile/classes/class-bp-rest-xprofile-fields-endpoint.php:1293
+#: bp-xprofile/classes/class-bp-rest-xprofile-fields-endpoint.php:1305
msgid "The description of the profile field."
msgstr ""
-#: bp-xprofile/classes/class-bp-rest-xprofile-fields-endpoint.php:1303
+#: bp-xprofile/classes/class-bp-rest-xprofile-fields-endpoint.php:1315
msgid "Content for the profile field, as it exists in the database."
msgstr ""
-#: bp-xprofile/classes/class-bp-rest-xprofile-fields-endpoint.php:1308
+#: bp-xprofile/classes/class-bp-rest-xprofile-fields-endpoint.php:1320
msgid "HTML content for the profile field, transformed for display."
msgstr ""
-#: bp-xprofile/classes/class-bp-rest-xprofile-fields-endpoint.php:1317
+#: bp-xprofile/classes/class-bp-rest-xprofile-fields-endpoint.php:1329
msgid "Whether the profile field must have a value."
msgstr ""
-#: bp-xprofile/classes/class-bp-rest-xprofile-fields-endpoint.php:1322
+#: bp-xprofile/classes/class-bp-rest-xprofile-fields-endpoint.php:1334
msgid "Whether the profile field can be deleted or not."
msgstr ""
-#: bp-xprofile/classes/class-bp-rest-xprofile-fields-endpoint.php:1328
+#: bp-xprofile/classes/class-bp-rest-xprofile-fields-endpoint.php:1340
msgid "The order of the profile field into the group of fields."
msgstr ""
-#: bp-xprofile/classes/class-bp-rest-xprofile-fields-endpoint.php:1333
+#: bp-xprofile/classes/class-bp-rest-xprofile-fields-endpoint.php:1345
msgid "The order of the option into the profile field list of options"
msgstr ""
-#: bp-xprofile/classes/class-bp-rest-xprofile-fields-endpoint.php:1338
+#: bp-xprofile/classes/class-bp-rest-xprofile-fields-endpoint.php:1350
msgid "The way profile field's options are ordered."
msgstr ""
-#: bp-xprofile/classes/class-bp-rest-xprofile-fields-endpoint.php:1345
+#: bp-xprofile/classes/class-bp-rest-xprofile-fields-endpoint.php:1357
msgid "Whether the option is the default one for the profile field."
msgstr ""
-#: bp-xprofile/classes/class-bp-rest-xprofile-fields-endpoint.php:1350
+#: bp-xprofile/classes/class-bp-rest-xprofile-fields-endpoint.php:1362
#: bp-xprofile/classes/class-bp-rest-xprofile-update-endpoint.php:388
msgid "Who may see the saved value for this profile field."
msgstr ""
-#: bp-xprofile/classes/class-bp-rest-xprofile-fields-endpoint.php:1357
+#: bp-xprofile/classes/class-bp-rest-xprofile-fields-endpoint.php:1369
msgid "Options of the profile field."
msgstr ""
-#: bp-xprofile/classes/class-bp-rest-xprofile-fields-endpoint.php:1363
+#: bp-xprofile/classes/class-bp-rest-xprofile-fields-endpoint.php:1375
msgid "The saved value for this profile field."
msgstr ""
-#: bp-xprofile/classes/class-bp-rest-xprofile-fields-endpoint.php:1408
+#: bp-xprofile/classes/class-bp-rest-xprofile-fields-endpoint.php:1420
#: bp-xprofile/classes/class-bp-rest-xprofile-update-endpoint.php:378
msgid "ID of the profile group of fields that have profile fields"
msgstr ""
-#: bp-xprofile/classes/class-bp-rest-xprofile-fields-endpoint.php:1441
+#: bp-xprofile/classes/class-bp-rest-xprofile-fields-endpoint.php:1453
msgid "Whether to hide profile fields where the user has not provided data or not."
msgstr ""
@@ -35357,32 +35369,32 @@ msgctxt "member latest update in member directory"
msgid "- "%s""
msgstr ""
-#: bp-document/bp-document-functions.php:3465
+#: bp-document/bp-document-functions.php:3477
#. translators: Memory unit for terabyte.
msgctxt "memory unit"
msgid "TB"
msgstr ""
-#: bp-document/bp-document-functions.php:3467
+#: bp-document/bp-document-functions.php:3479
#. translators: Memory unit for gigabyte.
msgctxt "memory unit"
msgid "GB"
msgstr ""
-#: bp-document/bp-document-functions.php:3469
+#: bp-document/bp-document-functions.php:3481
#. translators: Memory unit for megabyte.
msgctxt "memory unit"
msgid "MB"
msgstr ""
-#: bp-document/bp-document-functions.php:3471
+#: bp-document/bp-document-functions.php:3483
#. translators: Memory unit for kilobyte.
msgctxt "memory unit"
msgid "KB"
msgstr ""
-#: bp-document/bp-document-functions.php:3473
-#: bp-document/bp-document-functions.php:3478
+#: bp-document/bp-document-functions.php:3485
+#: bp-document/bp-document-functions.php:3490
#. translators: Memory unit for byte.
msgctxt "memory unit"
msgid "B"
diff --git a/src/readme.txt b/src/readme.txt
index 557cc8a697..cfaeb3195d 100644
--- a/src/readme.txt
+++ b/src/readme.txt
@@ -3,7 +3,7 @@ Contributors: buddyboss
Requires at least: 4.9.1
Tested up to: 6.6.1
Requires PHP: 5.6.20
-Stable tag: 2.6.71
+Stable tag: 2.6.72
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
@@ -57,6 +57,9 @@ Furthermore, BuddyBoss Platform can be activated and operate in just about any s
== Changelog ==
+= 2.6.72 =
+* Bug: Coding Standards - Security issue located when users are uploading documents, we have updated our code to solve this issue
+
= 2.6.71 =
* Bug: Activity - When viewing a comment with many replies that paginate on scroll then the replies where starting to show duplicates of earlier replies