Plugin Directory

Changeset 3360331


Ignore:
Timestamp:
09/12/2025 08:20:46 AM (4 months ago)
Author:
rtcamp
Message:

Update to version 4.7.3 from GitHub

Location:
buddypress-media
Files:
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • buddypress-media/tags/4.7.3/app/main/RTMedia.php

    r3354581 r3360331  
    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', '>=' ) ) {
     
    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            }
     
    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            ?>
     
    12661266                    wp.mediaelement.initialize();
    12671267                }
    1268                
     1268
    12691269                // Fallback for older MediaElement initialization
    12701270                if (typeof $().mediaelementplayer !== 'undefined') {
     
    12751275                    });
    12761276                }
    1277                
     1277
    12781278                // WordPress 6.7 compatibility: Add console log to verify fixes are working
    12791279                if (window.console && console.log) {
  • buddypress-media/tags/4.7.3/index.php

    r3354581 r3360331  
    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
     
    2020     * The version of the plugin
    2121     */
    22     define( 'RTMEDIA_VERSION', '4.7.2' );
     22    define( 'RTMEDIA_VERSION', '4.7.3' );
    2323}
    2424
  • buddypress-media/tags/4.7.3/readme.txt

    r3354581 r3360331  
    66Requires at least: WordPress 4.1
    77Tested up to: 6.8.1
    8 Stable tag: 4.7.2
     8Stable tag: 4.7.3
    99
    1010Add albums, photo, audio/video upload, privacy, sharing, front-end uploads & more. All this works on mobile/tablets devices.
     
    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
     
    19511956== Upgrade Notice ==
    19521957
     1958= 4.7.3 =
     1959Fixes a JS error affecting some themes/sites without jQuery.
     1960
    19531961= 4.7.2 =
    19541962Improved GoDAM Player support, notification handling, and jQuery compatibility; fixed player rendering and skin issues on Multisite.
  • buddypress-media/trunk/app/main/RTMedia.php

    r3354581 r3360331  
    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', '>=' ) ) {
     
    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            }
     
    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            ?>
     
    12661266                    wp.mediaelement.initialize();
    12671267                }
    1268                
     1268
    12691269                // Fallback for older MediaElement initialization
    12701270                if (typeof $().mediaelementplayer !== 'undefined') {
     
    12751275                    });
    12761276                }
    1277                
     1277
    12781278                // WordPress 6.7 compatibility: Add console log to verify fixes are working
    12791279                if (window.console && console.log) {
  • buddypress-media/trunk/index.php

    r3354581 r3360331  
    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
     
    2020     * The version of the plugin
    2121     */
    22     define( 'RTMEDIA_VERSION', '4.7.2' );
     22    define( 'RTMEDIA_VERSION', '4.7.3' );
    2323}
    2424
  • buddypress-media/trunk/readme.txt

    r3354581 r3360331  
    66Requires at least: WordPress 4.1
    77Tested up to: 6.8.1
    8 Stable tag: 4.7.2
     8Stable tag: 4.7.3
    99
    1010Add albums, photo, audio/video upload, privacy, sharing, front-end uploads & more. All this works on mobile/tablets devices.
     
    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
     
    19511956== Upgrade Notice ==
    19521957
     1958= 4.7.3 =
     1959Fixes a JS error affecting some themes/sites without jQuery.
     1960
    19531961= 4.7.2 =
    19541962Improved GoDAM Player support, notification handling, and jQuery compatibility; fixed player rendering and skin issues on Multisite.
Note: See TracChangeset for help on using the changeset viewer.