Changeset 3407022
- Timestamp:
- 12/01/2025 04:14:33 PM (7 weeks ago)
- Location:
- presto-player
- Files:
-
- 14 edited
- 1 copied
-
tags/4.0.4 (copied) (copied from presto-player/trunk)
-
tags/4.0.4/dist/components/stats.json (modified) (1 diff)
-
tags/4.0.4/inc/Blocks/PopupMediaBlock.php (modified) (2 diffs)
-
tags/4.0.4/inc/Services/Scripts.php (modified) (1 diff)
-
tags/4.0.4/languages/presto-player.pot (modified) (3 diffs)
-
tags/4.0.4/presto-player.php (modified) (1 diff)
-
tags/4.0.4/readme.txt (modified) (2 diffs)
-
tags/4.0.4/vendor/composer/installed.php (modified) (2 diffs)
-
trunk/dist/components/stats.json (modified) (1 diff)
-
trunk/inc/Blocks/PopupMediaBlock.php (modified) (2 diffs)
-
trunk/inc/Services/Scripts.php (modified) (1 diff)
-
trunk/languages/presto-player.pot (modified) (3 diffs)
-
trunk/presto-player.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/vendor/composer/installed.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
presto-player/tags/4.0.4/dist/components/stats.json
r3394427 r3407022 1 1 { 2 "timestamp": "2025-1 1-12T14:53:19",2 "timestamp": "2025-12-01T16:12:56", 3 3 "compiler": { 4 4 "name": "node", -
presto-player/tags/4.0.4/inc/Blocks/PopupMediaBlock.php
r3359425 r3407022 22 22 23 23 add_action( 'init', array( $this, 'register_block' ) ); 24 add_filter( 'enqueue_empty_block_content_assets', array( $this, 'enqueue_empty_block_content_assets' ), 10, 2 ); 24 25 } 25 26 … … 34 35 ) 35 36 ); 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; 36 58 } 37 59 -
presto-player/tags/4.0.4/inc/Services/Scripts.php
r3359972 r3407022 513 513 $assets['dependencies'], 514 514 $assets['version'], 515 true515 array( 'in_footer' => true ) 516 516 ); 517 517 } -
presto-player/tags/4.0.4/languages/presto-player.pot
r3394427 r3407022 8 8 "Content-Type: text/plain; charset=UTF-8\n" 9 9 "Content-Transfer-Encoding: 8bit\n" 10 "POT-Creation-Date: 2025-1 1-12T14:53:02+00:00\n"10 "POT-Creation-Date: 2025-12-01T16:12:39+00:00\n" 11 11 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 12 12 "X-Generator: WP-CLI 2.12.0\n" … … 347 347 #: admin/blocks/blocks/audio/AudioTranscription.js:160 348 348 #: admin/blocks/shared/tracks/TracksEditor.js:172 349 #: Blocks/PopupMediaBlock.php: 96349 #: Blocks/PopupMediaBlock.php:118 350 350 msgid "Close" 351 351 msgstr "" … … 3128 3128 msgstr "" 3129 3129 3130 #: Blocks/PopupMediaBlock.php: 533130 #: Blocks/PopupMediaBlock.php:75 3131 3131 msgid "Presto Popup" 3132 3132 msgstr "" -
presto-player/tags/4.0.4/presto-player.php
r3394427 r3407022 4 4 * Plugin URI: http://prestoplayer.com 5 5 * Description: A beautiful, fast media player for WordPress. 6 * Version: 4.0. 36 * Version: 4.0.4 7 7 * Author: Presto Made, Inc 8 8 * Author URI: https://prestoplayer.com/ -
presto-player/tags/4.0.4/readme.txt
r3394427 r3407022 4 4 Tags: video, audio, youtube, vimeo, lms, elementor, learndash, beaver builder, lifterlms 5 5 Requires at least: 6.3 6 Tested up to: 6. 87 Stable tag: 4.0. 36 Tested up to: 6.9 7 Stable tag: 4.0.4 8 8 Requires PHP: 7.3 9 9 License: GPLv2 or later … … 157 157 == Changelog == 158 158 159 = 4.0.4 = 160 * Fix: Update popup assets for WordPress 6.9 compatibility. 161 159 162 = 4.0.3 = 160 163 * 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 2 2 'root' => array( 3 3 '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', 7 7 'type' => 'project', 8 8 'install_path' => __DIR__ . '/../../', … … 30 30 ), 31 31 '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', 35 35 'type' => 'project', 36 36 'install_path' => __DIR__ . '/../../', -
presto-player/trunk/dist/components/stats.json
r3394427 r3407022 1 1 { 2 "timestamp": "2025-1 1-12T14:53:19",2 "timestamp": "2025-12-01T16:12:56", 3 3 "compiler": { 4 4 "name": "node", -
presto-player/trunk/inc/Blocks/PopupMediaBlock.php
r3359425 r3407022 22 22 23 23 add_action( 'init', array( $this, 'register_block' ) ); 24 add_filter( 'enqueue_empty_block_content_assets', array( $this, 'enqueue_empty_block_content_assets' ), 10, 2 ); 24 25 } 25 26 … … 34 35 ) 35 36 ); 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; 36 58 } 37 59 -
presto-player/trunk/inc/Services/Scripts.php
r3359972 r3407022 513 513 $assets['dependencies'], 514 514 $assets['version'], 515 true515 array( 'in_footer' => true ) 516 516 ); 517 517 } -
presto-player/trunk/languages/presto-player.pot
r3394427 r3407022 8 8 "Content-Type: text/plain; charset=UTF-8\n" 9 9 "Content-Transfer-Encoding: 8bit\n" 10 "POT-Creation-Date: 2025-1 1-12T14:53:02+00:00\n"10 "POT-Creation-Date: 2025-12-01T16:12:39+00:00\n" 11 11 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 12 12 "X-Generator: WP-CLI 2.12.0\n" … … 347 347 #: admin/blocks/blocks/audio/AudioTranscription.js:160 348 348 #: admin/blocks/shared/tracks/TracksEditor.js:172 349 #: Blocks/PopupMediaBlock.php: 96349 #: Blocks/PopupMediaBlock.php:118 350 350 msgid "Close" 351 351 msgstr "" … … 3128 3128 msgstr "" 3129 3129 3130 #: Blocks/PopupMediaBlock.php: 533130 #: Blocks/PopupMediaBlock.php:75 3131 3131 msgid "Presto Popup" 3132 3132 msgstr "" -
presto-player/trunk/presto-player.php
r3394427 r3407022 4 4 * Plugin URI: http://prestoplayer.com 5 5 * Description: A beautiful, fast media player for WordPress. 6 * Version: 4.0. 36 * Version: 4.0.4 7 7 * Author: Presto Made, Inc 8 8 * Author URI: https://prestoplayer.com/ -
presto-player/trunk/readme.txt
r3394427 r3407022 4 4 Tags: video, audio, youtube, vimeo, lms, elementor, learndash, beaver builder, lifterlms 5 5 Requires at least: 6.3 6 Tested up to: 6. 87 Stable tag: 4.0. 36 Tested up to: 6.9 7 Stable tag: 4.0.4 8 8 Requires PHP: 7.3 9 9 License: GPLv2 or later … … 157 157 == Changelog == 158 158 159 = 4.0.4 = 160 * Fix: Update popup assets for WordPress 6.9 compatibility. 161 159 162 = 4.0.3 = 160 163 * 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 2 2 'root' => array( 3 3 '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', 7 7 'type' => 'project', 8 8 'install_path' => __DIR__ . '/../../', … … 30 30 ), 31 31 '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', 35 35 'type' => 'project', 36 36 'install_path' => __DIR__ . '/../../',
Note: See TracChangeset
for help on using the changeset viewer.