Changeset 3312296
- Timestamp:
- 06/16/2025 05:04:06 AM (9 months ago)
- Location:
- stockpack/trunk
- Files:
-
- 3 edited
-
readme.txt (modified) (3 diffs)
-
src/class-stockpackmedia.php (modified) (3 diffs)
-
stockpack.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
stockpack/trunk/readme.txt
r3257073 r3312296 3 3 Tags: stock images, adobe stock, unsplash, getty, istock, pixabay, pexels 4 4 Requires at least: 4.6 5 Tested up to: 6. 7.26 Stable tag: 3.4. 65 Tested up to: 6.8.1 6 Stable tag: 3.4.7 7 7 License: GPL 8 8 License URI: https://www.gnu.org/licenses/gpl-3.0.en.html … … 39 39 * Automatic caption fill in to be in line with licensing requirements 40 40 * Set custom filename prior to the upload 41 * Compatible with Gutenberg, [Elementor](https://elementor.com),[Bricks](https://bricksbuilder.io/), [Divi](https://www.elegantthemes.com/gallery/divi/), [Beaver Builder](https://www.wpbeaverbuilder.com), [Visual Composer](https://visualcomposer.com), [Avada Fusion Builder](https://theme-fusion.com/products/fusion-builder) [Oxygen Builder](https://oxygenbuilder.com) [WPBakery](https://wpbakery.com/) [Thrive Themes](https://thrivethemes.com/) 41 * Compatible with Gutenberg, [Elementor](https://elementor.com),[Bricks](https://bricksbuilder.io/), [Divi](https://www.elegantthemes.com/gallery/divi/), [Beaver Builder](https://www.wpbeaverbuilder.com), [Visual Composer](https://visualcomposer.com), [Avada Fusion Builder](https://theme-fusion.com/products/fusion-builder), [Oxygen Builder](https://oxygenbuilder.com), [WPBakery](https://wpbakery.com/), [Thrive Themes](https://thrivethemes.com/), 42 [Breakdance](https://breakdance.com/) 42 43 * Compatible with [WPML](https://wpml.org) 43 44 * Featured image caption … … 133 134 134 135 == Changelog == 136 137 = 3.4.7 = 138 Added BreakDance compatibility 135 139 136 140 = 3.4.6 = -
stockpack/trunk/src/class-stockpackmedia.php
r3257073 r3312296 63 63 public function enqueue( $admin = true, $no_dialog = false ) { 64 64 global $pagenow; 65 66 if(stockpack_early_admin_enqueue()){ 67 wp_enqueue_media(); 68 } 69 65 70 if(did_action('wp_enqueue_media') || (isset($_GET['page']) && $_GET['page'] === 'stockpack') || stockpack_frontend_load()) { 66 71 $this->enqueue_scripts($admin); … … 100 105 'wp-color-picker', 101 106 'jquery-ui-dialog' 102 ), $this->version, true);107 ), $this->version, !stockpack_early_admin_enqueue() ); 103 108 104 109 // make sure divi media library is added after … … 217 222 public function actions() { 218 223 add_action( 'admin_head', array( $this, 'templates' ) ); 219 add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_admin' ), 99 );224 add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_admin' ), stockpack_early_admin_enqueue() ? 1 : 99 ); 220 225 add_action( 'elementor/editor/after_enqueue_styles', array( $this, 'enqueue_elementor_before' ) ); 221 226 add_action( 'elementor/editor/footer', array( $this, 'templates' ) ); -
stockpack/trunk/stockpack.php
r3257073 r3312296 6 6 * Author: Derikon Development 7 7 * Author URI: https://derikon.com/ 8 * Version:3.4. 68 * Version:3.4.7 9 9 * Text Domain: stockpack 10 10 * Domain Path: /languages … … 155 155 } 156 156 157 function stockpack_early_admin_enqueue(){ 158 return isset($_GET['breakdance_wpuiforbuilder_media']); 159 } 160 157 161 function stockpack_cli_load() { 158 162 $load = false;
Note: See TracChangeset
for help on using the changeset viewer.