Changeset 1482872
- Timestamp:
- 08/24/2016 08:41:28 PM (10 years ago)
- Location:
- wp-post-expires/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (1 diff)
-
wp-post-expires.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-post-expires/trunk/readme.txt
r1478078 r1482872 40 40 == Changelog == 41 41 42 = 1.0.3 = 43 44 small fixes 45 42 46 = 1.0.2 = 43 47 -
wp-post-expires/trunk/wp-post-expires.php
r1478078 r1482872 3 3 Plugin Name: WP Post Expires 4 4 Description: 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. 25 Version: 1.0.3 6 6 Author: X-NicON 7 7 Author URI: https://xnicon.ru … … 29 29 class XN_WP_Post_Expires { 30 30 31 private $plugin_version = '1.0.3'; 31 32 private $url_assets; 32 33 public $settings = array(); … … 85 86 } 86 87 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); 91 91 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); 94 96 } 95 97
Note: See TracChangeset
for help on using the changeset viewer.