Plugin Directory

Changeset 1482872


Ignore:
Timestamp:
08/24/2016 08:41:28 PM (10 years ago)
Author:
X-NicON
Message:

small fixes

Location:
wp-post-expires/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wp-post-expires/trunk/readme.txt

    r1478078 r1482872  
    4040== Changelog ==
    4141
     42= 1.0.3 =
     43
     44small fixes
     45
    4246= 1.0.2 =
    4347
  • wp-post-expires/trunk/wp-post-expires.php

    r1478078 r1482872  
    33Plugin Name: WP Post Expires
    44Description: A simple plugin allow to set the posts, the time after which will be performed one of 3 actions: "Add prefix to title", "Move to drafts", "Move to trash".
    5 Version:     1.0.2
     5Version:     1.0.3
    66Author:      X-NicON
    77Author URI:  https://xnicon.ru
     
    2929class XN_WP_Post_Expires {
    3030
     31    private $plugin_version = '1.0.3';
    3132    private $url_assets;
    3233    public $settings = array();
     
    8586        }
    8687
    87         wp_enqueue_style('dtpicker-css', $this->url_assets.'css/datepicker.min.css');
    88 
    89         wp_enqueue_script('xn-wppe-plugin-js', $this->url_assets.'js/plugin-scripts.js', array('dtpicker-js'));
    90         wp_enqueue_script('dtpicker-js', $this->url_assets.'js/datepicker.min.js', array('jquery'));
     88        wp_enqueue_style('xn-wppe-dtpicker', $this->url_assets.'css/datepicker.min.css', array(), $this->plugin_version);
     89
     90        wp_enqueue_script('xn-wppe-dtpicker-js', $this->url_assets.'js/datepicker.min.js', array('jquery'), $this->plugin_version);
    9191        if($dtplang != false){
    92             wp_enqueue_script('dtpicker-lang-js', $this->url_assets.'js/i18n/datepicker.'.$dtplang.'.js', array('jquery','dtpicker-js'));
    93         }
     92            wp_enqueue_script('xn-wppe-dtpicker-lang-js', $this->url_assets.'js/i18n/datepicker.'.$dtplang.'.js', array('xn-wppe-dtpicker-js'), $this->plugin_version);
     93        }
     94
     95        wp_enqueue_script('xn-wppe-plugin-js', $this->url_assets.'js/plugin-scripts.js', array('xn-wppe-dtpicker-js'), $this->plugin_version);
    9496    }
    9597
Note: See TracChangeset for help on using the changeset viewer.