Skip to content

Commit 4b5cb92

Browse files
authored
Merge pull request #2286 from rtCamp/develop
Version update v4.7.9
2 parents beb8a54 + d82c189 commit 4b5cb92

File tree

15 files changed

+2524
-1622
lines changed

15 files changed

+2524
-1622
lines changed

.github/dependabot.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "composer"
4+
directory: "/"
5+
schedule:
6+
interval: "daily"
7+
- package-ecosystem: "npm"
8+
directory: "/"
9+
schedule:
10+
interval: "daily"
11+
- package-ecosystem: "docker"
12+
directory: "/"
13+
schedule:
14+
interval: "monthly"
15+
- package-ecosystem: "pip"
16+
directory: "/"
17+
schedule:
18+
interval: "daily"
19+
- package-ecosystem: "bundler"
20+
directory: "/"
21+
schedule:
22+
interval: "daily"
23+
- package-ecosystem: "gomod"
24+
directory: "/"
25+
schedule:
26+
interval: "daily"
27+
- package-ecosystem: "github-actions"
28+
directory: "/"
29+
schedule:
30+
interval: "daily"
31+
- package-ecosystem: "terraform"
32+
directory: "/"
33+
schedule:
34+
interval: "daily"

.github/workflows/create.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
tag:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v4
14+
- uses: actions/checkout@v6
1515
- name: Install SVN ( Subversion )
1616
run: |
1717
sudo apt-get update

.github/workflows/phpcs_on_pull_request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
name: Run PHPCS inspection
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v2
13+
- uses: actions/checkout@v6
1414
with:
1515
ref: ${{ github.event.pull_request.head.sha }}
1616
- name: Run PHPCS inspection

.github/workflows/playwright.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
# Steps represent a sequence of tasks that will be executed as part of the job
2929
steps:
3030
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
31-
- uses: actions/checkout@v3
31+
- uses: actions/checkout@v6
3232
with:
3333
ref: ${{ github.event.pull_request.head.sha }}
3434

@@ -46,7 +46,7 @@ jobs:
4646

4747
- name: Archive HTML Report on failure
4848
if: failure()
49-
uses: actions/upload-artifact@v4
49+
uses: actions/upload-artifact@v6
5050
with:
5151
name: report
5252
path: ./tests/wp-e2e-playwright/playwright-report

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,16 @@ https://www.youtube.com/watch?v=dJrykKQGDcs
147147

148148
## Changelog ##
149149

150+
### 4.7.9
151+
152+
* FIXED
153+
* Fixed GoDAM plugin integration issues
154+
* Fixed translation loading
155+
* Applied security fixes in dependencies
156+
157+
* ENHANCEMENT
158+
* Improved security handling for plugin integrations
159+
150160
### 4.7.8
151161

152162
* ENHANCEMENT

app/admin/RTMediaUploadTermsAdmin.php

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,22 @@ class RTMediaUploadTermsAdmin {
3737
* Constructing settings for upload terms.
3838
*/
3939
public function __construct() {
40-
$this->upload_terms_message = esc_html__( 'terms of services.', 'buddypress-media' );
41-
$this->upload_terms_error_message = esc_html__( 'Please check terms of service.', 'buddypress-media' );
40+
add_action( 'init', array( $this, 'init_translations' ), 5 );
4241

4342
add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_scripts_styles' ), 999 );
4443
add_filter( 'rtmedia_general_content_default_values', array( $this, 'add_admin_option_default_value' ), 10, 1 );
4544
add_filter( 'rtmedia_general_content_groups', array( $this, 'admin_setting_add_terms_section' ), 10, 1 );
4645
add_filter( 'rtmedia_general_content_add_itmes', array( $this, 'admin_setting_add_terms_option' ), 10, 2 );
4746
}
4847

48+
/**
49+
* Initialize translations at the proper time.
50+
*/
51+
public function init_translations() {
52+
$this->upload_terms_message = esc_html__( 'terms of services.', 'buddypress-media' );
53+
$this->upload_terms_error_message = esc_html__( 'Please check terms of service.', 'buddypress-media' );
54+
}
55+
4956
/**
5057
* Loads styles and scripts
5158
*

changelog.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
== Changelog ==
22

3+
= 4.7.9 [January 30, 2026] =
4+
5+
* FIXED
6+
* Fixed GoDAM plugin integration issues
7+
* Fixed translation loading
8+
* Applied security fixes in dependencies
9+
10+
* ENHANCEMENT
11+
* Improved security handling for plugin integrations
12+
313
= 4.7.8 [January 06, 2026] =
414

515
* ENHANCEMENT

index.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Plugin Name: rtMedia for WordPress, BuddyPress and bbPress
44
* Plugin URI: https://rtmedia.io/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media
55
* 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.7.8
6+
* Version: 4.7.9
77
* Requires at least: 4.1
88
* Text Domain: buddypress-media
99
* Author: rtCamp
@@ -22,7 +22,7 @@
2222
/**
2323
* The version of the plugin
2424
*/
25-
define( 'RTMEDIA_VERSION', '4.7.8' );
25+
define( 'RTMEDIA_VERSION', '4.7.9' );
2626
}
2727

