Plugin Directory

Changeset 3180572


Ignore:
Timestamp:
11/03/2024 07:18:51 AM (17 months ago)
Author:
stockpack
Message:

Fixed divi compatibility

Location:
stockpack/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • stockpack/trunk/readme.txt

    r3151287 r3180572  
    44Requires at least: 4.6
    55Tested up to: 6.6.2
    6 Stable tag: 3.4.3
     6Stable tag: 3.4.4
    77License: GPL
    88License URI: https://www.gnu.org/licenses/gpl-3.0.en.html
     
    134134== Changelog ==
    135135
     136= 3.4.4 =
     137Fixed backwards compatibility issue with DIVI
     138
    136139= 3.4.3 =
    137140Updated WordPress compatibility
  • stockpack/trunk/src/class-stockpackmedia.php

    r3151287 r3180572  
    6363        public function enqueue( $admin = true, $no_dialog = false ) {
    6464            global $pagenow;
    65             if(did_action('wp_enqueue_media') || (isset($_GET['page']) && $_GET['page'] === 'stockpack')) {
     65            if(did_action('wp_enqueue_media') || (isset($_GET['page']) && $_GET['page'] === 'stockpack') || stockpack_frontend_load()) {
    6666                $this->enqueue_scripts($admin);
    6767                $this->enqueue_styles($no_dialog);
     
    229229        public function templates() {
    230230
    231             if (!did_action('wp_enqueue_media') || (isset($_GET['page']) && $_GET['page'] === 'stockpack')) {
     231            if (!did_action('wp_enqueue_media') || (isset($_GET['page']) && $_GET['page'] === 'stockpack') || stockpack_frontend_load()) {
    232232                return;
    233233            }
  • stockpack/trunk/stockpack.php

    r3151287 r3180572  
    66 * Author: Derikon Development
    77 * Author URI: https://derikon.com/
    8  * Version:3.4.3
     8 * Version:3.4.4
    99 * Text Domain: stockpack
    1010 * Domain Path: /languages
Note: See TracChangeset for help on using the changeset viewer.