Editorial Calendar - Version 2.3

Version Description

The calendar is now loading relative URLs for CSS, JavaScript, and image files using the right API so they load properly when using SSL.

Download this release

Release Info

Developer zgrossbart
Plugin Icon wp plugin Editorial Calendar
Version 2.3
Comparing to
See all releases

Code changes from version 2.2.1 to 2.3

Files changed (2) hide show
  1. edcal.php +19 -19
  2. readme.txt +5 -1
edcal.php CHANGED
@@ -18,7 +18,7 @@
18
  /*
19
  Plugin Name: WordPress Editorial Calendar
20
  Description: The Editorial Calendar makes it possible to see all your posts and drag and drop them to manage your blog.
21
- Version: 2.2.1
22
  Author: Colin Vernon, Justin Evans, Joachim Kudish, Mary Vogt, and Zack Grossbart
23
  Author URI: http://www.zackgrossbart.com
24
  Plugin URI: http://stresslimitdesign.com/editorial-calendar-plugin
@@ -345,19 +345,19 @@ class EdCal {
345
 
346
  <style type="text/css">
347
  .loadingclass > .postlink, .loadingclass:hover > .postlink, .tiploading {
348
- background-image: url('<?php echo(path_join(WP_PLUGIN_URL, basename( dirname( __FILE__ ) )."/../../../wp-admin/images/loading.gif")); ?>');
349
  }
350
 
351
  #loading {
352
- background-image: url('<?php echo(path_join(WP_PLUGIN_URL, basename( dirname( __FILE__ ) )."/../../../wp-admin/images/loading.gif")); ?>');
353
  }
354
 
355
  #tipclose {
356
- background-image: url('<?php echo(path_join(WP_PLUGIN_URL, basename( dirname( __FILE__ ) )."/images/tip_close.png")); ?>');
357
  }
358
 
359
  .day.today .daylabel {
360
- background: url('<?php echo(path_join(WP_PLUGIN_URL, basename( dirname( __FILE__ ) )."/../../../wp-admin/images/button-grad.png")); ?>') repeat-x left top;
361
  }
362
 
363
  </style>
@@ -515,18 +515,18 @@ class EdCal {
515
  * locale. We can do this based on the locale in the localized bundle to make sure the date locale matches
516
  * the locale for the other strings.
517
  */
518
- wp_enqueue_script( 'jquery' );
519
- wp_enqueue_script( 'jquery-ui-draggable' );
520
- wp_enqueue_script( 'jquery-ui-droppable' );
521
 
522
- //wp_enqueue_script( "date-extras", path_join(WP_PLUGIN_URL, basename( dirname( __FILE__ ) )."/lib/date.extras.js"), array( 'jquery' ) );
523
 
524
- wp_enqueue_script( "edcal-date", path_join(WP_PLUGIN_URL, basename( dirname( __FILE__ ) )."/lib/languages/date-".__('en-US', 'editorial-calendar').".js"), array( 'jquery' ) );
525
- wp_enqueue_script( "edcal-lib", path_join(WP_PLUGIN_URL, basename( dirname( __FILE__ ) )."/lib/edcallib.min.js"), array( 'jquery' ) );
526
 
527
  if (isset($_GET['qunit'])) {
528
- wp_enqueue_script( "qunit", path_join(WP_PLUGIN_URL, basename( dirname( __FILE__ ) )."/lib/qunit.js"), array( 'jquery' ) );
529
- wp_enqueue_script( "edcal-test", path_join(WP_PLUGIN_URL, basename( dirname( __FILE__ ) )."/edcal_test.js"), array( 'jquery' ) );
530
  }
531
 
532
  return;
@@ -535,14 +535,14 @@ class EdCal {
535
  * If you're using one of the specific libraries you should comment out the two lines
536
  * above this comment.
537
  */
538
- wp_enqueue_script( "bgiframe", path_join(WP_PLUGIN_URL, basename( dirname( __FILE__ ) )."/lib/jquery.bgiframe.js"), array( 'jquery' ) );
539
- wp_enqueue_script( "humanMsg", path_join(WP_PLUGIN_URL, basename( dirname( __FILE__ ) )."/lib/humanmsg.js"), array( 'jquery' ) );
540
- wp_enqueue_script( "jquery-timepicker", path_join(WP_PLUGIN_URL, basename( dirname( __FILE__ ) )."/lib/jquery.timepicker.js"), array( 'jquery' ) );
541
 
542
- wp_enqueue_script( "scrollable", path_join(WP_PLUGIN_URL, basename( dirname( __FILE__ ) )."/lib/tools.scrollable-1.1.2.js"), array( 'jquery' ) );
543
- wp_enqueue_script( "mouse-wheel", path_join(WP_PLUGIN_URL, basename( dirname( __FILE__ ) )."/lib/tools.scrollable.mousewheel-1.0.1.js"), array( 'jquery' ) );
544
 
545
- wp_enqueue_script( "json-parse2", path_join(WP_PLUGIN_URL, basename( dirname( __FILE__ ) )."/lib/json2.js"), array( 'jquery' ) );
546
  }
