The Events Calendar Shortcode - Version 1.10.1

Version Description

  • Fixing error with very old versions of PHP
Download this release

Release Info

Developer brianhogg
Plugin Icon 128x128 The Events Calendar Shortcode
Version 1.10.1
Comparing to
See all releases

Code changes from version 1.10 to 1.10.1

includes/ajax-endpoints.php CHANGED
@@ -8,10 +8,10 @@ function ajax_ecs_save_show_link_value() {
8
  }
9
 
10
  update_option( 'ecs-show-link', ( isset( $_POST['value'] ) && 'true' == $_POST['value'] ) ? true : false );
11
- wp_send_json( [
12
  'success' => 'true',
13
  'value' => get_option( 'ecs-show-link' ) ? true : false
14
- ] );
15
  }
16
 
17
  add_action( 'wp_ajax_ecs_show_link', 'ajax_ecs_save_show_link_value' );
8
  }
9
 
10
  update_option( 'ecs-show-link', ( isset( $_POST['value'] ) && 'true' == $_POST['value'] ) ? true : false );
11
+ wp_send_json( array(
12
  'success' => 'true',
13
  'value' => get_option( 'ecs-show-link' ) ? true : false
14
+ ) );
15
  }
16
 
17
  add_action( 'wp_ajax_ecs_show_link', 'ajax_ecs_save_show_link_value' );
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: brianhogg
3
  Tags: event, events, calendar, shortcode, modern tribe
4
  Requires at least: 4.1
5
  Tested up to: 5.0
6
- Stable tag: 1.10
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -158,6 +158,9 @@ The [pro version of the plugin](https://eventcalendarnewsletter.com/the-events-c
158
 
159
  == Upgrade Notice ==
160
 
 
 
 
161
  = 1.10 =
162
  * Fix for multi-word category names not working with the "cat" option
163
  * Option to show "powered by" link
@@ -254,6 +257,9 @@ Fix missing ul
254
 
255
  == Changelog ==
256
 
 
 
 
257
  = 1.10 =
258
  * Fix for multi-word category names not working with the "cat" option
259
  * Option to show "powered by" link
3
  Tags: event, events, calendar, shortcode, modern tribe
4
  Requires at least: 4.1
5
  Tested up to: 5.0
6
+ Stable tag: 1.10.1
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
158
 
159
  == Upgrade Notice ==
160
 
161
+ = 1.10.1 =
162
+ * Fixing error with very old versions of PHP
163
+
164
  = 1.10 =
165
  * Fix for multi-word category names not working with the "cat" option
166
  * Option to show "powered by" link
257
 
258
  == Changelog ==
259
 
260
+ = 1.10.1 =
261
+ * Fixing error with very old versions of PHP
262
+
263
  = 1.10 =
264
  * Fix for multi-word category names not working with the "cat" option
265
  * Option to show "powered by" link
the-events-calendar-shortcode.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: The Events Calendar Shortcode
4
  Plugin URI: https://eventcalendarnewsletter.com/the-events-calendar-shortcode/
5
  Description: An addon to add shortcode functionality for <a href="http://wordpress.org/plugins/the-events-calendar/">The Events Calendar Plugin by Modern Tribe</a>.
6
- Version: 1.10
7
  Author: Event Calendar Newsletter
8
  Author URI: https://eventcalendarnewsletter.com/the-events-calendar-shortcode
9
  Contributors: brianhogg
@@ -55,7 +55,7 @@ class Events_Calendar_Shortcode
55
  *
56
  * @since 1.0.0
57
  */
58
- const VERSION = '1.10';
59
 
60
  private $admin_page = null;
61
 
@@ -400,7 +400,7 @@ class Events_Calendar_Shortcode
400
  return $output;
401
  }
402
  $output .= '<p class="ecs-powered-by-link">';
403
- $output .= sprintf( esc_html__( 'Event listing powered by %sThe Events Calendar Shortcode%s', 'the-events-calendar-shortcode' ), '<a href="https://eventcalendarnewsletter.com/the-events-calendar-shortcode/?utm_source=footer&utm_campaign=powered-by-link">', '</a>' );
404
  $output .= '</p>';
405
  return $output;
406
  }
3
  Plugin Name: The Events Calendar Shortcode
4
  Plugin URI: https://eventcalendarnewsletter.com/the-events-calendar-shortcode/
5
  Description: An addon to add shortcode functionality for <a href="http://wordpress.org/plugins/the-events-calendar/">The Events Calendar Plugin by Modern Tribe</a>.
6
+ Version: 1.10.1
7
  Author: Event Calendar Newsletter
8
  Author URI: https://eventcalendarnewsletter.com/the-events-calendar-shortcode
9
  Contributors: brianhogg
55
  *
56
  * @since 1.0.0
57
  */
58
+ const VERSION = '1.10.1';
59
 
60
  private $admin_page = null;
61
 
400
  return $output;
401
  }
402
  $output .= '<p class="ecs-powered-by-link">';
403
+ $output .= sprintf( esc_html__( 'Event listing powered by %sThe Events Calendar Shortcode%s', 'the-events-calendar-shortcode' ), '<a target="_blank" href="https://eventcalendarnewsletter.com/the-events-calendar-shortcode/?utm_source=footer&utm_campaign=powered-by-link">', '</a>' );
404
  $output .= '</p>';
405
  return $output;
406
  }