Changeset 3381618
- Timestamp:
- 10/21/2025 05:09:50 AM (4 months ago)
- Location:
- az-video-and-audio-player-addon-for-elementor
- Files:
-
- 8 edited
- 1 copied
-
tags/2.1.4 (copied) (copied from az-video-and-audio-player-addon-for-elementor/trunk)
-
tags/2.1.4/includes/class-assets-manager.php (modified) (3 diffs)
-
tags/2.1.4/includes/class-settings-page.php (modified) (2 diffs)
-
tags/2.1.4/plugin-main.php (modified) (2 diffs)
-
tags/2.1.4/readme.txt (modified) (3 diffs)
-
trunk/includes/class-assets-manager.php (modified) (3 diffs)
-
trunk/includes/class-settings-page.php (modified) (2 diffs)
-
trunk/plugin-main.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
az-video-and-audio-player-addon-for-elementor/tags/2.1.4/includes/class-assets-manager.php
r3367863 r3381618 126 126 127 127 /** 128 * Get admin screens allowed for asset loading 129 * Single source of truth for admin asset loading 130 * 131 * @return array Array of admin screen hook suffixes where assets are allowed 132 */ 133 private function get_admin_screens_allowed_for_assets() { 134 return array( 135 'toplevel_page_vapfem-guide', // Main menu: Video & Audio Player Guide 136 'video-audio-player_page_vapfem-hire-me', // Submenu: Hire Me page 137 ); 138 } 139 140 /** 128 141 * Register admin-specific assets 129 */ 130 public function register_admin_assets() { 142 * Only loads on plugin's own admin pages for better performance 143 * 144 * @param string $hook The current admin page hook suffix 145 */ 146 public function register_admin_assets($hook) { 147 // Check if we're on an allowed admin screen 148 if (!in_array($hook, $this->get_admin_screens_allowed_for_assets())) { 149 return; // Exit early if not our page 150 } 151 152 // Register admin styles 131 153 wp_register_style( 132 154 'vapfem-admin', … … 136 158 ); 137 159 160 // Register admin scripts 138 161 wp_register_script( 139 162 'vapfem-admin', … … 143 166 true 144 167 ); 168 169 // Enqueue registered assets 170 wp_enqueue_style('vapfem-admin'); 171 wp_enqueue_script('vapfem-admin'); 145 172 } 146 173 -
az-video-and-audio-player-addon-for-elementor/tags/2.1.4/includes/class-settings-page.php
r3365547 r3381618 47 47 */ 48 48 public function render_guide_page() { 49 wp_enqueue_style('vapfem-admin');50 wp_enqueue_script('vapfem-admin');51 49 ?> 52 50 <div class="wrap vapfem-admin"> … … 79 77 */ 80 78 public function render_hire_me_page() { 81 wp_enqueue_style('vapfem-admin');82 wp_enqueue_script('vapfem-admin');83 84 79 include VAPFEM_DIR . '/includes/views/html-hire-page.php'; 85 80 } -
az-video-and-audio-player-addon-for-elementor/tags/2.1.4/plugin-main.php
r3379675 r3381618 2 2 /** 3 3 Plugin Name: AZ Video and Audio Player for Elementor, Gutenberg & Classic Editor 4 Plugin URI: 4 Plugin URI: https://leanplugins.com/ 5 5 Description: Video & Audio player for Elementor, Gutenberg & Classic Editor 6 Version: 2.1. 36 Version: 2.1.4 7 7 Author: AZ Plugins 8 Author URI: 8 Author URI: https://leanplugins.com/ 9 9 License: GPLv2 10 10 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 20 20 * Define path 21 21 */ 22 define( 'VAPFEM_VERSION', '2.1. 3' );22 define( 'VAPFEM_VERSION', '2.1.4' ); 23 23 define( 'VAPFEM_URI', plugins_url('', __FILE__) ); 24 24 define( 'VAPFEM_DIR', dirname( __FILE__ ) ); -
az-video-and-audio-player-addon-for-elementor/tags/2.1.4/readme.txt
r3379675 r3381618 5 5 Tested up to: 6.8 6 6 Requires PHP: 7.4 7 Stable tag: 2.1. 37 Stable tag: 2.1.4 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 13 13 == Description == 14 14 "AZ Video and Audio Player for Elementor, Gutenberg and Classic Editor" - is a simple, lightweight and customizable HTML5, YouTube, Vimeo & mp3 media player that supports all devices. It supports all the major file formats for audio & video. Included audio & video player widget / addon and shortcode support that has lots of customization optios, using those options you can change the player settings how you want. 15 16 👉 [Live Demo](https://demo.leanplugins.com/video-and-audio-player/) 15 17 16 18 == Features: == … … 72 74 73 75 == Changelog == 76 = Version: 2.1.4 = 77 * Fixed: Flush of Unstyled Content (FOUC) issue on admin pages 78 74 79 = Version: 2.1.3 = 75 80 * Security: Improved output escaping in admin notices -
az-video-and-audio-player-addon-for-elementor/trunk/includes/class-assets-manager.php
r3367863 r3381618 126 126 127 127 /** 128 * Get admin screens allowed for asset loading 129 * Single source of truth for admin asset loading 130 * 131 * @return array Array of admin screen hook suffixes where assets are allowed 132 */ 133 private function get_admin_screens_allowed_for_assets() { 134 return array( 135 'toplevel_page_vapfem-guide', // Main menu: Video & Audio Player Guide 136 'video-audio-player_page_vapfem-hire-me', // Submenu: Hire Me page 137 ); 138 } 139 140 /** 128 141 * Register admin-specific assets 129 */ 130 public function register_admin_assets() { 142 * Only loads on plugin's own admin pages for better performance 143 * 144 * @param string $hook The current admin page hook suffix 145 */ 146 public function register_admin_assets($hook) { 147 // Check if we're on an allowed admin screen 148 if (!in_array($hook, $this->get_admin_screens_allowed_for_assets())) { 149 return; // Exit early if not our page 150 } 151 152 // Register admin styles 131 153 wp_register_style( 132 154 'vapfem-admin', … … 136 158 ); 137 159 160 // Register admin scripts 138 161 wp_register_script( 139 162 'vapfem-admin', … … 143 166 true 144 167 ); 168 169 // Enqueue registered assets 170 wp_enqueue_style('vapfem-admin'); 171 wp_enqueue_script('vapfem-admin'); 145 172 } 146 173 -
az-video-and-audio-player-addon-for-elementor/trunk/includes/class-settings-page.php
r3365547 r3381618 47 47 */ 48 48 public function render_guide_page() { 49 wp_enqueue_style('vapfem-admin');50 wp_enqueue_script('vapfem-admin');51 49 ?> 52 50 <div class="wrap vapfem-admin"> … … 79 77 */ 80 78 public function render_hire_me_page() { 81 wp_enqueue_style('vapfem-admin');82 wp_enqueue_script('vapfem-admin');83 84 79 include VAPFEM_DIR . '/includes/views/html-hire-page.php'; 85 80 } -
az-video-and-audio-player-addon-for-elementor/trunk/plugin-main.php
r3379675 r3381618 2 2 /** 3 3 Plugin Name: AZ Video and Audio Player for Elementor, Gutenberg & Classic Editor 4 Plugin URI: 4 Plugin URI: https://leanplugins.com/ 5 5 Description: Video & Audio player for Elementor, Gutenberg & Classic Editor 6 Version: 2.1. 36 Version: 2.1.4 7 7 Author: AZ Plugins 8 Author URI: 8 Author URI: https://leanplugins.com/ 9 9 License: GPLv2 10 10 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 20 20 * Define path 21 21 */ 22 define( 'VAPFEM_VERSION', '2.1. 3' );22 define( 'VAPFEM_VERSION', '2.1.4' ); 23 23 define( 'VAPFEM_URI', plugins_url('', __FILE__) ); 24 24 define( 'VAPFEM_DIR', dirname( __FILE__ ) ); -
az-video-and-audio-player-addon-for-elementor/trunk/readme.txt
r3379675 r3381618 5 5 Tested up to: 6.8 6 6 Requires PHP: 7.4 7 Stable tag: 2.1. 37 Stable tag: 2.1.4 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 13 13 == Description == 14 14 "AZ Video and Audio Player for Elementor, Gutenberg and Classic Editor" - is a simple, lightweight and customizable HTML5, YouTube, Vimeo & mp3 media player that supports all devices. It supports all the major file formats for audio & video. Included audio & video player widget / addon and shortcode support that has lots of customization optios, using those options you can change the player settings how you want. 15 16 👉 [Live Demo](https://demo.leanplugins.com/video-and-audio-player/) 15 17 16 18 == Features: == … … 72 74 73 75 == Changelog == 76 = Version: 2.1.4 = 77 * Fixed: Flush of Unstyled Content (FOUC) issue on admin pages 78 74 79 = Version: 2.1.3 = 75 80 * Security: Improved output escaping in admin notices
Note: See TracChangeset
for help on using the changeset viewer.