Calendar - Version 1.3.1

Version Description

Download this release

Release Info

Developer KieranOShea
Plugin Icon 128x128 Calendar
Version 1.3.1
Comparing to
See all releases

Code changes from version 1.3 to 1.3.1

Files changed (2) hide show
  1. calendar.php +2 -2
  2. readme.txt +1 -1
calendar.php CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://www.kieranoshea.com
5
  Description: This plugin allows you to display a calendar of all your events and appointments as a page on your site.
6
  Author: Kieran O'Shea
7
  Author URI: http://www.kieranoshea.com
8
- Version: 1.3
9
  */
10
 
11
  /* Copyright 2008 Kieran O'Shea (email : kieran@kieranoshea.com)
@@ -1674,7 +1674,7 @@ function manage_categories()
1674
  }
1675
  else if (isset($_GET['mode']) && isset($_GET['category_id']) && $_GET['mode'] == 'edit' && !isset($_POST['mode']))
1676
  {
1677
- $sql = "SELECT * FROM " . WP_CALENDAR_CATEGORIES_TABLE . " WHERE category_id=".int(mysql_escape_string($_GET['category_id']));
1678
  $cur_cat = $wpdb->get_row($sql);
1679
  ?>
1680
  <div class="wrap">
5
  Description: This plugin allows you to display a calendar of all your events and appointments as a page on your site.
6
  Author: Kieran O'Shea
7
  Author URI: http://www.kieranoshea.com
8
+ Version: 1.3.1
9
  */
10
 
11
  /* Copyright 2008 Kieran O'Shea (email : kieran@kieranoshea.com)
1674
  }
1675
  else if (isset($_GET['mode']) && isset($_GET['category_id']) && $_GET['mode'] == 'edit' && !isset($_POST['mode']))
1676
  {
1677
+ $sql = "SELECT * FROM " . WP_CALENDAR_CATEGORIES_TABLE . " WHERE category_id=".intval(mysql_escape_string($_GET['category_id']));
1678
  $cur_cat = $wpdb->get_row($sql);
1679
  ?>
1680
  <div class="wrap">
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.kieranoshea.com
4
  Tags: calendar, dates, times, events
5
  Requires at least: 2.0
6
  Tested up to: 3.2.1
7
- Stable tag: 1.3
8
 
9
  A simple but effective Calendar plugin for WordPress that allows you to
10
  manage your events and appointments and display them to the world.
4
  Tags: calendar, dates, times, events
5
  Requires at least: 2.0
6
  Tested up to: 3.2.1
7
+ Stable tag: 1.3.1
8
 
9
  A simple but effective Calendar plugin for WordPress that allows you to
10
  manage your events and appointments and display them to the world.