Event Calendar WD – Responsive Event Calendar plugin - Version 1.1.52

Version Description

Download this release

Release Info

Developer 10web
Plugin Icon 128x128 Event Calendar WD – Responsive Event Calendar plugin
Version 1.1.52
Comparing to
See all releases

Code changes from version 1.1.51 to 1.1.52

Files changed (3) hide show
  1. ecwd.php +2 -2
  2. includes/ecwd-functions.php +3 -6
  3. readme.txt +1 -1
ecwd.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Event Calendar WD
4
  * Plugin URI: https://10web.io/plugins/wordpress-event-calendar/
5
  * Description: Event Calendar WD is an easy event management and planning tool with advanced features.
6
- * Version: 1.1.51
7
  * Author: 10Web
8
  * Author URI: https://10web.io/plugins/
9
  * Text Domain: event-calendar-wd
@@ -27,7 +27,7 @@ if(! defined( 'ECWD_URL' ) ){
27
  }
28
 
29
  if (!defined('ECWD_VERSION')) {
30
- define('ECWD_VERSION', "1.1.51");
31
  }
32
 
33
  if (!defined('ECWD_PLUGIN_MAIN_FILE')) {
3
  * Plugin Name: Event Calendar WD
4
  * Plugin URI: https://10web.io/plugins/wordpress-event-calendar/
5
  * Description: Event Calendar WD is an easy event management and planning tool with advanced features.
6
+ * Version: 1.1.52
7
  * Author: 10Web
8
  * Author URI: https://10web.io/plugins/
9
  * Text Domain: event-calendar-wd
27
  }
28
 
29
  if (!defined('ECWD_VERSION')) {
30
+ define('ECWD_VERSION', "1.1.52");
31
  }
32
 
33
  if (!defined('ECWD_PLUGIN_MAIN_FILE')) {
includes/ecwd-functions.php CHANGED
@@ -318,13 +318,13 @@ function replaceFirstImages($content) {
318
  }
319
 
320
  function ecwd_event_popup_ajax() {
321
- if (wp_verify_nonce($_POST['ecwd_nonce'], 'ecwd_ajax_nonce') === false || empty($_POST['post_data'])) {
322
  die();
323
  }
324
  $ajax_start_date = isset($_POST['start_date']) ? sanitize_title($_POST['start_date']) : null;
325
  $ajax_end_date = isset($_POST['end_date']) ? sanitize_title($_POST['end_date']) : null;
326
 
327
- if (isset($_POST['id'])) {
328
  $post_id = sanitize_text_field(($_POST['id']));
329
  include_once(ECWD_DIR . '/views/ecwd-event-popup.php');
330
  die;
@@ -335,10 +335,7 @@ add_action('wp_ajax_nopriv_ecwd_event_popup_ajax', ECWD_PLUGIN_PREFIX . '_event_
335
  add_action('wp_ajax_ecwd_event_popup_ajax', ECWD_PLUGIN_PREFIX . '_event_popup_ajax');
336
 
337
  function ecwd_event_content($content) {
338
- global $post;
339
- global $wp;
340
- global $ecwd_options;
341
-
342
 
343
  if (is_single()) {
344
  if ($post->post_type == ECWD_PLUGIN_PREFIX . '_organizer') {
318
  }
319
 
320
  function ecwd_event_popup_ajax() {
321
+ if ( wp_verify_nonce($_POST['ecwd_nonce'], 'ecwd_ajax_nonce') === false ) {
322
  die();
323
  }
324
  $ajax_start_date = isset($_POST['start_date']) ? sanitize_title($_POST['start_date']) : null;
325
  $ajax_end_date = isset($_POST['end_date']) ? sanitize_title($_POST['end_date']) : null;
326
 
327
+ if ( isset($_POST['id']) ) {
328
  $post_id = sanitize_text_field(($_POST['id']));
329
  include_once(ECWD_DIR . '/views/ecwd-event-popup.php');
330
  die;
335
  add_action('wp_ajax_ecwd_event_popup_ajax', ECWD_PLUGIN_PREFIX . '_event_popup_ajax');
336
 
337
  function ecwd_event_content($content) {
338
+ global $post, $wp, $ecwd_options;
 
 
 
339
 
340
  if (is_single()) {
341
  if ($post->post_type == ECWD_PLUGIN_PREFIX . '_organizer') {
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: webdorado, 10web
3
  Requires at least: 4.6
4
  Tested up to: 5.5
5
  Requires PHP: 5.4
6
- Stable tag: 1.1.51
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
3
  Requires at least: 4.6
4
  Tested up to: 5.5
5
  Requires PHP: 5.4
6
+ Stable tag: 1.1.52
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9