Events Manager - Version 3.0.98

Version Description

  • fixed google maps js offset issue
  • fixed navigation title renaming issue
Download this release

Release Info

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

Code changes from version 3.0.97 to 3.0.98

admin/em-admin.php CHANGED
@@ -40,6 +40,25 @@ function em_admin_warnings() {
40
  <?php
41
  }
42
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
43
 
44
  //If events page couldn't be created
45
  if( !empty($_GET['em_dismiss_events_page']) ){
40
  <?php
41
  }
42
  }
43
+ //If events page couldn't be created
44
+ if( !empty($_GET['em_dismiss_rc_notice']) ){
45
+ delete_option('dbem_admin_notice_rc');
46
+ }elseif( get_option('dbem_admin_notice_rc')){
47
+ ?>
48
+ <div class="updated">
49
+ <p>
50
+ <strong>Events Manager 4.0 on its way!</strong>
51
+ We've just about finished with 4.0, which boasts TONS of long awaited features including advanced booking, permalinks, MultiSite and BuddPress integration, and much more!
52
+ It is undergoing final testing to be released in the coming days, and the website has already had a documentation and tutorial overhaul in preparation.
53
+ </p><p>
54
+ To read up on the changes and get a hold of the Release Candidate
55
+ <a href="http://wp-events-plugin.com/try-the-beta/?utm_source=plugin&utm_medium=html&utm_campaign=rc_notice">click here</a>.
56
+ Please make sure to have a look at this page if you use EM for bookings or have made any mods to the plugin, as there are some considerations to make when upgrading.<br />
57
+ <a href="http://wp-events-plugin.com/try-the-beta/?utm_source=plugin&utm_medium=html&utm_campaign=rc_notice">See what's new</a> | <a href="<?php echo $_SERVER['REQUEST_URI'].$dismiss_link_joiner.'em_dismiss_rc_notice=1' ?>">Dismiss this message.</a>
58
+ </p>
59
+ </div>
60
+ <?php
61
+ }
62
 
63
  //If events page couldn't be created
64
  if( !empty($_GET['em_dismiss_events_page']) ){
em-events.php CHANGED
@@ -138,7 +138,7 @@ function em_wp_the_title($data){
138
  }
139
  return apply_filters('em_wp_the_title', $data) ;
140
  }
141
- add_filter ( 'the_title', 'em_wp_the_title' );
142
 
143
  /**
144
  * Filters the get_pages functions so it includes the event pages?
138
  }
139
  return apply_filters('em_wp_the_title', $data) ;
140
  }
141
+ add_filter ( 'wp_title', 'em_wp_the_title' );
142
 
143
  /**
144
  * Filters the get_pages functions so it includes the event pages?
events-manager.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  Plugin Name: Events Manager
4
- Version: 3.0.97
5
  Plugin URI: http://wp-events-plugin.com
6
  Description: Manage events specifying precise spatial data (Location, Town, Province, etc).
7
  Author: Davide Benini, Marcus Sykes
@@ -257,6 +257,7 @@ add_filter ( 'favorite_actions', 'em_favorite_menu' );
257
 
258
  /* Creating the wp_events table to store event data*/
259
  function em_activate() {
 
260
  require_once(WP_PLUGIN_DIR.'/events-manager/em-install.php');
261
  em_install();
262
  }
1
  <?php
2
  /*
3
  Plugin Name: Events Manager
4
+ Version: 3.0.98
5
  Plugin URI: http://wp-events-plugin.com
6
  Description: Manage events specifying precise spatial data (Location, Town, Province, etc).
7
  Author: Davide Benini, Marcus Sykes
257
 
258
  /* Creating the wp_events table to store event data*/
259
  function em_activate() {
260
+ add_option('dbem_admin_notice_rc',1); //let users know of upcoming version
261
  require_once(WP_PLUGIN_DIR.'/events-manager/em-install.php');
262
  em_install();
263
  }
includes/js/em_maps.js CHANGED
@@ -3,7 +3,7 @@ var maps = {};
3
  jQuery(document).ready( function($){
4
  if( $('.em-location-map').length > 0 || $('.em-locations-map').length > 0 ){
5
  var script = document.createElement("script");
6
- script.setAttribute("src", "http://maps.google.com/maps/api/js?sensor=false&callback=em_maps");
7
  script.setAttribute("type", "text/javascript");
8
  document.documentElement.firstChild.appendChild(script);
9
  }
3
  jQuery(document).ready( function($){
4
  if( $('.em-location-map').length > 0 || $('.em-locations-map').length > 0 ){
5
  var script = document.createElement("script");
6
+ script.setAttribute("src", "http://maps.google.com/maps/api/js?v=3.2&sensor=false&callback=em_maps");
7
  script.setAttribute("type", "text/javascript");
8
  document.documentElement.firstChild.appendChild(script);
9
  }
readme.txt CHANGED
@@ -2,9 +2,9 @@
2
  Contributors: nutsmuggler, netweblogic
3
  Donate link: http://wp-events-plugin.com
4
  Tags: events, booking, calendar, locations, maps, geotagging, admin, dashboard, plugin, template, theme, widget
5
- Requires at least: 2.9
6
- Tested up to: 3.1
7
- Stable tag: 3.0.97
8
 
9
  Fully featured events management including recurring events, location management, calendar, Google map integration, booking management and more.
10
 
@@ -108,6 +108,10 @@ At this stage, Events Manager is available in German, Spanish, Czech, Italian, D
108
 
109
  == Changelog ==
110
 
 
 
 
 
111
  = 3.0.97 =
112
  * correcting wrong version update
113
 
2
  Contributors: nutsmuggler, netweblogic
3
  Donate link: http://wp-events-plugin.com
4
  Tags: events, booking, calendar, locations, maps, geotagging, admin, dashboard, plugin, template, theme, widget
5
+ Requires at least: 2.9
6
+ Tested up to: 3.1.2
7
+ Stable tag: 3.0.98
8
 
9
  Fully featured events management including recurring events, location management, calendar, Google map integration, booking management and more.
10
 
108
 
109
  == Changelog ==
110
 
111
+ = 3.0.98 =
112
+ * fixed google maps js offset issue
113
+ * fixed navigation title renaming issue
114
+
115
  = 3.0.97 =
116
  * correcting wrong version update
117