Drafts Scheduler - Version 1.9

Version Description

  • Fixed a problem with Datepicker not enqueing properly
Download this release

Release Info

Developer talus
Plugin Icon wp plugin Drafts Scheduler
Version 1.9
Comparing to
See all releases

Code changes from version 1.8 to 1.9

Files changed (2) hide show
  1. draft-scheduler.php +8 -2
  2. readme.txt +6 -1
draft-scheduler.php CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://www.installedforyou.com/draftscheduler
5
  Contributors: talus
6
  Description: Allows WordPress admins to bulk schedule posts currently saved as drafts
7
  Author: Jeff Rose
8
- Version: 1.8
9
  Author URI: http://www.installedforyou.com
10
  Tags: drafts, schedule, posts
11
  License: GPL2
@@ -30,7 +30,7 @@ License: GPL2
30
 
31
  if ( ! class_exists( 'DraftScheduler' ) ) {
32
 
33
- define ( 'IFDS_VERSION', '1.8' );
34
  define( 'DraftScheduler_root', WP_PLUGIN_URL . '/drafts-scheduler/' );
35
 
36
  class DraftScheduler{
@@ -556,6 +556,12 @@ if ( ! class_exists( 'DraftScheduler' ) ) {
556
 
557
  $draftScheduler = new DraftScheduler();
558
 
 
 
 
 
 
 
559
  function j_is_date( $str ) {
560
  $stamp = strtotime( $str );
561
 
5
  Contributors: talus
6
  Description: Allows WordPress admins to bulk schedule posts currently saved as drafts
7
  Author: Jeff Rose
8
+ Version: 1.9
9
  Author URI: http://www.installedforyou.com
10
  Tags: drafts, schedule, posts
11
  License: GPL2
30
 
31
  if ( ! class_exists( 'DraftScheduler' ) ) {
32
 
33
+ define ( 'IFDS_VERSION', '1.9' );
34
  define( 'DraftScheduler_root', WP_PLUGIN_URL . '/drafts-scheduler/' );
35
 
36
  class DraftScheduler{
556
 
557
  $draftScheduler = new DraftScheduler();
558
 
559
+ add_action( 'admin_enqueue_scripts', 'theme_admin_js' );
560
+ function theme_admin_js(){
561
+ wp_enqueue_script('jquery-ui-core');
562
+ wp_enqueue_script('jquery-ui-datepicker');
563
+ }
564
+
565
  function j_is_date( $str ) {
566
  $stamp = strtotime( $str );
567
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.installedforyou.com/wordpress/drafts-scheduler-plugin/
4
  Tags: drafts, scheduling, posts, schedule
5
  Requires at least: 2.8
6
  Tested up to: 4.0
7
- Stable tag: 1.8
8
 
9
  Sequentially or randomly schedule ALL draft posts for posting.
10
 
@@ -28,6 +28,8 @@ Usage:
28
 
29
  NB: I've said it before - ALL drafts will be scheduled, but there is now an undo option.
30
 
 
 
31
  == Installation ==
32
 
33
  1. Upload draft-scheduler folder to the `/wp-content/plugins/` directory
@@ -56,6 +58,9 @@ Again, sorry, not in this version. In the future, it would be easy to add.
56
 
57
 
58
  == Changelog ==
 
 
 
59
  = 1.8 =
60
  - NEW: Select a custom post type to schedule! Thanks for the suggestion everyone!
61
  - Remove most use of $wpdb, so overall it's more "WordPress-y" in function. Yay.
4
  Tags: drafts, scheduling, posts, schedule
5
  Requires at least: 2.8
6
  Tested up to: 4.0
7
+ Stable tag: 1.9
8
 
9
  Sequentially or randomly schedule ALL draft posts for posting.
10
 
28
 
29
  NB: I've said it before - ALL drafts will be scheduled, but there is now an undo option.
30
 
31
+ Want to help? The code is now on BitBucket for anyone to fork! https://bitbucket.org/jeffrose/drafts-scheduler
32
+
33
  == Installation ==
34
 
35
  1. Upload draft-scheduler folder to the `/wp-content/plugins/` directory
58
 
59
 
60
  == Changelog ==
61
+ = 1.9 =
62
+ - Fixed a problem with Datepicker not enqueing properly
63
+
64
  = 1.8 =
65
  - NEW: Select a custom post type to schedule! Thanks for the suggestion everyone!
66
  - Remove most use of $wpdb, so overall it's more "WordPress-y" in function. Yay.