Plugin Directory

Changeset 3407022


Ignore:
Timestamp:
12/01/2025 04:14:33 PM (7 weeks ago)
Author:
2winfactor
Message:

Update to version 4.0.4 from GitHub

Location:
presto-player
Files:
14 edited
1 copied

Legend:

Unmodified
Added
Removed
  • presto-player/tags/4.0.4/dist/components/stats.json

    r3394427 r3407022  
    11{
    2   "timestamp": "2025-11-12T14:53:19",
     2  "timestamp": "2025-12-01T16:12:56",
    33  "compiler": {
    44    "name": "node",
  • presto-player/tags/4.0.4/inc/Blocks/PopupMediaBlock.php

    r3359425 r3407022  
    2222
    2323        add_action( 'init', array( $this, 'register_block' ) );
     24        add_filter( 'enqueue_empty_block_content_assets', array( $this, 'enqueue_empty_block_content_assets' ), 10, 2 );
    2425    }
    2526
     
    3435            )
    3536        );
     37    }
     38
     39    /**
     40     * Filters whether to enqueue assets for a block which has no rendered content.
     41     *
     42     * In WordPress 6.9+, assets enqueued by a block are dequeued again if the block
     43     * ultimately renders no content. The popup media block renders its overlay markup
     44     * in the footer for accessibility reasons, so its main render callback returns
     45     * empty content. Opt this block out so its styles and scripts are preserved.
     46     *
     47     * @param bool   $enqueue    Whether to enqueue assets.
     48     * @param string $block_name Block name.
     49     *
     50     * @return bool
     51     */
     52    public function enqueue_empty_block_content_assets( $enqueue, $block_name ) {
     53        if ( 'presto-player/popup-media' === $block_name ) {
     54            return true;
     55        }
     56
     57        return $enqueue;
    3658    }
    3759
  • presto-player/tags/4.0.4/inc/Services/Scripts.php

    r3359972 r3407022  
    513513            $assets['dependencies'],
    514514            $assets['version'],
    515             true
     515            array( 'in_footer' => true )
    516516        );
    517517    }
  • presto-player/tags/4.0.4/languages/presto-player.pot

    r3394427 r3407022  
    88"Content-Type: text/plain; charset=UTF-8\n"
    99"Content-Transfer-Encoding: 8bit\n"
    10 "POT-Creation-Date: 2025-11-12T14:53:02+00:00\n"
     10"POT-Creation-Date: 2025-12-01T16:12:39+00:00\n"
    1111"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1212"X-Generator: WP-CLI 2.12.0\n"
     
    347347#: admin/blocks/blocks/audio/AudioTranscription.js:160
    348348#: admin/blocks/shared/tracks/TracksEditor.js:172
    349 #: Blocks/PopupMediaBlock.php:96
     349#: Blocks/PopupMediaBlock.php:118
    350350msgid "Close"
    351351msgstr ""
     
    31283128msgstr ""
    31293129
    3130 #: Blocks/PopupMediaBlock.php:53
     3130#: Blocks/PopupMediaBlock.php:75
    31313131msgid "Presto Popup"
    31323132msgstr ""
  • presto-player/tags/4.0.4/presto-player.php

    r3394427 r3407022  
    44 * Plugin URI: http://prestoplayer.com
    55 * Description: A beautiful, fast media player for WordPress.
    6  * Version: 4.0.3
     6 * Version: 4.0.4
    77 * Author: Presto Made, Inc
    88 * Author URI: https://prestoplayer.com/
  • presto-player/tags/4.0.4/readme.txt

    r3394427 r3407022  
    44Tags: video, audio, youtube, vimeo, lms, elementor, learndash, beaver builder, lifterlms
    55Requires at least: 6.3
    6 Tested up to: 6.8
    7 Stable tag: 4.0.3
     6Tested up to: 6.9
     7Stable tag: 4.0.4
    88Requires PHP: 7.3
    99License: GPLv2 or later
     
    157157== Changelog ==
    158158
     159= 4.0.4 =
     160* Fix: Update popup assets for WordPress 6.9 compatibility.
     161
    159162= 4.0.3 =
    160163* New: You can now use the "ratio" parameter in the Presto Player shortcode to control the video’s aspect ratio.
  • presto-player/tags/4.0.4/vendor/composer/installed.php

    r3394427 r3407022  
    22    'root' => array(
    33        'name' => 'course/player',
    4         'pretty_version' => 'v4.0.3',
    5         'version' => '4.0.3.0',
    6         'reference' => '75c7cb37f76dd2808ea05fa6eccbea045c06695f',
     4        'pretty_version' => 'v4.0.4',
     5        'version' => '4.0.4.0',
     6        'reference' => 'a9a82be66f6b78cdb6ff2e12afa7cf418ccfbe23',
    77        'type' => 'project',
    88        'install_path' => __DIR__ . '/../../',
     
    3030        ),
    3131        'course/player' => array(
    32             'pretty_version' => 'v4.0.3',
    33             'version' => '4.0.3.0',
    34             'reference' => '75c7cb37f76dd2808ea05fa6eccbea045c06695f',
     32            'pretty_version' => 'v4.0.4',
     33            'version' => '4.0.4.0',
     34            'reference' => 'a9a82be66f6b78cdb6ff2e12afa7cf418ccfbe23',
    3535            'type' => 'project',
    3636            'install_path' => __DIR__ . '/../../',
  • presto-player/trunk/dist/components/stats.json

    r3394427 r3407022  
    11{
    2   "timestamp": "2025-11-12T14:53:19",
     2  "timestamp": "2025-12-01T16:12:56",
    33  "compiler": {
    44    "name": "node",
  • presto-player/trunk/inc/Blocks/PopupMediaBlock.php

    r3359425 r3407022  
    2222
    2323        add_action( 'init', array( $this, 'register_block' ) );
     24        add_filter( 'enqueue_empty_block_content_assets', array( $this, 'enqueue_empty_block_content_assets' ), 10, 2 );
    2425    }
    2526
     
    3435            )
    3536        );
     37    }
     38
     39    /**
     40     * Filters whether to enqueue assets for a block which has no rendered content.
     41     *
     42     * In WordPress 6.9+, assets enqueued by a block are dequeued again if the block
     43     * ultimately renders no content. The popup media block renders its overlay markup
     44     * in the footer for accessibility reasons, so its main render callback returns
     45     * empty content. Opt this block out so its styles and scripts are preserved.
     46     *
     47     * @param bool   $enqueue    Whether to enqueue assets.
     48     * @param string $block_name Block name.
     49     *
     50     * @return bool
     51     */
     52    public function enqueue_empty_block_content_assets( $enqueue, $block_name ) {
     53        if ( 'presto-player/popup-media' === $block_name ) {
     54            return true;
     55        }
     56
     57        return $enqueue;
    3658    }
    3759
  • presto-player/trunk/inc/Services/Scripts.php

    r3359972 r3407022  
    513513            $assets['dependencies'],
    514514            $assets['version'],
    515             true
     515            array( 'in_footer' => true )
    516516        );
    517517    }
  • presto-player/trunk/languages/presto-player.pot

    r3394427 r3407022  
    88"Content-Type: text/plain; charset=UTF-8\n"
    99"Content-Transfer-Encoding: 8bit\n"
    10 "POT-Creation-Date: 2025-11-12T14:53:02+00:00\n"
     10"POT-Creation-Date: 2025-12-01T16:12:39+00:00\n"
    1111"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1212"X-Generator: WP-CLI 2.12.0\n"
     
    347347#: admin/blocks/blocks/audio/AudioTranscription.js:160
    348348#: admin/blocks/shared/tracks/TracksEditor.js:172
    349 #: Blocks/PopupMediaBlock.php:96
     349#: Blocks/PopupMediaBlock.php:118
    350350msgid "Close"
    351351msgstr ""
     
    31283128msgstr ""
    31293129
    3130 #: Blocks/PopupMediaBlock.php:53
     3130#: Blocks/PopupMediaBlock.php:75
    31313131msgid "Presto Popup"
    31323132msgstr ""
  • presto-player/trunk/presto-player.php

    r3394427 r3407022  
    44 * Plugin URI: http://prestoplayer.com
    55 * Description: A beautiful, fast media player for WordPress.
    6  * Version: 4.0.3
     6 * Version: 4.0.4
    77 * Author: Presto Made, Inc
    88 * Author URI: https://prestoplayer.com/
  • presto-player/trunk/readme.txt

    r3394427 r3407022  
    44Tags: video, audio, youtube, vimeo, lms, elementor, learndash, beaver builder, lifterlms
    55Requires at least: 6.3
    6 Tested up to: 6.8
    7 Stable tag: 4.0.3
     6Tested up to: 6.9
     7Stable tag: 4.0.4
    88Requires PHP: 7.3
    99License: GPLv2 or later
     
    157157== Changelog ==
    158158
     159= 4.0.4 =
     160* Fix: Update popup assets for WordPress 6.9 compatibility.
     161
    159162= 4.0.3 =
    160163* New: You can now use the "ratio" parameter in the Presto Player shortcode to control the video’s aspect ratio.
  • presto-player/trunk/vendor/composer/installed.php

    r3394427 r3407022  
    22    'root' => array(
    33        'name' => 'course/player',
    4         'pretty_version' => 'v4.0.3',
    5         'version' => '4.0.3.0',
    6         'reference' => '75c7cb37f76dd2808ea05fa6eccbea045c06695f',
     4        'pretty_version' => 'v4.0.4',
     5        'version' => '4.0.4.0',
     6        'reference' => 'a9a82be66f6b78cdb6ff2e12afa7cf418ccfbe23',
    77        'type' => 'project',
    88        'install_path' => __DIR__ . '/../../',
     
    3030        ),
    3131        'course/player' => array(
    32             'pretty_version' => 'v4.0.3',
    33             'version' => '4.0.3.0',
    34             'reference' => '75c7cb37f76dd2808ea05fa6eccbea045c06695f',
     32            'pretty_version' => 'v4.0.4',
     33            'version' => '4.0.4.0',
     34            'reference' => 'a9a82be66f6b78cdb6ff2e12afa7cf418ccfbe23',
    3535            'type' => 'project',
    3636            'install_path' => __DIR__ . '/../../',
Note: See TracChangeset for help on using the changeset viewer.