Simple Calendar – Google Calendar Plugin - Version 2.2.5

Version Description

  • April 22, 2015 =

  • Updated calls to add_query_arg to prevent any possible XSS attacks.

  • Fixed bug with fatal error in rare cases by rearragning order of plugin file includes.

  • Fixed bug with navigation links sometimes returning -1.

  • Corrected typo with paging links title attributes.

Download this release

Release Info

Developer pderksen
Plugin Icon 128x128 Simple Calendar – Google Calendar Plugin
Version 2.2.5
Comparing to
See all releases

Code changes from version 2.2.4 to 2.2.5

README.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: pderksen, nickyoung87, rosshanney
3
  Tags: google calendar, google, calendar, events, gcal
4
  Requires at least: 3.9.3
5
  Tested up to: 4.2
6
- Stable tag: 2.2.4
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -25,9 +25,8 @@ Parses Google Calendar feeds and displays the events as a calendar grid or list
25
 
26
  [Plugin Documentation & Getting Started](http://wpdocs.philderksen.com/google-calendar-events/?utm_source=wordpress_org&utm_medium=link&utm_campaign=gce_lite)
27
 
28
- ###Feature Requests and Updates###
29
 
30
- * [Public roadmap/feature requests](https://trello.com/b/ZQSzsarY)
31
  * [Get notified when new features are released](http://eepurl.com/0_VsT)
32
  * [Follow this project on Github](https://github.com/pderksen/WP-Google-Calendar-Events)
33
 
@@ -89,6 +88,13 @@ There are three ways to install this plugin.
89
 
90
  == Changelog ==
91
 
 
 
 
 
 
 
 
92
  = 2.2.4 - April 6, 2015 =
93
 
94
  * Updated French translation files.
@@ -97,7 +103,6 @@ There are three ways to install this plugin.
97
 
98
  = 2.2.3 - March 26, 2015 =
99
 
100
- * Tested up to WordPress 4.2.
101
  * Fixed bug with the "More details..." link encoding.
102
  * Added note about total event limit of 2,500 now enforced by the Google Calendar API.
103
  * Updated earliest feed event date default to 1 (one) month back.
@@ -105,10 +110,11 @@ There are three ways to install this plugin.
105
  * Minor public script improvements.
106
  * Added Brazilian Portuguese translation files.
107
  * Updated jQuery UI datepicker CSS CDN reference for feed settings pages.
 
108
 
109
  = 2.2.2.1 - March 17, 2015 =
110
 
111
- * The option to always enqueue scripts & styles should now be enabled by default for new installs and upgrades.
112
 
113
  = 2.2.2 - March 15, 2015 =
114
 
3
  Tags: google calendar, google, calendar, events, gcal
4
  Requires at least: 3.9.3
5
  Tested up to: 4.2
6
+ Stable tag: 2.2.5
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
25
 
26
  [Plugin Documentation & Getting Started](http://wpdocs.philderksen.com/google-calendar-events/?utm_source=wordpress_org&utm_medium=link&utm_campaign=gce_lite)
27
 
28
+ ###Updates###
29
 
 
30
  * [Get notified when new features are released](http://eepurl.com/0_VsT)
31
  * [Follow this project on Github](https://github.com/pderksen/WP-Google-Calendar-Events)
32
 
88
 
89
  == Changelog ==
90
 
91
+ = 2.2.5 - April 22, 2015 =
92
+
93
+ * Updated calls to add_query_arg to prevent any possible XSS attacks.
94
+ * Fixed bug with fatal error in rare cases by rearragning order of plugin file includes.
95
+ * Fixed bug with navigation links sometimes returning -1.
96
+ * Corrected typo with paging links title attributes.
97
+
98
  = 2.2.4 - April 6, 2015 =
99
 
100
  * Updated French translation files.
103
 
104
  = 2.2.3 - March 26, 2015 =
105
 
 
106
  * Fixed bug with the "More details..." link encoding.
107
  * Added note about total event limit of 2,500 now enforced by the Google Calendar API.
108
  * Updated earliest feed event date default to 1 (one) month back.
110
  * Minor public script improvements.
111
  * Added Brazilian Portuguese translation files.
112
  * Updated jQuery UI datepicker CSS CDN reference for feed settings pages.
113
+ * Tested up to WordPress 4.2.
114
 
115
  = 2.2.2.1 - March 17, 2015 =
116
 
117
+ * Option to always enqueue scripts & styles now enabled by default.
118
 
119
  = 2.2.2 - March 15, 2015 =
120
 
class-google-calendar-events.php CHANGED
@@ -18,7 +18,7 @@ class Google_Calendar_Events {
18
  *
19
  * @var string
20
  */
21
- protected $version = '2.2.4';
22
 
23
  /**
24
  * Unique identifier for the plugin.
@@ -86,8 +86,7 @@ class Google_Calendar_Events {
86
  array(
87
  'script_debug' => ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ),
88
  'ajaxurl' => admin_url( 'admin-ajax.php' ),
89
- 'ajaxnonce' => wp_create_nonce( 'gce_ajax_nonce' ),
90
- 'loadingText' => __( 'Loading...', 'gce' )
91
  ) );
92
  }
93
  }
@@ -166,11 +165,10 @@ class Google_Calendar_Events {
166
  // First include common files between admin and public
167
  include_once( 'includes/misc-functions.php' );
168
  include_once( 'includes/gce-feed-cpt.php' );
169
- include_once( 'includes/class-gce-feed.php' );
170
  include_once( 'includes/class-gce-event.php' );
 
171
  include_once( 'includes/shortcodes.php' );
172
- include_once( 'includes/class-gce-display.php' );
173
-
174
  include_once( 'views/widgets.php' );
175
 
176
  // Now include files specifically for public or admin
18
  *
19
  * @var string
20
  */
21
+ protected $version = '2.2.5';
22
 
23
  /**
24
  * Unique identifier for the plugin.
86
  array(
87
  'script_debug' => ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ),
88
  'ajaxurl' => admin_url( 'admin-ajax.php' ),
89
+ 'loadingText' => __( 'Loading...', 'gce' ),
 
90
  ) );
91
  }
92
  }
165
  // First include common files between admin and public
166
  include_once( 'includes/misc-functions.php' );
167
  include_once( 'includes/gce-feed-cpt.php' );
168
+ include_once( 'includes/class-gce-display.php' );
169
  include_once( 'includes/class-gce-event.php' );
170
+ include_once( 'includes/class-gce-feed.php' );
171
  include_once( 'includes/shortcodes.php' );
 
 
172
  include_once( 'views/widgets.php' );
173
 
174
  // Now include files specifically for public or admin
google-calendar-events.php CHANGED
@@ -6,13 +6,13 @@
6
  * @author Phil Derksen <pderksen@gmail.com>, Nick Young <mycorpweb@gmail.com>
7
  * @license GPL-2.0+
8
  * @link http://philderksen.com
9
- * @copyright 2014 Phil Derksen
10
  *
11
  * @wordpress-plugin
12
  * Plugin Name: Google Calendar Events
13
  * Plugin URI: https://github.com/pderksen/WP-Google-Calendar-Events
14
  * Description: Show off your Google calendar in grid (month) or list view, in a post, page or widget, and in a style that matches your site.
15
- * Version: 2.2.4
16
  * Author: Phil Derksen
17
  * Author URI: http://philderksen.com
18
  * License: GPL-2.0+
6
  * @author Phil Derksen <pderksen@gmail.com>, Nick Young <mycorpweb@gmail.com>
7
  * @license GPL-2.0+
8
  * @link http://philderksen.com
9
+ * @copyright 2014-2015 Phil Derksen
10
  *
11
  * @wordpress-plugin
12
  * Plugin Name: Google Calendar Events
13
  * Plugin URI: https://github.com/pderksen/WP-Google-Calendar-Events
14
  * Description: Show off your Google calendar in grid (month) or list view, in a post, page or widget, and in a style that matches your site.
15
+ * Version: 2.2.5
16
  * Author: Phil Derksen
17
  * Author URI: http://philderksen.com
18
  * License: GPL-2.0+
includes/admin/admin-functions.php CHANGED
@@ -74,7 +74,7 @@ function gce_add_cache_button() {
74
 
75
  if( $post->post_type == 'gce_feed' ) {
76
  $html = '<div id="gce-clear-cache">' .
77
- '<a href="' . add_query_arg( array( 'clear_cache' => true ) ) . '">' . __( 'Clear Cache', 'gce' ) . '</a>' .
78
  '</div>';
79
 
80
  echo $html;
74
 
75
  if( $post->post_type == 'gce_feed' ) {
76
  $html = '<div id="gce-clear-cache">' .
77
+ '<a href="' . esc_url( add_query_arg( array( 'clear_cache' => true ) ) ) . '">' . __( 'Clear Cache', 'gce' ) . '</a>' .
78
  '</div>';
79
 
80
  echo $html;
includes/admin/admin-notice.php CHANGED
@@ -32,6 +32,6 @@ if ( ! defined( 'ABSPATH' ) ) {
32
  <p>
33
  <a href="<?php echo admin_url( 'edit.php?post_type=gce_feed&page=google-calendar-events_general_settings' ); ?>" class="button-primary"><?php _e( 'Enter your GCal API key', 'gce' ); ?></a>
34
  <a href="<?php echo admin_url( 'edit.php?post_type=gce_feed' ); ?>" class="button-secondary"><?php _e( 'Configure GCal feeds', 'gce' ); ?></a>
35
- <a href="<?php echo add_query_arg( 'gce-dismiss-install-nag', 1 ); ?>" class="button-secondary"><?php _e( 'Hide this', 'gce' ); ?></a>
36
  </p>
37
  </div>
32
  <p>
33
  <a href="<?php echo admin_url( 'edit.php?post_type=gce_feed&page=google-calendar-events_general_settings' ); ?>" class="button-primary"><?php _e( 'Enter your GCal API key', 'gce' ); ?></a>
34
  <a href="<?php echo admin_url( 'edit.php?post_type=gce_feed' ); ?>" class="button-secondary"><?php _e( 'Configure GCal feeds', 'gce' ); ?></a>
35
+ <a href="<?php echo esc_url( add_query_arg( 'gce-dismiss-install-nag', 1 ) ); ?>" class="button-secondary"><?php _e( 'Hide this', 'gce' ); ?></a>
36
  </p>
37
  </div>
includes/class-gce-display.php CHANGED
@@ -292,8 +292,8 @@ class GCE_Display {
292
  $prev_text = apply_filters( 'gce_prev_text', $prev_text );
293
  $next_text = apply_filters( 'gce_next_text', $next_text );
294
 
295
- $p = '<div class="gce-prev"><a href="#" class="gce-change-month-list" title="' . esc_attr__( 'Previous month', 'gce' ) . '" data-gce-paging-direction="back" data-gce-paging-type="' . esc_attr( $paging_type ) . '">'. esc_html( $prev_text ) . '</a></div>';
296
- $n = '<div class="gce-next"><a href="#" class="gce-change-month-list" title="' . esc_attr__( 'Next month', 'gce' ) . '" data-gce-paging-direction="forward" data-gce-paging-type="' . esc_attr( $paging_type ) . '">' . esc_html( $next_text ) . '</a></div>';
297
 
298
  $markup .= '<div class="gce-navbar">' .
299
  $p .
292
  $prev_text = apply_filters( 'gce_prev_text', $prev_text );
293
  $next_text = apply_filters( 'gce_next_text', $next_text );
294
 
295
+ $p = '<div class="gce-prev"><a href="#" class="gce-change-month-list" title="' . esc_attr__( 'Previous', 'gce' ) . '" data-gce-paging-direction="back" data-gce-paging-type="' . esc_attr( $paging_type ) . '">'. esc_html( $prev_text ) . '</a></div>';
296
+ $n = '<div class="gce-next"><a href="#" class="gce-change-month-list" title="' . esc_attr__( 'Next', 'gce' ) . '" data-gce-paging-direction="forward" data-gce-paging-type="' . esc_attr( $paging_type ) . '">' . esc_html( $next_text ) . '</a></div>';
297
 
298
  $markup .= '<div class="gce-navbar">' .
299
  $p .
includes/class-gce-feed.php CHANGED
@@ -130,7 +130,7 @@ class GCE_Feed {
130
  $args['singleEvents'] = 'true';
131
  }
132
 
133
- $query = add_query_arg( $args, $query );
134
 
135
  $this->display_url = $query;
136
 
130
  $args['singleEvents'] = 'true';
131
  }
132
 
133
+ $query = esc_url_raw( add_query_arg( $args, $query ) );
134
 
135
  $this->display_url = $query;
136
 
includes/gce-feed-cpt.php CHANGED
@@ -86,22 +86,21 @@ add_filter( 'post_updated_messages', 'gce_feed_messages' );
86
 
87
 
88
  /**
89
- * Add post meta to tie in with the Google Calendar Events custom post type
 
90
  *
91
  * @since 2.0.0
92
  */
93
  function gce_cpt_meta() {
94
  add_meta_box( 'gce_feed_meta', __( 'Feed Settings', 'gce' ), 'gce_display_meta', 'gce_feed', 'advanced', 'core' );
95
 
96
- // Sidebar meta box below publish section.
97
- add_meta_box( 'gce_feed_sidebar_help', __( 'Helpful Links', 'gce' ), 'gce_feed_sidebar_help', 'gce_feed', 'side', 'core' );
98
-
99
  add_meta_box( 'gce_display_options_meta', __( 'Display Options', 'gce' ), 'gce_display_options_meta', 'gce_feed', 'side', 'core' );
100
  }
101
  add_action( 'add_meta_boxes', 'gce_cpt_meta' );
102
 
103
  /**
104
- * Function called to display post meta
105
  *
106
  * @since 2.0.0
107
  */
@@ -110,7 +109,7 @@ function gce_display_meta() {
110
  }
111
 
112
  /**
113
- * Function called to display help in sidebar.
114
  *
115
  * @since 2.0.0
116
  */
@@ -119,7 +118,7 @@ function gce_feed_sidebar_help() {
119
  }
120
 
121
  /**
122
- * Function called to display post meta
123
  *
124
  * @since 2.0.0
125
  */
@@ -288,7 +287,7 @@ add_action( 'manage_gce_feed_posts_custom_column', 'gce_column_content', 10, 2 )
288
  */
289
  function gce_cpt_actions( $actions, $post ) {
290
  if( $post->post_type == 'gce_feed' ) {
291
- $actions['clear_cache'] = '<a href="' . add_query_arg( array( 'clear_cache' => $post->ID ) ). '">' . __( 'Clear Cache', 'gce' ) . '</a>';
292
  }
293
 
294
  return $actions;
86
 
87
 
88
  /**
89
+ * Add post meta to tie in with the Google Calendar Events custom post type.
90
+ * Also render sidebar meta boxes.
91
  *
92
  * @since 2.0.0
93
  */
94
  function gce_cpt_meta() {
95
  add_meta_box( 'gce_feed_meta', __( 'Feed Settings', 'gce' ), 'gce_display_meta', 'gce_feed', 'advanced', 'core' );
96
 
97
+ add_meta_box( 'gce_feed_sidebar_help', __( 'Resources', 'gce' ), 'gce_feed_sidebar_help', 'gce_feed', 'side', 'core' );
 
 
98
  add_meta_box( 'gce_display_options_meta', __( 'Display Options', 'gce' ), 'gce_display_options_meta', 'gce_feed', 'side', 'core' );
99
  }
100
  add_action( 'add_meta_boxes', 'gce_cpt_meta' );
101
 
102
  /**
103
+ * Include view to display post meta.
104
  *
105
  * @since 2.0.0
106
  */
109
  }
110
 
111
  /**
112
+ * Include view to display help in sidebar.
113
  *
114
  * @since 2.0.0
115
  */
118
  }
119
 
120
  /**
121
+ * Include view to display options in sidebar.
122
  *
123
  * @since 2.0.0
124
  */
287
  */
288
  function gce_cpt_actions( $actions, $post ) {
289
  if( $post->post_type == 'gce_feed' ) {
290
+ $actions['clear_cache'] = '<a href="' . esc_url( add_query_arg( array( 'clear_cache' => $post->ID ) ) ) . '">' . __( 'Clear Cache', 'gce' ) . '</a>';
291
  }
292
 
293
  return $actions;
includes/misc-functions.php CHANGED
@@ -160,13 +160,7 @@ function gce_print_calendar( $feed_ids, $display = 'grid', $args = array(), $wid
160
  * @since 2.0.0
161
  */
162
  function gce_ajax() {
163
-
164
- // check to see if the submitted nonce matches with the
165
- // generated nonce we created earlier
166
- if( ! check_ajax_referer( 'gce_ajax_nonce', 'gce_nonce' ) ) {
167
- die( 'Request has failed.' );
168
- }
169
-
170
  $uid = esc_html( $_POST['gce_uid'] );
171
  $ids = esc_html( $_POST['gce_feed_ids'] );
172
  $title = esc_html( $_POST['gce_title_text'] );
@@ -207,12 +201,6 @@ add_action( 'wp_ajax_gce_ajax', 'gce_ajax' );
207
  */
208
  function gce_ajax_list() {
209
 
210
- // check to see if the submitted nonce matches with the
211
- // generated nonce we created earlier
212
- if( ! check_ajax_referer( 'gce_ajax_nonce', 'gce_nonce' ) ) {
213
- die( 'Request has failed.' );
214
- }
215
-
216
  $grouped = esc_html( $_POST['gce_grouped'] );
217
  $start = esc_html( $_POST['gce_start'] );
218
  $ids = esc_html( $_POST['gce_feed_ids'] );
@@ -285,11 +273,11 @@ add_filter( 'the_content', 'gce_feed_content' );
285
  function gce_ga_campaign_url( $base_url, $source, $medium, $campaign ) {
286
  // $medium examples: 'sidebar_link', 'banner_image'
287
 
288
- $url = add_query_arg( array(
289
  'utm_source' => $source,
290
  'utm_medium' => $medium,
291
  'utm_campaign' => $campaign
292
- ), $base_url );
293
 
294
  return esc_url( $url );
295
  }
160
  * @since 2.0.0
161
  */
162
  function gce_ajax() {
163
+
 
 
 
 
 
 
164
  $uid = esc_html( $_POST['gce_uid'] );
165
  $ids = esc_html( $_POST['gce_feed_ids'] );
166
  $title = esc_html( $_POST['gce_title_text'] );
201
  */
202
  function gce_ajax_list() {
203
 
 
 
 
 
 
 
204
  $grouped = esc_html( $_POST['gce_grouped'] );
205
  $start = esc_html( $_POST['gce_start'] );
206
  $ids = esc_html( $_POST['gce_feed_ids'] );
273
  function gce_ga_campaign_url( $base_url, $source, $medium, $campaign ) {
274
  // $medium examples: 'sidebar_link', 'banner_image'
275
 
276
+ $url = esc_url( add_query_arg( array(
277
  'utm_source' => $source,
278
  'utm_medium' => $medium,
279
  'utm_campaign' => $campaign
280
+ ), $base_url ) );
281
 
282
  return esc_url( $url );
283
  }
includes/php-calendar.php CHANGED
@@ -52,15 +52,15 @@ function gce_generate_calendar( $year, $month, $days = array(), $day_name_length
52
  $n = apply_filters( 'gce_next_text', $n );
53
 
54
  if( $widget ) {
55
- $p = '<div class="gce-prev">' . ( ( $pl ) ? ( '<a href="#" class="gce-change-month" title="' . esc_attr__( 'Previous month', 'gce' ) . '" name="' . esc_attr( $pl ) . '" data-gce-grid-paging="' . esc_attr( $paging ) . '">' . $p . '</a>' ) : $p ) . '</div>';
56
  } else {
57
- $p = '<div class="gce-prev">' . ( ( $pl ) ? ( '<a href="#" class="gce-change-month" title="' . esc_attr__( 'Previous month', 'gce' ) . '" name="' . esc_attr( $pl ) . '" data-gce-grid-paging="' . esc_attr( $paging ) . '">' . $p . '</a>' ) : $p ) . '</div>';
58
  }
59
 
60
  if( $widget ) {
61
- $n = '<div class="gce-next">' . ( ( $nl ) ? ( '<a href="#" class="gce-change-month" title="' . esc_attr__( 'Next month', 'gce' ) . '" name="' . esc_attr( $nl ) . '" data-gce-grid-paging="' . esc_attr( $paging ) . '">' . $n . '</a>' ) : $n ) . '</div>';
62
  } else {
63
- $n = '<div class="gce-next">' . ( ( $nl ) ? ( '<a href="#" class="gce-change-month" title="' . esc_attr__( 'Next month', 'gce' ) . '" name="' . esc_attr( $nl ) . '" data-gce-grid-paging="' . esc_attr( $paging ) . '">' . $n . '</a>' ) : $n ) . '</div>';
64
  }
65
 
66
  $calendar = '<table class="gce-calendar">' . "\n" .
52
  $n = apply_filters( 'gce_next_text', $n );
53
 
54
  if( $widget ) {
55
+ $p = '<div class="gce-prev">' . ( ( $pl ) ? ( '<a href="#" class="gce-change-month" title="' . esc_attr__( 'Previous', 'gce' ) . '" name="' . esc_attr( $pl ) . '" data-gce-grid-paging="' . esc_attr( $paging ) . '">' . $p . '</a>' ) : $p ) . '</div>';
56
  } else {
57
+ $p = '<div class="gce-prev">' . ( ( $pl ) ? ( '<a href="#" class="gce-change-month" title="' . esc_attr__( 'Previous', 'gce' ) . '" name="' . esc_attr( $pl ) . '" data-gce-grid-paging="' . esc_attr( $paging ) . '">' . $p . '</a>' ) : $p ) . '</div>';
58
  }
59
 
60
  if( $widget ) {
61
+ $n = '<div class="gce-next">' . ( ( $nl ) ? ( '<a href="#" class="gce-change-month" title="' . esc_attr__( 'Next', 'gce' ) . '" name="' . esc_attr( $nl ) . '" data-gce-grid-paging="' . esc_attr( $paging ) . '">' . $n . '</a>' ) : $n ) . '</div>';
62
  } else {
63
+ $n = '<div class="gce-next">' . ( ( $nl ) ? ( '<a href="#" class="gce-change-month" title="' . esc_attr__( 'Next', 'gce' ) . '" name="' . esc_attr( $nl ) . '" data-gce-grid-paging="' . esc_attr( $paging ) . '">' . $n . '</a>' ) : $n ) . '</div>';
64
  }
65
 
66
  $calendar = '<table class="gce-calendar">' . "\n" .
includes/register-settings.php CHANGED
@@ -36,8 +36,9 @@ function gce_register_settings() {
36
  ),
37
  'always_enqueue' => array(
38
  'id' => 'always_enqueue',
39
- 'name' => __( 'Always Enqueue Scripts & Styles', 'sc' ),
40
- 'desc' => __( sprintf( 'Enqueue this plugin\'s scripts and styles on every post and page. Useful if using shortcodes in widgets or other non-standard locations.' ), 'gce' ),
 
41
  'type' => 'checkbox'
42
  ),
43
  'disable_css' => array(
@@ -49,7 +50,8 @@ function gce_register_settings() {
49
  'save_settings' => array(
50
  'id' => 'save_settings',
51
  'name' => __( 'Save Settings', 'gce' ),
52
- 'desc' => __( 'Save your settings when uninstalling this plugin. Useful when upgrading or re-installing.', 'gce' ),
 
53
  'type' => 'checkbox'
54
  )
55
  )
36
  ),
37
  'always_enqueue' => array(
38
  'id' => 'always_enqueue',
39
+ 'name' => __( 'Always Enqueue Scripts & Styles', 'gce' ),
40
+ 'desc' => __( 'Enqueue this plugin\'s scripts and styles on every post and page.', 'gce' ) . '<br/>' .
41
+ '<p class="description">' . __( 'Useful if using shortcodes in widgets or other non-standard locations.', 'gce' ) . '</p>',
42
  'type' => 'checkbox'
43
  ),
44
  'disable_css' => array(
50
  'save_settings' => array(
51
  'id' => 'save_settings',
52
  'name' => __( 'Save Settings', 'gce' ),
53
+ 'desc' => __( 'Save your settings when uninstalling this plugin.', 'gce' ) . '<br/>' .
54
+ '<p class="description">' . __( 'Useful when upgrading or re-installing.', 'gce' ) . '</p>',
55
  'type' => 'checkbox'
56
  )
57
  )
js/gce-script.js CHANGED
@@ -70,8 +70,7 @@
70
  gce_widget_id: gce_grid[id].target_element,
71
  gce_month: month_year[0],
72
  gce_year: month_year[1],
73
- gce_paging: paging,
74
- gce_nonce: gce.ajaxnonce
75
 
76
  }, function(data) {
77
 
@@ -128,8 +127,7 @@
128
  gce_paging_interval: paging_interval,
129
  gce_paging_direction: paging_direction,
130
  gce_start_offset: start_offset,
131
- gce_paging_type: paging_type,
132
- gce_nonce: gce.ajaxnonce
133
 
134
  }, function(data){
135
  navLink.parents('.gce-list').replaceWith(data);
70
  gce_widget_id: gce_grid[id].target_element,
71
  gce_month: month_year[0],
72
  gce_year: month_year[1],
73
+ gce_paging: paging
 
74
 
75
  }, function(data) {
76
 
127
  gce_paging_interval: paging_interval,
128
  gce_paging_direction: paging_direction,
129
  gce_start_offset: start_offset,
130
+ gce_paging_type: paging_type
 
131
 
132
  }, function(data){
133
  navLink.parents('.gce-list').replaceWith(data);
views/admin/gce-feed-sidebar-help.php CHANGED
@@ -3,27 +3,26 @@
3
  <li>
4
  <div class="dashicons dashicons-arrow-right-alt2"></div>
5
  <a href="<?php echo gce_ga_campaign_url( 'http://wpdocs.philderksen.com/google-calendar-events/', 'gce_lite', 'sidebar_link', 'docs' ); ?>" target="_blank">
6
- <?php _e( 'Documentation & getting started', 'gce' ); ?></a>
7
  </li>
8
  <li>
9
  <div class="dashicons dashicons-arrow-right-alt2"></div>
10
  <a href="https://wordpress.org/support/plugin/google-calendar-events" target="_blank">
11
  <?php _e( 'Community support forums', 'gce' ); ?></a>
12
  </li>
13
- <li>
14
- <div class="dashicons dashicons-arrow-right-alt2"></div>
15
- <a href="https://wordpress.org/support/view/plugin-reviews/google-calendar-events#postform" target="_blank">
16
- <?php _e( 'Rate this plugin', 'gce' ); ?></a>
17
- </li>
18
- <li>
19
- <div class="dashicons dashicons-arrow-right-alt2"></div>
20
- <a href="https://trello.com/b/ZQSzsarY" target="_blank">
21
- <?php _e( 'View our roadmap & vote', 'gce' ); ?></a>
22
- </li>
23
  <li>
24
  <div class="dashicons dashicons-arrow-right-alt2"></div>
25
  <a href="http://eepurl.com/0_VsT" target="_blank">
26
  <?php _e( 'Get notified of new features', 'gce' ); ?></a>
27
  </li>
28
  </ul>
 
 
 
 
 
 
 
 
 
29
  </div>
3
  <li>
4
  <div class="dashicons dashicons-arrow-right-alt2"></div>
5
  <a href="<?php echo gce_ga_campaign_url( 'http://wpdocs.philderksen.com/google-calendar-events/', 'gce_lite', 'sidebar_link', 'docs' ); ?>" target="_blank">
6
+ <?php _e( 'Documentation', 'gce' ); ?></a>
7
  </li>
8
  <li>
9
  <div class="dashicons dashicons-arrow-right-alt2"></div>
10
  <a href="https://wordpress.org/support/plugin/google-calendar-events" target="_blank">
11
  <?php _e( 'Community support forums', 'gce' ); ?></a>
12
  </li>
 
 
 
 
 
 
 
 
 
 
13
  <li>
14
  <div class="dashicons dashicons-arrow-right-alt2"></div>
15
  <a href="http://eepurl.com/0_VsT" target="_blank">
16
  <?php _e( 'Get notified of new features', 'gce' ); ?></a>
17
  </li>
18
  </ul>
19
+
20
+ <p>
21
+ <?php _e( 'Your review helps more folks find our plugin. Thanks so much!', 'gced' ); ?>
22
+ </p>
23
+ <div class="centered">
24
+ <a href="https://wordpress.org/support/view/plugin-reviews/google-calendar-events#postform" class="button-primary" target="_blank">
25
+ <?php _e( 'Review this Plugin Now', 'gce' ); ?></a>
26
+ </div>
27
+
28
  </div>