Plugin Directory

Changeset 1260245


Ignore:
Timestamp:
10/06/2015 09:07:39 AM (10 years ago)
Author:
manafactory
Message:

fixed yoast compatibility

Location:
ginger/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • ginger/trunk/admin/ginger.utils.php

    r1256991 r1260245  
    3535function ginger_add_admin_js( $hook ) {
    3636    if( is_admin() ) {
     37        $page = $_GET["page"];
     38        if(substr($page, 0, 6) == "ginger"){
    3739        // Add the color picker css file
    38         wp_enqueue_style( 'wp-color-picker' );
    39         // Include our custom jQuery file with WordPress Color Picker dependency
    40         wp_enqueue_script( 'ginger-script-handle', plugins_url( 'js/ginger.js', __FILE__ ), array(), false, true );
    41         wp_enqueue_script( 'ginger-script-color', plugins_url( 'js/ginger.color.js', __FILE__ ), array("wp-color-picker"), false, true );
     40            wp_enqueue_style( 'wp-color-picker' );
     41            // Include our custom jQuery file with WordPress Color Picker dependency
     42            wp_enqueue_script( 'ginger-script-handle', plugins_url( 'js/ginger.js', __FILE__ ), array(), false, true );
     43            wp_enqueue_script( 'ginger-script-color', plugins_url( 'js/ginger.color.js', __FILE__ ), array("wp-color-picker"), false, true );
     44        }
    4245    }
    4346}
  • ginger/trunk/ginger-eu-cookie-law.php

    r1258429 r1260245  
    44Plugin URI: http://www.ginger-cookielaw.com/
    55Description: Make your website compliant with EU Cookie Policy! For more features get <a href="">Ginger Plus - Tools Installer</a>
    6 Version: 3.0.2
     6Version: 3.0.3
    77Author: Manafactory
    88Author URI: http://manafactory.it/
  • ginger/trunk/readme.txt

    r1258429 r1260245  
    55Requires at least: 3.0.1
    66Tested up to: 4.3
    7 Stable tag: 3.0.2
     7Stable tag: 3.0.3
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    9494== Changelog ==
    9595
     96
     97= 3.0.3 =
     98* Fixed Yoast Compatibility
    9699
    97100= 3.0 =
Note: See TracChangeset for help on using the changeset viewer.