Plugin Directory

Changeset 3100134


Ignore:
Timestamp:
06/09/2024 06:08:01 PM (22 months ago)
Author:
stockpack
Message:

Remove scripts extra loaded by settings api

Location:
stockpack/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • stockpack/trunk/readme.txt

    r3051678 r3100134  
    33Tags: stock images, adobe stock, unsplash, getty, istock, pixabay, pexels
    44Requires at least: 4.6
    5 Tested up to: 6.4.3
    6 Stable tag: 3.3.8
     5Tested up to: 6.5.4
     6Stable tag: 3.3.9
    77License: GPL
    88License URI: https://www.gnu.org/licenses/gpl-3.0.en.html
     
    134134== Changelog ==
    135135
     136= 3.3.9 =
     137Removed extra loaded scripts and wp query from admin settings thanks to @mathieu discovering it here https://wordpress.org/support/topic/is-there-an-utility-for-admin_enqueue_scripts-in-class-settings-api-php/#post-17809387
     138Updated WordPress compatibility
     139
    136140= 3.3.8 =
    137141Add Url debugging support
  • stockpack/trunk/src/class-stockpackadmin.php

    r3051678 r3100134  
    7878
    7979        $this->settings_api = new WeDevs_Settings_API();
     80        // remove settings scripts as we do not use the color picker
     81        remove_action('admin_enqueue_scripts', array($this->settings_api, 'admin_enqueue_scripts'));
     82
    8083        //set sections and fields
    8184        $this->settings_api->set_sections( $this->get_settings_sections() );
  • stockpack/trunk/stockpack.php

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