Events Manager - Version 3.0.2

Version Description

Download this release

Release Info

Developer netweblogic
Plugin Icon 128x128 Events Manager
Version 3.0.2
Comparing to
See all releases

Code changes from version 3.0.1 to 3.0.2

Files changed (3) hide show
  1. classes/object.php +6 -0
  2. events-manager.php +1 -1
  3. readme.txt +9 -1
classes/object.php CHANGED
@@ -31,6 +31,12 @@ class EM_Object {
31
  //TODO decide on search defaults shared across all objects and then validate here
32
  $defaults = array_merge($super_defaults, $defaults);
33
 
 
 
 
 
 
 
34
  if(is_array($array)){
35
  //TODO accept all objects as search options as well as ids (e.g. location vs. location_id, person vs. person_id)
36
  //If there's a location, then remove it and turn it into location_id
31
  //TODO decide on search defaults shared across all objects and then validate here
32
  $defaults = array_merge($super_defaults, $defaults);
33
 
34
+ //We are still dealing with recurrence_id, location_id, category_id in some place, so we do a quick replace here just in case
35
+ if( array_key_exists('recurrence_id', $array) && !array_key_exists('recurrence', $array) ) { $array['recurrence'] = $array['recurrence_id']; }
36
+ if( array_key_exists('location_id', $array) && !array_key_exists('location', $array) ) { $array['location'] = $array['location_id']; }
37
+ if( array_key_exists('category_id', $array) && !array_key_exists('category', $array) ) { $array['category'] = $array['category_id']; }
38
+
39
+
40
  if(is_array($array)){
41
  //TODO accept all objects as search options as well as ids (e.g. location vs. location_id, person vs. person_id)
42
  //If there's a location, then remove it and turn it into location_id
events-manager.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  Plugin Name: Events Manager
4
- Version: 3.0.1
5
  Plugin URI: http://davidebenini.it/wordpress-plugins/events-manager/
6
  Description: Manage events specifying precise spatial data (Location, Town, Province, etc).
7
  Author: Davide Benini, Marcus Sykes
1
  <?php
2
  /*
3
  Plugin Name: Events Manager
4
+ Version: 3.0.2
5
  Plugin URI: http://davidebenini.it/wordpress-plugins/events-manager/
6
  Description: Manage events specifying precise spatial data (Location, Town, Province, etc).
7
  Author: Davide Benini, Marcus Sykes
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://davidebenini.it
4
  Tags: events, manager, calendar, gigs, concert, maps, geotagging, rsvp
5
  Requires at least: 2.7
6
  Tested up to: 3.0.1
7
- Stable tag: 3.0.1
8
 
9
  Manage events and display them in your blog. Includes recurring events, location management, calendar, Google map integration, RSVP.
10
 
@@ -233,3 +233,11 @@ Bugfix: fixed all major php bugs preventing the use with Wordpress 3.0
233
  Bugfix: fixed all major js bugs preventing the use with Wordpress 3.0
234
  Restyling of the Settings page
235
  Added a setting to revert to 2.2
 
 
 
 
 
 
 
 
4
  Tags: events, manager, calendar, gigs, concert, maps, geotagging, rsvp
5
  Requires at least: 2.7
6
  Tested up to: 3.0.1
7
+ Stable tag: 3.0.2
8
 
9
  Manage events and display them in your blog. Includes recurring events, location management, calendar, Google map integration, RSVP.
10
 
233
  Bugfix: fixed all major js bugs preventing the use with Wordpress 3.0
234
  Restyling of the Settings page
235
  Added a setting to revert to 2.2
236
+
237
+ =3.0.1=
238
+ * Fixed spelling typos
239
+ * Fixed warnings for bad location image uploads (e.g. too big etc.)
240
+ * Fixed error for #_EXCERPT not showing
241
+
242
+ =3.0.2=
243
+ * Fixed major recurrence bug