Plugin Directory

Changeset 733723


Ignore:
Timestamp:
06/28/2013 07:28:08 PM (13 years ago)
Author:
smoo1337
Message:

2.0.1 compatibility issue with wp_minify

Location:
wp-vgwort/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • wp-vgwort/trunk/class-wp-vgwort.php

    r728901 r733723  
    2424     * @var     string
    2525     */
    26     protected $version = '2.0.0';
     26    protected $version = '2.0.1';
    2727
    2828    /**
     
    8585
    8686        $this->vgWortMeta = get_option('wp_vgwortmetaname', 'wp_vgwortmarke');
    87        
    88         // Load admin style sheet and JavaScript.
    89         add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_admin_styles' ) );
    90         add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_admin_scripts' ) );
    91 
    92         // Load public-facing style sheet and JavaScript.
    93         add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_styles' ) );
    94         add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_scripts' ) );
    9587
    9688        add_action( 'edit_user_profile' , array( &$this , 'add_profile_data' ));
     
    130122
    131123        return self::$instance;
    132     }
    133 
    134     /**
    135      * Register and enqueue admin-specific style sheet.
    136      *
    137      * @since     1.0.0
    138      *
    139      * @return    null    Return early if no settings page is registered.
    140      */
    141     public function enqueue_admin_styles() {
    142 
    143         if ( ! isset( $this->plugin_screen_hook_suffix ) ) {
    144             return;
    145         }
    146 
    147         $screen = get_current_screen();
    148         if ( $screen->id == $this->plugin_screen_hook_suffix ) {
    149             wp_enqueue_style( $this->plugin_slug .'-admin-styles', plugins_url( 'css/admin.css', __FILE__ ), $this->version );
    150         }
    151 
    152     }
    153 
    154     /**
    155      * Register and enqueue admin-specific JavaScript.
    156      *
    157      * @since     1.0.0
    158      *
    159      * @return    null    Return early if no settings page is registered.
    160      */
    161     public function enqueue_admin_scripts() {
    162 
    163         if ( ! isset( $this->plugin_screen_hook_suffix ) ) {
    164             return;
    165         }
    166 
    167         $screen = get_current_screen();
    168         if ( $screen->id == $this->plugin_screen_hook_suffix ) {
    169             wp_enqueue_script( $this->plugin_slug . '-admin-script', plugins_url( 'js/admin.js', __FILE__ ), array( 'jquery' ), $this->version );
    170         }
    171 
    172     }
    173 
    174     /**
    175      * Register and enqueue public-facing style sheet.
    176      *
    177      * @since    1.0.0
    178      */
    179     public function enqueue_styles() {
    180         wp_enqueue_style( $this->plugin_slug . '-plugin-styles', plugins_url( 'css/public.css', __FILE__ ), $this->version );
    181     }
    182 
    183     /**
    184      * Register and enqueues public-facing JavaScript files.
    185      *
    186      * @since    1.0.0
    187      */
    188     public function enqueue_scripts() {
    189         wp_enqueue_script( $this->plugin_slug . '-plugin-script', plugins_url( 'js/public.js', __FILE__ ), array( 'jquery' ), $this->version );
    190124    }
    191125
  • wp-vgwort/trunk/readme.txt

    r728901 r733723  
    55Requires at least: 3.0
    66Tested up to: 3.5
    7 Stable tag: 1.9
     7Stable tag: 2.0.1
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    4141
    4242== Changelog ==
     43
     44= 2.0.1 =
     45* fixes compatibility issue with wp_minify
    4346
    4447= 2.0.0 =
  • wp-vgwort/trunk/wp-vgwort.php

    r728901 r733723  
    1313 * Plugin URI:  http://www.mywebcheck.de/vg-wort-plugin-wordpress/
    1414 * Description: Verwaltung der VG Wort Zählpixel
    15  * Version:     2.0.0
     15 * Version:     2.0.1
    1616 * Author:      Marcus Franke
    1717 * Author URI:  http://mywebcheck.de
Note: See TracChangeset for help on using the changeset viewer.