547
 
548
  /*
18
  /*
19
  Plugin Name: WordPress Editorial Calendar
20
  Description: The Editorial Calendar makes it possible to see all your posts and drag and drop them to manage your blog.
21
+ Version: 2.3
22
  Author: Colin Vernon, Justin Evans, Joachim Kudish, Mary Vogt, and Zack Grossbart
23
  Author URI: http://www.zackgrossbart.com
24
  Plugin URI: http://stresslimitdesign.com/editorial-calendar-plugin
345
 
346
  <style type="text/css">
347
  .loadingclass > .postlink, .loadingclass:hover > .postlink, .tiploading {
348
+ background-image: url('<?php echo(admin_url("images/loading.gif", __FILE__ )); ?>');
349
  }
350
 
351
  #loading {
352
+ background-image: url('<?php echo(admin_url("images/loading.gif", __FILE__ )); ?>');
353
  }
354
 
355
  #tipclose {
356
+ background-image: url('<?php echo(admin_url("images/tip_close.png", __FILE__ )); ?>');
357
  }
358
 
359
  .day.today .daylabel {
360
+ background: url('<?php echo(admin_url("images/button-grad.png", __FILE__ )); ?>') repeat-x left top;
361
  }
362
 
363
  </style>
515
  * locale. We can do this based on the locale in the localized bundle to make sure the date locale matches
516
  * the locale for the other strings.
517
  */
518
+ wp_enqueue_script('jquery');
519
+ wp_enqueue_script('jquery-ui-draggable');
520
+ wp_enqueue_script('jquery-ui-droppable');
521
 
522
+ //wp_enqueue_script("date-extras", plugins_url("lib/date.extras.js", __FILE__ ), array( 'jquery' ));
523
 
524
+ wp_enqueue_script("edcal-date", plugins_url("lib/languages/date-".__('en-US', 'editorial-calendar').".js", __FILE__ ));
525
+ wp_enqueue_script("edcal-lib", plugins_url("lib/edcallib.min.js", __FILE__ ), array( 'jquery' ));
526
 
527
  if (isset($_GET['qunit'])) {
528
+ wp_enqueue_script("qunit", plugins_url("lib/qunit.js", __FILE__ ), array( 'jquery' ));
529
+ wp_enqueue_script("edcal-test", plugins_url("edcal_test.js", __FILE__ ), array( 'jquery' ));
530
  }
531
 
532
  return;
535
  * If you're using one of the specific libraries you should comment out the two lines
536
  * above this comment.
537
  */
538
+ wp_enqueue_script("bgiframe", plugins_url("lib/jquery.bgiframe.js", __FILE__ ), array( 'jquery' ));
539
+ wp_enqueue_script("humanMsg", plugins_url("lib/humanmsg.js", __FILE__ ), array( 'jquery' ));
540
+ wp_enqueue_script("jquery-timepicker", plugins_url("lib/jquery.timepicker.js", __FILE__ ), array( 'jquery' ));
541
 
542
+ wp_enqueue_script("scrollable", plugins_url("lib/tools.scrollable-1.1.2.js", __FILE__ ), array( 'jquery' ));
543
+ wp_enqueue_script("mouse-wheel", plugins_url("lib/lib/tools.scrollable.mousewheel-1.0.1.js", __FILE__ ), array( 'jquery' ));
544
 
545
+ wp_enqueue_script("json-parse2", plugins_url("lib/json2.js", __FILE__ ), array( 'jquery' ));
546
  }
547
 
548
  /*
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: cvernon, justinstresslimit, jkudish, MaryVogt, zgrossbart
3
  Tags: posts, post, calendar, AJAX, admin, administration
4
  Requires at least: 2.8.5
5
  Tested up to: 3.4.1
6
- Stable tag: 2.2.1
7
 
8
  The Editorial Calendar makes it possible to see all your posts and drag and drop them to manage your blog.
9
 
@@ -173,6 +173,10 @@ Moving published posts can cause problems with some RSS feeds and is generally n
173
 
174
  == Changelog ==
175
 
 
 
 
 
176
  = 2.2.1 =
177
 
178
  Fixed a memory leak in the calendar where the calendar doesn't load if you have too many posts in your blog.
3
  Tags: posts, post, calendar, AJAX, admin, administration
4
  Requires at least: 2.8.5
5
  Tested up to: 3.4.1
6
+ Stable tag: 2.3
7
 
8
  The Editorial Calendar makes it possible to see all your posts and drag and drop them to manage your blog.
9
 
173
 
174
  == Changelog ==
175
 
176
+ = 2.3 =
177
+
178
+ The calendar is now loading relative URLs for CSS, JavaScript, and image files using the right API so they load properly when using SSL.
179
+
180
  = 2.2.1 =
181
 
182
  Fixed a memory leak in the calendar where the calendar doesn't load if you have too many posts in your blog.