Plugin Directory

Changeset 1575254


Ignore:
Timestamp:
01/15/2017 07:01:00 PM (9 years ago)
Author:
blacklodgegames
Message:

1.0.5

  • 6th beta release
  • Fixed: Patched an incompatibility between WooCommerce and IndieDev Game Marketer
  • Fixed: Disabled all IndieDev Game Marketer CSS and JS in the admin panel unless on the actual settings page
  • Fixed: Attempted to solve an issue regarding /admin/class-indiedev-game-marketer-admin.php on line 1679 - Changed array initialization.
  • Fixed: Removed externally hosted css file (google cdn) and instead included it with the plugin to reduce external domain calls
Location:
indiedev-game-marketer
Files:
86 added
2 edited

Legend:

Unmodified
Added
Removed
  • indiedev-game-marketer/trunk/README.txt

    r1556866 r1575254  
    55Requires at least: 4.0.0
    66Tested up to: 4.7.0
    7 Stable tag: 1.0.4
     7Stable tag: 1.0.5
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    5050== Changelog ==
    5151
     52= 1.0.5 =
     53* 6th beta release
     54* Fixed: Patched an incompatibility between WooCommerce and IndieDev Game Marketer
     55* Fixed: Disabled all IndieDev Game Marketer CSS and JS in the admin panel unless on the actual settings page
     56* Fixed: Attempted to solve an issue regarding /admin/class-indiedev-game-marketer-admin.php on line 1679 - Changed array initialization.
     57* Fixed: Removed externally hosted css file (google cdn) and instead included it with the plugin to reduce external domain calls
     58
     59
    5260= 1.0.4 =
    5361* 5th beta release
  • indiedev-game-marketer/trunk/admin/class-indiedev-game-marketer-admin.php

    r1556859 r1575254  
    16771677                if(@isset($temp_image_url_array[0])) {
    16781678                    $media_files = $temp_image_url_array;
    1679                     $media_ids = [];
     1679                    $media_ids = array();
    16801680                   
    16811681                    foreach ($media_files as $file) {
     
    27802780         * class.
    27812781         */
    2782 
    2783         wp_enqueue_style( $this->plugin_name, plugin_dir_url( __FILE__ ) . 'css/indiedev-game-marketer-admin.css', array(), $this->version, 'all' );
    2784                 wp_enqueue_style('jquery-ui-css', 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/themes/smoothness/jquery-ui.css');
     2782                global $pagenow;
     2783                if ($pagenow == 'admin.php') {
     2784                    if (@$_GET['page']=='indiedev-game-marketer') {
     2785                        wp_enqueue_style( $this->plugin_name, plugin_dir_url( __FILE__ ) . 'css/indiedev-game-marketer-admin.css', array(), $this->version, 'all' );
     2786                        wp_enqueue_style('jquery-ui-css', plugin_dir_url( __FILE__ ) . 'css/jquery-ui.css', array(), $this->version, 'all' );
     2787                    }
     2788                }                 
    27852789    }
    27862790
     
    28032807         * class.
    28042808         */
    2805 
    2806         wp_enqueue_script( $this->plugin_name, plugin_dir_url( __FILE__ ) . 'js/indiedev-game-marketer-admin.js', array( 'jquery' ), $this->version, false );
    2807                 wp_enqueue_script('jquery-effects-core');
    2808                 wp_enqueue_script('jquery-ui-datepicker');
    2809                 wp_enqueue_script('jquery-ui-dialog');
    2810                 wp_enqueue_script('jquery-effects-fold');
    2811                 wp_enqueue_media();
     2809                global $pagenow;
     2810                if ($pagenow == 'admin.php') {
     2811                    if (@$_GET['page']=='indiedev-game-marketer') {
     2812                        wp_enqueue_script( $this->plugin_name, plugin_dir_url( __FILE__ ) . 'js/indiedev-game-marketer-admin.js', array( 'jquery' ), $this->version, false );
     2813                        wp_enqueue_script('jquery-effects-core');
     2814                        wp_enqueue_script('jquery-ui-datepicker');
     2815                        wp_enqueue_script('jquery-ui-dialog');
     2816                        wp_enqueue_script('jquery-effects-fold');
     2817                        wp_enqueue_media();
     2818                    }
     2819                }               
    28122820    }
    28132821
Note: See TracChangeset for help on using the changeset viewer.