Skip to content

Commit 5a8a3f5

Browse files
authored
Merge pull request #2174 from rtCamp/develop
Version Update v4.7.3 [ master ]
2 parents dde951e + dc28144 commit 5a8a3f5

File tree

4 files changed

+26
-13
lines changed

4 files changed

+26
-13
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,11 @@ https://www.youtube.com/watch?v=dJrykKQGDcs
151151

152152
## Changelog ##
153153

154+
### 4.7.3
155+
156+
* FIXED
157+
* Resolved jQuery Migrate dependency to prevent JS errors.
158+
154159
### 4.7.2
155160

156161
* FIXED

app/main/RTMedia.php

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1216,12 +1216,12 @@ public function create_table_error_notice() {
12161216
/**
12171217
* Ensure WordPress 6.7 compatibility by handling jQuery Migrate dependency.
12181218
* WordPress 6.7 removed jQuery Migrate by default, which can break plugins using deprecated jQuery methods.
1219-
*
1219+
*
12201220
* @since 4.6.23
12211221
*/
12221222
public function ensure_wp67_compatibility() {
12231223
global $wp_version;
1224-
1224+
12251225
// Check if we're running WordPress 6.7 or higher
12261226
if ( version_compare( $wp_version, '6.7', '>=' ) ) {
12271227
// Enqueue jQuery Migrate if not already enqueued to maintain backward compatibility
@@ -1234,15 +1234,15 @@ public function ensure_wp67_compatibility() {
12341234
/**
12351235
* WordPress 6.7 compatibility scripts enqueue.
12361236
* Ensures jQuery Migrate is available early in the loading process.
1237-
*
1237+
*
12381238
* @since 4.6.23
12391239
*/
12401240
public function wp67_compatibility_scripts() {
1241-
global $wp_version;
1242-
1241+
global $wp_version;
1242+
12431243
// Enqueue jQuery Migrate for WordPress 6.7+ compatibility
12441244
if ( version_compare( $wp_version, '6.7', '>=' ) ) {
1245-
if ( ! wp_script_is( 'jquery-migrate', 'enqueued' ) ) {
1245+
if ( wp_script_is( 'jquery', 'enqueued' ) && ! wp_script_is( 'jquery-migrate', 'enqueued' ) ) {
12461246
wp_enqueue_script( 'jquery-migrate' );
12471247
}
12481248
}
@@ -1251,12 +1251,12 @@ public function wp67_compatibility_scripts() {
12511251
/**
12521252
* WordPress 6.7 MediaElement.js compatibility initialization.
12531253
* Ensures MediaElement is properly initialized in WordPress 6.7+
1254-
*
1254+
*
12551255
* @since 4.6.23
12561256
*/
12571257
public function wp67_media_element_init() {
12581258
global $wp_version;
1259-
1259+
12601260
if ( version_compare( $wp_version, '6.7', '>=' ) ) {
12611261
?>
12621262
<script type="text/javascript">
@@ -1265,7 +1265,7 @@ public function wp67_media_element_init() {
12651265
if (typeof wp !== 'undefined' && wp.mediaelement && wp.mediaelement.initialize) {
12661266
wp.mediaelement.initialize();
12671267
}
1268-
1268+
12691269
// Fallback for older MediaElement initialization
12701270
if (typeof $().mediaelementplayer !== 'undefined') {
12711271
$('.wp-audio-shortcode, .wp-video-shortcode').not('.mejs-container').mediaelementplayer({
@@ -1274,7 +1274,7 @@ public function wp67_media_element_init() {
12741274
}
12751275
});
12761276
}
1277-
1277+
12781278
// WordPress 6.7 compatibility: Add console log to verify fixes are working
12791279
if (window.console && console.log) {
12801280
console.log('rtMedia: WordPress 6.7 compatibility mode active');

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.2
6+
* Version: 4.7.3
77
* Author: rtCamp
88
* Text Domain: buddypress-media
99
* Author URI: http://rtcamp.com/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media
@@ -19,7 +19,7 @@
1919
/**
2020
* The version of the plugin
2121
*/
22-
define( 'RTMEDIA_VERSION', '4.7.2' );
22+
define( 'RTMEDIA_VERSION', '4.7.3' );
2323
}
2424

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

readme.txt

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ License: GPLv2 or later
55
License URI: http://www.gnu.org/licenses/gpl-2.0.html
66
Requires at least: WordPress 4.1
77
Tested up to: 6.8.1
8-
Stable tag: 4.7.2
8+
Stable tag: 4.7.3
99

1010
Add albums, photo, audio/video upload, privacy, sharing, front-end uploads & more. All this works on mobile/tablets devices.
1111

@@ -133,6 +133,11 @@ http://www.youtube.com/watch?v=dJrykKQGDcs
133133

134134
== Changelog ==
135135

136+
= 4.7.3 [September 12, 2025] =
137+
138+
* FIXED
139+
* Resolved jQuery Migrate dependency to prevent JS errors.
140+
136141
= 4.7.2 [September 02, 2025 ] =
137142

138143
* FIXED
@@ -1950,6 +1955,9 @@ http://www.youtube.com/watch?v=dJrykKQGDcs
19501955

19511956
== Upgrade Notice ==
19521957

1958+
= 4.7.3 =
1959+
Fixes a JS error affecting some themes/sites without jQuery.
1960+
19531961
= 4.7.2 =
19541962
Improved GoDAM Player support, notification handling, and jQuery compatibility; fixed player rendering and skin issues on Multisite.
19551963

0 commit comments

Comments
 (0)