Version Description
- Fixed: Minor bug.
Download this release
Release Info
Developer | 10web |
Plugin | Event Calendar WD – Responsive Event Calendar plugin |
Version | 1.1.32 |
Comparing to | |
See all releases |
Code changes from version 1.1.31 to 1.1.32
- ecwd.php +2 -2
- includes/ecwd-cpt-class.php +2 -2
- includes/elementorWidget.php +1 -1
- js/admin/admin.js +2 -2
- readme.txt +4 -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.
|
7 |
* Author: 10Web
|
8 |
* Author URI: https://10web.io/plugins/
|
9 |
* Text Domain: event-calendar-wd
|
@@ -28,7 +28,7 @@ if(! defined( 'ECWD_URL' ) ){
|
|
28 |
}
|
29 |
|
30 |
if (!defined('ECWD_VERSION')) {
|
31 |
-
define('ECWD_VERSION', "1.1.
|
32 |
}
|
33 |
|
34 |
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.32
|
7 |
* Author: 10Web
|
8 |
* Author URI: https://10web.io/plugins/
|
9 |
* Text Domain: event-calendar-wd
|
28 |
}
|
29 |
|
30 |
if (!defined('ECWD_VERSION')) {
|
31 |
+
define('ECWD_VERSION', "1.1.32");
|
32 |
}
|
33 |
|
34 |
if (!defined('ECWD_PLUGIN_MAIN_FILE')) {
|
includes/ecwd-cpt-class.php
CHANGED
@@ -1231,8 +1231,8 @@ class ECWD_Cpt {
|
|
1231 |
include_once 'events/ecwd-events-controller.php';
|
1232 |
|
1233 |
$event = new ecwd_single_event($post_id);
|
1234 |
-
$event->set_start_date(
|
1235 |
-
$event->set_end_date(
|
1236 |
|
1237 |
if((isset($_POST['ecwd_all_day_event'])) && $_POST['ecwd_all_day_event'] === '1') {
|
1238 |
$event->set_all_day(true);
|
1231 |
include_once 'events/ecwd-events-controller.php';
|
1232 |
|
1233 |
$event = new ecwd_single_event($post_id);
|
1234 |
+
$event->set_start_date(str_ireplace(array(" pm"," am"),array("pm","am"),$_POST['ecwd_event_date_from']));
|
1235 |
+
$event->set_end_date(str_ireplace(array(" pm"," am"),array("pm","am"),$_POST['ecwd_event_date_to']));
|
1236 |
|
1237 |
if((isset($_POST['ecwd_all_day_event'])) && $_POST['ecwd_all_day_event'] === '1') {
|
1238 |
$event->set_all_day(true);
|
includes/elementorWidget.php
CHANGED
@@ -64,7 +64,7 @@ class ECWDElementor extends \Elementor\Widget_Base {
|
|
64 |
'type' => \Elementor\Controls_Manager::SELECT,
|
65 |
'default' => 0,
|
66 |
'options' => $calendars,
|
67 |
-
'description' => __('Select the calendar to display.', 'ecwd') .' <a target="
|
68 |
]
|
69 |
);
|
70 |
|
64 |
'type' => \Elementor\Controls_Manager::SELECT,
|
65 |
'default' => 0,
|
66 |
'options' => $calendars,
|
67 |
+
'description' => __('Select the calendar to display.', 'ecwd') .' <a target="_blank" " href="'.$ecwd_edit_link.'">' . __('Edit calendar', 'ecwd') . '</a>',
|
68 |
]
|
69 |
);
|
70 |
|
js/admin/admin.js
CHANGED
@@ -115,8 +115,8 @@
|
|
115 |
if ($("#ecwd_event_meta").length > 0) {
|
116 |
$("#post").submit(function (e)
|
117 |
{
|
118 |
-
var dateTo = Date.parse($("#ecwd_event_date_to").val().replace("am", " am").replace("pm", " pm")),
|
119 |
-
dateFrom = Date.parse($("#ecwd_event_date_from").val().replace("am", " am").replace("pm", " pm"));
|
120 |
if (dateFrom == '' || isNaN(dateFrom) || isNaN(dateTo) || dateTo == '') {
|
121 |
alert('Please set the event dates');
|
122 |
e.preventDefault();
|
115 |
if ($("#ecwd_event_meta").length > 0) {
|
116 |
$("#post").submit(function (e)
|
117 |
{
|
118 |
+
var dateTo = Date.parse($("#ecwd_event_date_to").val().replace("am", " am").replace("pm", " pm").replace("AM", " AM").replace("PM", " PM")),
|
119 |
+
dateFrom = Date.parse($("#ecwd_event_date_from").val().replace("am", " am").replace("pm", " pm").replace("AM", " AM").replace("PM", " PM"));
|
120 |
if (dateFrom == '' || isNaN(dateFrom) || isNaN(dateTo) || dateTo == '') {
|
121 |
alert('Please set the event dates');
|
122 |
e.preventDefault();
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Tags: calendar, date, event, event calendar, events, events calendar, meeting, o
|
|
4 |
Requires at least: 3.9
|
5 |
Tested up to: 5.2
|
6 |
Requires PHP: 5.2
|
7 |
-
Stable tag: 1.1.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -345,6 +345,9 @@ After downloading the ZIP file of the Event Calendar WD plugin,
|
|
345 |
Event Calendar WD plugin optionally embeds Google Maps on front end to display events on the map. Embedded Google Maps behave in the exact same way as if visitor has opened Google Maps site. Google may collect data about visitors, use cookies and tracking, included their logged-in experience interaction with Google platform. Google Maps are regulated under terms of Google privacy policy https://policies.google.com/privacy. The plugin asks for your consent to collect site administrator’s email address and site URL to offer customer support, deals and discounts on premium products and more.
|
346 |
|
347 |
== Changelog ==
|
|
|
|
|
|
|
348 |
= 1.1.31 =
|
349 |
* Fixed: Calendar events problems while using 12-hour format time.
|
350 |
* Added: Category icon on Month view.
|
4 |
Requires at least: 3.9
|
5 |
Tested up to: 5.2
|
6 |
Requires PHP: 5.2
|
7 |
+
Stable tag: 1.1.32
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
345 |
Event Calendar WD plugin optionally embeds Google Maps on front end to display events on the map. Embedded Google Maps behave in the exact same way as if visitor has opened Google Maps site. Google may collect data about visitors, use cookies and tracking, included their logged-in experience interaction with Google platform. Google Maps are regulated under terms of Google privacy policy https://policies.google.com/privacy. The plugin asks for your consent to collect site administrator’s email address and site URL to offer customer support, deals and discounts on premium products and more.
|
346 |
|
347 |
== Changelog ==
|
348 |
+
= 1.1.32 =
|
349 |
+
* Fixed: Minor bug.
|
350 |
+
|
351 |
= 1.1.31 =
|
352 |
* Fixed: Calendar events problems while using 12-hour format time.
|
353 |
* Added: Category icon on Month view.
|