2828
if ( ! defined( 'RTMEDIA_PATH' ) ) {

languages/buddpress-media.pot

Lines changed: 39 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
# This file is distributed under the GPLv2 or later.
33
msgid ""
44
msgstr ""
5-
"Project-Id-Version: rtMedia for WordPress, BuddyPress and bbPress 4.7.8\n"
5+
"Project-Id-Version: rtMedia for WordPress, BuddyPress and bbPress 4.7.9\n"
66
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/buddypress-media\n"
77
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
88
"Language-Team: LANGUAGE <LL@li.org>\n"
99
"MIME-Version: 1.0\n"
1010
"Content-Type: text/plain; charset=UTF-8\n"
1111
"Content-Transfer-Encoding: 8bit\n"
12-
"POT-Creation-Date: 2026-01-06T06:20:43+00:00\n"
12+
"POT-Creation-Date: 2026-01-30T09:10:24+00:00\n"
1313
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1414
"X-Generator: WP-CLI 2.12.0\n"
1515
"X-Domain: buddypress-media\n"
@@ -791,84 +791,84 @@ msgstr ""
791791
msgid "Please Enable BuddyPress User Groups to update option"
792792
msgstr ""
793793

794-
#: app/admin/RTMediaUploadTermsAdmin.php:40
794+
#: app/admin/RTMediaUploadTermsAdmin.php:52
795795
msgid "terms of services."
796796
msgstr ""
797797

798-
#: app/admin/RTMediaUploadTermsAdmin.php:41
798+
#: app/admin/RTMediaUploadTermsAdmin.php:53
799799
msgid "Please check terms of service."
800800
msgstr ""
801801

802-
#: app/admin/RTMediaUploadTermsAdmin.php:62
802+
#: app/admin/RTMediaUploadTermsAdmin.php:69
803803
msgid "Please enter valid URL."
804804
msgstr ""
805805

806-
#: app/admin/RTMediaUploadTermsAdmin.php:63
806+
#: app/admin/RTMediaUploadTermsAdmin.php:70
807807
msgid "Please enter terms message."
808808
msgstr ""
809809

810-
#: app/admin/RTMediaUploadTermsAdmin.php:64
810+
#: app/admin/RTMediaUploadTermsAdmin.php:71
811811
msgid "Please enter error message."
812812
msgstr ""
813813

814-
#: app/admin/RTMediaUploadTermsAdmin.php:65
814+
#: app/admin/RTMediaUploadTermsAdmin.php:72
815815
msgid "Please enter privacy message."
816816
msgstr ""
817817

818-
#: app/admin/RTMediaUploadTermsAdmin.php:126
818+
#: app/admin/RTMediaUploadTermsAdmin.php:133
819819
msgid "Ask users to agree to your terms"
820820
msgstr ""
821821

822-
#: app/admin/RTMediaUploadTermsAdmin.php:141
822+
#: app/admin/RTMediaUploadTermsAdmin.php:148
823823
msgid "Show \"Terms of Service\" checkbox on upload screen"
824824
msgstr ""
825825

826-
#: app/admin/RTMediaUploadTermsAdmin.php:146
827-
#: app/admin/RTMediaUploadTermsAdmin.php:156
826+
#: app/admin/RTMediaUploadTermsAdmin.php:153
827+
#: app/admin/RTMediaUploadTermsAdmin.php:163
828828
msgid "User have to check the terms and conditions before uploading the media."
829829
msgstr ""
830830

831-
#: app/admin/RTMediaUploadTermsAdmin.php:151
831+
#: app/admin/RTMediaUploadTermsAdmin.php:158
832832
msgid "Show \"Terms of Service\" checkbox on activity screen"
833833
msgstr ""
834834

835-
#: app/admin/RTMediaUploadTermsAdmin.php:161
835+
#: app/admin/RTMediaUploadTermsAdmin.php:168
836836
msgid "Link for \"Terms of Service\" page"
837837
msgstr ""
838838

839-
#: app/admin/RTMediaUploadTermsAdmin.php:166
839+
#: app/admin/RTMediaUploadTermsAdmin.php:173
840840
msgid "Link to the terms and condition page where user can read terms and conditions."
841841
msgstr ""
842842

843-
#: app/admin/RTMediaUploadTermsAdmin.php:172
843+
#: app/admin/RTMediaUploadTermsAdmin.php:179
844844
msgid "Terms of Service Message"
845845
msgstr ""
846846

847-
#: app/admin/RTMediaUploadTermsAdmin.php:177
847+
#: app/admin/RTMediaUploadTermsAdmin.php:184
848848
msgid "Add Terms of Service Message."
849849
msgstr ""
850850

851-
#: app/admin/RTMediaUploadTermsAdmin.php:182
851+
#: app/admin/RTMediaUploadTermsAdmin.php:189
852852
msgid "Error Message"
853853
msgstr ""
854854

855-
#: app/admin/RTMediaUploadTermsAdmin.php:187
855+
#: app/admin/RTMediaUploadTermsAdmin.php:194
856856
msgid "Display Error Message When User Upload Media Without Selecting Checkbox ."
857857
msgstr ""
858858

859-
#: app/admin/RTMediaUploadTermsAdmin.php:192
859+
#: app/admin/RTMediaUploadTermsAdmin.php:199
860860
msgid "Show \"Privacy Message\" on website"
861861
msgstr ""
862862

863-
#: app/admin/RTMediaUploadTermsAdmin.php:197
863+
#: app/admin/RTMediaUploadTermsAdmin.php:204
864864
msgid "User will see the privacy message on website."
865865
msgstr ""
866866

867-
#: app/admin/RTMediaUploadTermsAdmin.php:202
867+
#: app/admin/RTMediaUploadTermsAdmin.php:209
868868
msgid "Privacy Message"
869869
msgstr ""
870870

871-
#: app/admin/RTMediaUploadTermsAdmin.php:207
871+
#: app/admin/RTMediaUploadTermsAdmin.php:214
872872
msgid "Display privacy message on your website."
873873
msgstr ""
874874

@@ -3481,6 +3481,22 @@ msgstr ""
34813481
msgid "Sorry !! You can not edit this album."
34823482
msgstr ""
34833483

3484+
#: templates/media/godam-integration.php:207
3485+
msgid "Authentication required"
3486+
msgstr ""
3487+
3488+
#: templates/media/godam-integration.php:213
3489+
msgid "Invalid activity ID"
3490+
msgstr ""
3491+
3492+
#: templates/media/godam-integration.php:218
3493+
msgid "Activity comment not found"
3494+
msgstr ""
3495+
3496+
#: templates/media/godam-integration.php:223
3497+
msgid "You do not have permission to view this activity"
3498+
msgstr ""
3499+
34843500
#: templates/media/media-gallery.php:27
34853501
#: templates/media/media-gallery.php:63
34863502
msgid "Media Gallery"

0 commit comments

Comments
 (0)