Version Description
31 March 2022 = - Fixed: An issue on shortcode filter options - Fixed: The remove button for the inner form builder - Fixed: An issue on the single event date method option - Fixed: An issue on the hide event option - Fixed: Some minor issues
Download this release
Release Info
Developer | webnus |
Plugin | Modern Events Calendar Lite |
Version | 6.5.0 |
Comparing to | |
See all releases |
Code changes from version 6.4.9 to 6.5.0
- app/api/Campaign_Monitor/class/services_json.php +38 -50
- app/features/events.php +1 -1
- app/features/mec.php +5 -5
- app/features/mec/meta_boxes/filter.php +1 -1
- app/features/mec/meta_boxes/shortcode.php +1 -1
- app/features/mec/settings.php +25 -25
- app/features/mec/single.php +18 -18
- app/libraries/kses.php +2 -0
- app/libraries/main.php +6 -2
- changelog.txt +6 -6
- languages/modern-events-calendar-lite-cs_CZ.mo +0 -0
- languages/modern-events-calendar-lite-cs_CZ.po +2 -2
- languages/modern-events-calendar-lite-de_DE.mo +0 -0
- languages/modern-events-calendar-lite-de_DE.po +2 -2
- languages/modern-events-calendar-lite-en_US.mo +0 -0
- languages/modern-events-calendar-lite-en_US.po +2 -2
- languages/modern-events-calendar-lite-es_ES.mo +0 -0
- languages/modern-events-calendar-lite-es_ES.po +2 -2
- languages/modern-events-calendar-lite-fi_FI.mo +0 -0
- languages/modern-events-calendar-lite-fi_FI.po +2 -2
- languages/modern-events-calendar-lite-fr_FR.mo +0 -0
- languages/modern-events-calendar-lite-fr_FR.po +2 -2
- languages/modern-events-calendar-lite-hu_HU.mo +0 -0
- languages/modern-events-calendar-lite-hu_HU.po +2 -2
- languages/modern-events-calendar-lite-it_IT.mo +0 -0
- languages/modern-events-calendar-lite-it_IT.po +2 -2
- languages/modern-events-calendar-lite-nb_NO.mo +0 -0
- languages/modern-events-calendar-lite-nb_NO.po +2 -2
- languages/modern-events-calendar-lite-nl_NL.mo +0 -0
- languages/modern-events-calendar-lite-nl_NL.po +2 -2
- languages/modern-events-calendar-lite-pl_PL.mo +0 -0
- languages/modern-events-calendar-lite-pl_PL.po +2 -2
- languages/modern-events-calendar-lite-pt_BR.mo +0 -0
- languages/modern-events-calendar-lite-pt_BR.po +2 -2
- languages/modern-events-calendar-lite-ru_RU.mo +0 -0
- languages/modern-events-calendar-lite-ru_RU.po +2 -2
- languages/modern-events-calendar-lite-sv_SE.mo +0 -0
- languages/modern-events-calendar-lite-sv_SE.po +2 -2
- languages/modern-events-calendar-lite-tr_TR.mo +0 -0
- languages/modern-events-calendar-lite-tr_TR.po +2 -2
- languages/modern-events-calendar-lite.pot +1 -1
- modern-events-calendar-lite.php +2 -2
- readme.txt +10 -2
app/api/Campaign_Monitor/class/services_json.php
CHANGED
@@ -153,7 +153,7 @@ if (!class_exists('Services_JSON')) {
|
|
153 |
return mb_convert_encoding($utf16, 'UTF-8', 'UTF-16');
|
154 |
}
|
155 |
|
156 |
-
$bytes = (ord($utf16
|
157 |
|
158 |
switch(true) {
|
159 |
case ((0x7F & $bytes) == $bytes):
|
@@ -206,17 +206,17 @@ if (!class_exists('Services_JSON')) {
|
|
206 |
case 2:
|
207 |
// return a UTF-16 character from a 2-byte UTF-8 char
|
208 |
// see: http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8
|
209 |
-
return chr(0x07 & (ord($utf8
|
210 |
-
. chr((0xC0 & (ord($utf8
|
211 |
-
| (0x3F & ord($utf8
|
212 |
|
213 |
case 3:
|
214 |
// return a UTF-16 character from a 3-byte UTF-8 char
|
215 |
// see: http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8
|
216 |
-
return chr((0xF0 & (ord($utf8
|
217 |
-
| (0x0F & (ord($utf8
|
218 |
-
. chr((0xC0 & (ord($utf8
|
219 |
-
| (0x7F & ord($utf8
|
220 |
}
|
221 |
|
222 |
// ignoring UTF-32 for now, sorry
|
@@ -261,7 +261,7 @@ if (!class_exists('Services_JSON')) {
|
|
261 |
*/
|
262 |
for ($c = 0; $c < $strlen_var; ++$c) {
|
263 |
|
264 |
-
$ord_var_c = ord($var
|
265 |
|
266 |
switch (true) {
|
267 |
case $ord_var_c == 0x08:
|
@@ -284,18 +284,18 @@ if (!class_exists('Services_JSON')) {
|
|
284 |
case $ord_var_c == 0x2F:
|
285 |
case $ord_var_c == 0x5C:
|
286 |
// double quote, slash, slosh
|
287 |
-
$ascii .= '\\'.$var
|
288 |
break;
|
289 |
|
290 |
case (($ord_var_c >= 0x20) && ($ord_var_c <= 0x7F)):
|
291 |
// characters U-00000000 - U-0000007F (same as ASCII)
|
292 |
-
$ascii .= $var
|
293 |
break;
|
294 |
|
295 |
case (($ord_var_c & 0xE0) == 0xC0):
|
296 |
// characters U-00000080 - U-000007FF, mask 110XXXXX
|
297 |
// see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8
|
298 |
-
$char = pack('C*', $ord_var_c, ord($var
|
299 |
$c += 1;
|
300 |
$utf16 = $this->utf82utf16($char);
|
301 |
$ascii .= sprintf('\u%04s', bin2hex($utf16));
|
@@ -305,8 +305,8 @@ if (!class_exists('Services_JSON')) {
|
|
305 |
// characters U-00000800 - U-0000FFFF, mask 1110XXXX
|
306 |
// see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8
|
307 |
$char = pack('C*', $ord_var_c,
|
308 |
-
ord($var
|
309 |
-
ord($var
|
310 |
$c += 2;
|
311 |
$utf16 = $this->utf82utf16($char);
|
312 |
$ascii .= sprintf('\u%04s', bin2hex($utf16));
|
@@ -316,9 +316,9 @@ if (!class_exists('Services_JSON')) {
|
|
316 |
// characters U-00010000 - U-001FFFFF, mask 11110XXX
|
317 |
// see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8
|
318 |
$char = pack('C*', $ord_var_c,
|
319 |
-
ord($var
|
320 |
-
ord($var
|
321 |
-
ord($var
|
322 |
$c += 3;
|
323 |
$utf16 = $this->utf82utf16($char);
|
324 |
$ascii .= sprintf('\u%04s', bin2hex($utf16));
|
@@ -328,10 +328,10 @@ if (!class_exists('Services_JSON')) {
|
|
328 |
// characters U-00200000 - U-03FFFFFF, mask 111110XX
|
329 |
// see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8
|
330 |
$char = pack('C*', $ord_var_c,
|
331 |
-
ord($var
|
332 |
-
ord($var
|
333 |
-
ord($var
|
334 |
-
ord($var
|
335 |
$c += 4;
|
336 |
$utf16 = $this->utf82utf16($char);
|
337 |
$ascii .= sprintf('\u%04s', bin2hex($utf16));
|
@@ -341,11 +341,11 @@ if (!class_exists('Services_JSON')) {
|
|
341 |
// characters U-04000000 - U-7FFFFFFF, mask 1111110X
|
342 |
// see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8
|
343 |
$char = pack('C*', $ord_var_c,
|
344 |
-
ord($var
|
345 |
-
ord($var
|
346 |
-
ord($var
|
347 |
-
ord($var
|
348 |
-
ord($var
|
349 |
$c += 5;
|
350 |
$utf16 = $this->utf82utf16($char);
|
351 |
$ascii .= sprintf('\u%04s', bin2hex($utf16));
|
@@ -520,7 +520,7 @@ if (!class_exists('Services_JSON')) {
|
|
520 |
for ($c = 0; $c < $strlen_chrs; ++$c) {
|
521 |
|
522 |
$substr_chrs_c_2 = substr($chrs, $c, 2);
|
523 |
-
$ord_chrs_c = ord($chrs
|
524 |
|
525 |
switch (true) {
|
526 |
case $substr_chrs_c_2 == '\b':
|
@@ -550,7 +550,7 @@ if (!class_exists('Services_JSON')) {
|
|
550 |
case $substr_chrs_c_2 == '\\/':
|
551 |
if (($delim == '"' && $substr_chrs_c_2 != '\\\'') ||
|
552 |
($delim == "'" && $substr_chrs_c_2 != '\\"')) {
|
553 |
-
$utf8 .= $chrs
|
554 |
}
|
555 |
break;
|
556 |
|
@@ -563,7 +563,7 @@ if (!class_exists('Services_JSON')) {
|
|
563 |
break;
|
564 |
|
565 |
case ($ord_chrs_c >= 0x20) && ($ord_chrs_c <= 0x7F):
|
566 |
-
$utf8 .= $chrs
|
567 |
break;
|
568 |
|
569 |
case ($ord_chrs_c & 0xE0) == 0xC0:
|
@@ -610,7 +610,7 @@ if (!class_exists('Services_JSON')) {
|
|
610 |
} elseif (preg_match('/^\[.*\]$/s', $str) || preg_match('/^\{.*\}$/s', $str)) {
|
611 |
// array, or object notation
|
612 |
|
613 |
-
if ($str
|
614 |
$stk = array(SERVICES_JSON_IN_ARR);
|
615 |
$arr = array();
|
616 |
} else {
|
@@ -640,8 +640,6 @@ if (!class_exists('Services_JSON')) {
|
|
640 |
}
|
641 |
}
|
642 |
|
643 |
-
//print("\nparsing {$chrs}\n");
|
644 |
-
|
645 |
$strlen_chrs = strlen($chrs);
|
646 |
|
647 |
for ($c = 0; $c <= $strlen_chrs; ++$c) {
|
@@ -649,12 +647,11 @@ if (!class_exists('Services_JSON')) {
|
|
649 |
$top = end($stk);
|
650 |
$substr_chrs_c_2 = substr($chrs, $c, 2);
|
651 |
|
652 |
-
if (($c == $strlen_chrs) || (($chrs
|
653 |
// found a comma that is not inside a string, array, etc.,
|
654 |
// OR we've reached the end of the character list
|
655 |
$slice = substr($chrs, $top['where'], ($c - $top['where']));
|
656 |
array_push($stk, array('what' => SERVICES_JSON_SLICE, 'where' => ($c + 1), 'delim' => false));
|
657 |
-
//print("Found split at {$c}: ".substr($chrs, $top['where'], (1 + $c - $top['where']))."\n");
|
658 |
|
659 |
if (reset($stk) == SERVICES_JSON_IN_ARR) {
|
660 |
// we are in an array, so just push an element onto the stack
|
@@ -691,48 +688,41 @@ if (!class_exists('Services_JSON')) {
|
|
691 |
|
692 |
}
|
693 |
|
694 |
-
} elseif ((($chrs
|
695 |
// found a quote, and we are not inside a string
|
696 |
-
array_push($stk, array('what' => SERVICES_JSON_IN_STR, 'where' => $c, 'delim' => $chrs
|
697 |
-
//print("Found start of string at {$c}\n");
|
698 |
|
699 |
-
} elseif (($chrs
|
700 |
($top['what'] == SERVICES_JSON_IN_STR) &&
|
701 |
((strlen(substr($chrs, 0, $c)) - strlen(rtrim(substr($chrs, 0, $c), '\\'))) % 2 != 1)) {
|
702 |
// found a quote, we're in a string, and it's not escaped
|
703 |
// we know that it's not escaped becase there is _not_ an
|
704 |
// odd number of backslashes at the end of the string so far
|
705 |
array_pop($stk);
|
706 |
-
//print("Found end of string at {$c}: ".substr($chrs, $top['where'], (1 + 1 + $c - $top['where']))."\n");
|
707 |
|
708 |
-
} elseif (($chrs
|
709 |
in_array($top['what'], array(SERVICES_JSON_SLICE, SERVICES_JSON_IN_ARR, SERVICES_JSON_IN_OBJ))) {
|
710 |
// found a left-bracket, and we are in an array, object, or slice
|
711 |
array_push($stk, array('what' => SERVICES_JSON_IN_ARR, 'where' => $c, 'delim' => false));
|
712 |
-
//print("Found start of array at {$c}\n");
|
713 |
|
714 |
-
} elseif (($chrs
|
715 |
// found a right-bracket, and we're in an array
|
716 |
array_pop($stk);
|
717 |
-
//print("Found end of array at {$c}: ".substr($chrs, $top['where'], (1 + $c - $top['where']))."\n");
|
718 |
|
719 |
-
} elseif (($chrs
|
720 |
in_array($top['what'], array(SERVICES_JSON_SLICE, SERVICES_JSON_IN_ARR, SERVICES_JSON_IN_OBJ))) {
|
721 |
// found a left-brace, and we are in an array, object, or slice
|
722 |
array_push($stk, array('what' => SERVICES_JSON_IN_OBJ, 'where' => $c, 'delim' => false));
|
723 |
-
//print("Found start of object at {$c}\n");
|
724 |
|
725 |
-
} elseif (($chrs
|
726 |
// found a right-brace, and we're in an object
|
727 |
array_pop($stk);
|
728 |
-
//print("Found end of object at {$c}: ".substr($chrs, $top['where'], (1 + $c - $top['where']))."\n");
|
729 |
|
730 |
} elseif (($substr_chrs_c_2 == '/*') &&
|
731 |
in_array($top['what'], array(SERVICES_JSON_SLICE, SERVICES_JSON_IN_ARR, SERVICES_JSON_IN_OBJ))) {
|
732 |
// found a comment start, and we are in an array, object, or slice
|
733 |
array_push($stk, array('what' => SERVICES_JSON_IN_CMT, 'where' => $c, 'delim' => false));
|
734 |
$c++;
|
735 |
-
//print("Found start of comment at {$c}\n");
|
736 |
|
737 |
} elseif (($substr_chrs_c_2 == '*/') && ($top['what'] == SERVICES_JSON_IN_CMT)) {
|
738 |
// found a comment end, and we're in one now
|
@@ -742,8 +732,6 @@ if (!class_exists('Services_JSON')) {
|
|
742 |
for ($i = $top['where']; $i <= $c; ++$i)
|
743 |
$chrs = substr_replace($chrs, ' ', $i, 1);
|
744 |
|
745 |
-
//print("Found end of comment at {$c}: ".substr($chrs, $top['where'], (1 + $c - $top['where']))."\n");
|
746 |
-
|
747 |
}
|
748 |
|
749 |
}
|
153 |
return mb_convert_encoding($utf16, 'UTF-8', 'UTF-16');
|
154 |
}
|
155 |
|
156 |
+
$bytes = (ord($utf16[0]) << 8) | ord($utf16[1]);
|
157 |
|
158 |
switch(true) {
|
159 |
case ((0x7F & $bytes) == $bytes):
|
206 |
case 2:
|
207 |
// return a UTF-16 character from a 2-byte UTF-8 char
|
208 |
// see: http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8
|
209 |
+
return chr(0x07 & (ord($utf8[0]) >> 2))
|
210 |
+
. chr((0xC0 & (ord($utf8[0]) << 6))
|
211 |
+
| (0x3F & ord($utf8[1])));
|
212 |
|
213 |
case 3:
|
214 |
// return a UTF-16 character from a 3-byte UTF-8 char
|
215 |
// see: http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8
|
216 |
+
return chr((0xF0 & (ord($utf8[0]) << 4))
|
217 |
+
| (0x0F & (ord($utf8[1]) >> 2)))
|
218 |
+
. chr((0xC0 & (ord($utf8[1]) << 6))
|
219 |
+
| (0x7F & ord($utf8[2])));
|
220 |
}
|
221 |
|
222 |
// ignoring UTF-32 for now, sorry
|
261 |
*/
|
262 |
for ($c = 0; $c < $strlen_var; ++$c) {
|
263 |
|
264 |
+
$ord_var_c = ord($var[$c]);
|
265 |
|
266 |
switch (true) {
|
267 |
case $ord_var_c == 0x08:
|
284 |
case $ord_var_c == 0x2F:
|
285 |
case $ord_var_c == 0x5C:
|
286 |
// double quote, slash, slosh
|
287 |
+
$ascii .= '\\'.$var[$c];
|
288 |
break;
|
289 |
|
290 |
case (($ord_var_c >= 0x20) && ($ord_var_c <= 0x7F)):
|
291 |
// characters U-00000000 - U-0000007F (same as ASCII)
|
292 |
+
$ascii .= $var[$c];
|
293 |
break;
|
294 |
|
295 |
case (($ord_var_c & 0xE0) == 0xC0):
|
296 |
// characters U-00000080 - U-000007FF, mask 110XXXXX
|
297 |
// see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8
|
298 |
+
$char = pack('C*', $ord_var_c, ord($var[$c + 1]));
|
299 |
$c += 1;
|
300 |
$utf16 = $this->utf82utf16($char);
|
301 |
$ascii .= sprintf('\u%04s', bin2hex($utf16));
|
305 |
// characters U-00000800 - U-0000FFFF, mask 1110XXXX
|
306 |
// see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8
|
307 |
$char = pack('C*', $ord_var_c,
|
308 |
+
ord($var[$c + 1]),
|
309 |
+
ord($var[$c + 2]));
|
310 |
$c += 2;
|
311 |
$utf16 = $this->utf82utf16($char);
|
312 |
$ascii .= sprintf('\u%04s', bin2hex($utf16));
|
316 |
// characters U-00010000 - U-001FFFFF, mask 11110XXX
|
317 |
// see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8
|
318 |
$char = pack('C*', $ord_var_c,
|
319 |
+
ord($var[$c + 1]),
|
320 |
+
ord($var[$c + 2]),
|
321 |
+
ord($var[$c + 3]));
|
322 |
$c += 3;
|
323 |
$utf16 = $this->utf82utf16($char);
|
324 |
$ascii .= sprintf('\u%04s', bin2hex($utf16));
|
328 |
// characters U-00200000 - U-03FFFFFF, mask 111110XX
|
329 |
// see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8
|
330 |
$char = pack('C*', $ord_var_c,
|
331 |
+
ord($var[$c + 1]),
|
332 |
+
ord($var[$c + 2]),
|
333 |
+
ord($var[$c + 3]),
|
334 |
+
ord($var[$c + 4]));
|
335 |
$c += 4;
|
336 |
$utf16 = $this->utf82utf16($char);
|
337 |
$ascii .= sprintf('\u%04s', bin2hex($utf16));
|
341 |
// characters U-04000000 - U-7FFFFFFF, mask 1111110X
|
342 |
// see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8
|
343 |
$char = pack('C*', $ord_var_c,
|
344 |
+
ord($var[$c + 1]),
|
345 |
+
ord($var[$c + 2]),
|
346 |
+
ord($var[$c + 3]),
|
347 |
+
ord($var[$c + 4]),
|
348 |
+
ord($var[$c + 5]));
|
349 |
$c += 5;
|
350 |
$utf16 = $this->utf82utf16($char);
|
351 |
$ascii .= sprintf('\u%04s', bin2hex($utf16));
|
520 |
for ($c = 0; $c < $strlen_chrs; ++$c) {
|
521 |
|
522 |
$substr_chrs_c_2 = substr($chrs, $c, 2);
|
523 |
+
$ord_chrs_c = ord($chrs[$c]);
|
524 |
|
525 |
switch (true) {
|
526 |
case $substr_chrs_c_2 == '\b':
|
550 |
case $substr_chrs_c_2 == '\\/':
|
551 |
if (($delim == '"' && $substr_chrs_c_2 != '\\\'') ||
|
552 |
($delim == "'" && $substr_chrs_c_2 != '\\"')) {
|
553 |
+
$utf8 .= $chrs[++$c];
|
554 |
}
|
555 |
break;
|
556 |
|
563 |
break;
|
564 |
|
565 |
case ($ord_chrs_c >= 0x20) && ($ord_chrs_c <= 0x7F):
|
566 |
+
$utf8 .= $chrs[$c];
|
567 |
break;
|
568 |
|
569 |
case ($ord_chrs_c & 0xE0) == 0xC0:
|
610 |
} elseif (preg_match('/^\[.*\]$/s', $str) || preg_match('/^\{.*\}$/s', $str)) {
|
611 |
// array, or object notation
|
612 |
|
613 |
+
if ($str[0] == '[') {
|
614 |
$stk = array(SERVICES_JSON_IN_ARR);
|
615 |
$arr = array();
|
616 |
} else {
|
640 |
}
|
641 |
}
|
642 |
|
|
|
|
|
643 |
$strlen_chrs = strlen($chrs);
|
644 |
|
645 |
for ($c = 0; $c <= $strlen_chrs; ++$c) {
|
647 |
$top = end($stk);
|
648 |
$substr_chrs_c_2 = substr($chrs, $c, 2);
|
649 |
|
650 |
+
if (($c == $strlen_chrs) || (($chrs[$c] == ',') && ($top['what'] == SERVICES_JSON_SLICE))) {
|
651 |
// found a comma that is not inside a string, array, etc.,
|
652 |
// OR we've reached the end of the character list
|
653 |
$slice = substr($chrs, $top['where'], ($c - $top['where']));
|
654 |
array_push($stk, array('what' => SERVICES_JSON_SLICE, 'where' => ($c + 1), 'delim' => false));
|
|
|
655 |
|
656 |
if (reset($stk) == SERVICES_JSON_IN_ARR) {
|
657 |
// we are in an array, so just push an element onto the stack
|
688 |
|
689 |
}
|
690 |
|
691 |
+
} elseif ((($chrs[$c] == '"') || ($chrs[$c] == "'")) && ($top['what'] != SERVICES_JSON_IN_STR)) {
|
692 |
// found a quote, and we are not inside a string
|
693 |
+
array_push($stk, array('what' => SERVICES_JSON_IN_STR, 'where' => $c, 'delim' => $chrs[$c]));
|
|
|
694 |
|
695 |
+
} elseif (($chrs[$c] == $top['delim']) &&
|
696 |
($top['what'] == SERVICES_JSON_IN_STR) &&
|
697 |
((strlen(substr($chrs, 0, $c)) - strlen(rtrim(substr($chrs, 0, $c), '\\'))) % 2 != 1)) {
|
698 |
// found a quote, we're in a string, and it's not escaped
|
699 |
// we know that it's not escaped becase there is _not_ an
|
700 |
// odd number of backslashes at the end of the string so far
|
701 |
array_pop($stk);
|
|
|
702 |
|
703 |
+
} elseif (($chrs[$c] == '[') &&
|
704 |
in_array($top['what'], array(SERVICES_JSON_SLICE, SERVICES_JSON_IN_ARR, SERVICES_JSON_IN_OBJ))) {
|
705 |
// found a left-bracket, and we are in an array, object, or slice
|
706 |
array_push($stk, array('what' => SERVICES_JSON_IN_ARR, 'where' => $c, 'delim' => false));
|
|
|
707 |
|
708 |
+
} elseif (($chrs[$c] == ']') && ($top['what'] == SERVICES_JSON_IN_ARR)) {
|
709 |
// found a right-bracket, and we're in an array
|
710 |
array_pop($stk);
|
|
|
711 |
|
712 |
+
} elseif (($chrs[$c] == '{') &&
|
713 |
in_array($top['what'], array(SERVICES_JSON_SLICE, SERVICES_JSON_IN_ARR, SERVICES_JSON_IN_OBJ))) {
|
714 |
// found a left-brace, and we are in an array, object, or slice
|
715 |
array_push($stk, array('what' => SERVICES_JSON_IN_OBJ, 'where' => $c, 'delim' => false));
|
|
|
716 |
|
717 |
+
} elseif (($chrs[$c] == '}') && ($top['what'] == SERVICES_JSON_IN_OBJ)) {
|
718 |
// found a right-brace, and we're in an object
|
719 |
array_pop($stk);
|
|
|
720 |
|
721 |
} elseif (($substr_chrs_c_2 == '/*') &&
|
722 |
in_array($top['what'], array(SERVICES_JSON_SLICE, SERVICES_JSON_IN_ARR, SERVICES_JSON_IN_OBJ))) {
|
723 |
// found a comment start, and we are in an array, object, or slice
|
724 |
array_push($stk, array('what' => SERVICES_JSON_IN_CMT, 'where' => $c, 'delim' => false));
|
725 |
$c++;
|
|
|
726 |
|
727 |
} elseif (($substr_chrs_c_2 == '*/') && ($top['what'] == SERVICES_JSON_IN_CMT)) {
|
728 |
// found a comment end, and we're in one now
|
732 |
for ($i = $top['where']; $i <= $c; ++$i)
|
733 |
$chrs = substr_replace($chrs, ' ', $i, 1);
|
734 |
|
|
|
|
|
735 |
}
|
736 |
|
737 |
}
|
app/features/events.php
CHANGED
@@ -947,7 +947,7 @@ class MEC_feature_events extends MEC_base
|
|
947 |
?>
|
948 |
<div class="mec-form-row" id="mec_in_days_row<?php echo esc_attr($i); ?>">
|
949 |
<input type="hidden" name="mec[in_days][<?php echo esc_attr($i); ?>]" value="<?php echo esc_attr($in_day); ?>"/>
|
950 |
-
<span class="mec-in-days-day"><?php echo
|
951 |
<span class="mec-not-in-days-remove" onclick="mec_in_days_remove(<?php echo esc_attr($i); ?>);">x</span>
|
952 |
</div>
|
953 |
<?php $i++; endforeach; ?>
|
947 |
?>
|
948 |
<div class="mec-form-row" id="mec_in_days_row<?php echo esc_attr($i); ?>">
|
949 |
<input type="hidden" name="mec[in_days][<?php echo esc_attr($i); ?>]" value="<?php echo esc_attr($in_day); ?>"/>
|
950 |
+
<span class="mec-in-days-day"><?php echo MEC_kses::element($in_day_label); ?></span>
|
951 |
<span class="mec-not-in-days-remove" onclick="mec_in_days_remove(<?php echo esc_attr($i); ?>);">x</span>
|
952 |
</div>
|
953 |
<?php $i++; endforeach; ?>
|
app/features/mec.php
CHANGED
@@ -684,12 +684,12 @@ class MEC_feature_mec extends MEC_base
|
|
684 |
|
685 |
$terms = isset($_POST['mec_tax_input']) ? $_POST['mec_tax_input'] : array();
|
686 |
|
687 |
-
$categories = (isset($terms['mec_category']) and is_array($terms['mec_category'])) ? implode(',', $terms['mec_category']) : '';
|
688 |
-
$locations = (isset($terms['mec_location']) and is_array($terms['mec_location'])) ? implode(',', $terms['mec_location']) : '';
|
689 |
-
$organizers = (isset($terms['mec_organizer']) and is_array($terms['mec_organizer'])) ? implode(',', $terms['mec_organizer']) : '';
|
690 |
-
$labels = (isset($terms['mec_label']) and is_array($terms['mec_label'])) ? implode(',', $terms['mec_label']) : '';
|
691 |
$tags = (isset($terms['mec_tag'])) ? explode(',', sanitize_text_field(trim($terms['mec_tag']))) : '';
|
692 |
-
$authors = (isset($terms['mec_author']) and is_array($terms['mec_author'])) ? implode(',', $terms['mec_author']) : '';
|
693 |
|
694 |
// Fix tags
|
695 |
if(is_array($tags) and count($tags) == 1 and trim($tags[0]) == '') $tags = array();
|
684 |
|
685 |
$terms = isset($_POST['mec_tax_input']) ? $_POST['mec_tax_input'] : array();
|
686 |
|
687 |
+
$categories = (isset($terms['mec_category']) and is_array($terms['mec_category'])) ? sanitize_text_field(implode(',', $terms['mec_category'])) : '';
|
688 |
+
$locations = (isset($terms['mec_location']) and is_array($terms['mec_location'])) ? sanitize_text_field(implode(',', $terms['mec_location'])) : '';
|
689 |
+
$organizers = (isset($terms['mec_organizer']) and is_array($terms['mec_organizer'])) ? sanitize_text_field(implode(',', $terms['mec_organizer'])) : '';
|
690 |
+
$labels = (isset($terms['mec_label']) and is_array($terms['mec_label'])) ? sanitize_text_field(implode(',', $terms['mec_label'])) : '';
|
691 |
$tags = (isset($terms['mec_tag'])) ? explode(',', sanitize_text_field(trim($terms['mec_tag']))) : '';
|
692 |
+
$authors = (isset($terms['mec_author']) and is_array($terms['mec_author'])) ? sanitize_text_field(implode(',', $terms['mec_author'])) : '';
|
693 |
|
694 |
// Fix tags
|
695 |
if(is_array($tags) and count($tags) == 1 and trim($tags[0]) == '') $tags = array();
|
app/features/mec/meta_boxes/filter.php
CHANGED
@@ -46,7 +46,7 @@ class MEC_tax_walker extends Walker_Category_Checklist
|
|
46 |
if($category->count)
|
47 |
{
|
48 |
$output .= "\n<option value='{$category->term_id}'";
|
49 |
-
if(in_array($category->term_id, $args['selected_cats'])) $output .= "selected='selected'";
|
50 |
$output .= ">".esc_html(apply_filters('the_category', $category->name)).'';
|
51 |
}
|
52 |
}
|
46 |
if($category->count)
|
47 |
{
|
48 |
$output .= "\n<option value='{$category->term_id}'";
|
49 |
+
if(in_array($category->term_id, $args['selected_cats'])) $output .= " selected='selected'";
|
50 |
$output .= ">".esc_html(apply_filters('the_category', $category->name)).'';
|
51 |
}
|
52 |
}
|
app/features/mec/meta_boxes/shortcode.php
CHANGED
@@ -2,5 +2,5 @@
|
|
2 |
/** no direct access **/
|
3 |
defined('MECEXEC') or die();
|
4 |
?>
|
5 |
-
<div class="mec-calendar-metabox mec-shortcode" id="MECCopyCode" onclick="mec_copy_code()" title="<?php esc_html__('Click to copy shortcode', 'modern-events-calendar-lite'); ?>">[MEC id="<?php echo esc_html($post->ID); ?>"]</div>
|
6 |
<span class="mec-copied">Copied!</span>
|
2 |
/** no direct access **/
|
3 |
defined('MECEXEC') or die();
|
4 |
?>
|
5 |
+
<div class="mec-calendar-metabox mec-shortcode" id="MECCopyCode" onclick="mec_copy_code();" title="<?php echo esc_html__('Click to copy shortcode', 'modern-events-calendar-lite'); ?>">[MEC id="<?php echo esc_html($post->ID); ?>"]</div>
|
6 |
<span class="mec-copied">Copied!</span>
|
app/features/mec/settings.php
CHANGED
@@ -1587,43 +1587,43 @@ $shortcodes = get_posts(array(
|
|
1587 |
|
1588 |
</div>
|
1589 |
|
1590 |
-
<script type="text/javascript">
|
1591 |
jQuery(document).ready(function()
|
1592 |
-
{
|
1593 |
-
jQuery(".dpr-save-btn").on(
|
1594 |
{
|
1595 |
event.preventDefault();
|
1596 |
-
jQuery("#mec_settings_form_button").trigger(
|
1597 |
});
|
1598 |
});
|
1599 |
|
1600 |
-
var archive_value = jQuery(
|
1601 |
function mec_archive_skin_style_changed(archive_value)
|
1602 |
{
|
1603 |
-
jQuery(
|
1604 |
-
jQuery(
|
1605 |
}
|
1606 |
mec_archive_skin_style_changed(archive_value);
|
1607 |
|
1608 |
-
var category_value = jQuery(
|
1609 |
function mec_category_skin_style_changed(category_value)
|
1610 |
{
|
1611 |
-
jQuery(
|
1612 |
-
jQuery(
|
1613 |
}
|
1614 |
mec_category_skin_style_changed(category_value);
|
1615 |
|
1616 |
-
jQuery("#mec_settings_form").on(
|
1617 |
{
|
1618 |
event.preventDefault();
|
1619 |
|
1620 |
// Add loading Class to the button
|
1621 |
-
jQuery(".dpr-save-btn").addClass(
|
1622 |
-
jQuery(
|
1623 |
|
1624 |
-
if(jQuery(".mec-purchase-verify").text() != '
|
1625 |
{
|
1626 |
-
jQuery(".mec-purchase-verify").text("
|
1627 |
}
|
1628 |
|
1629 |
var settings = jQuery("#mec_settings_form").serialize();
|
@@ -1633,19 +1633,19 @@ jQuery("#mec_settings_form").on('submit', function(event)
|
|
1633 |
url: ajaxurl,
|
1634 |
data: "action=mec_save_settings&"+settings,
|
1635 |
beforeSend: function () {
|
1636 |
-
jQuery(
|
1637 |
},
|
1638 |
success: function(data)
|
1639 |
{
|
1640 |
// Remove the loading Class to the button
|
1641 |
setTimeout(function()
|
1642 |
{
|
1643 |
-
jQuery(".dpr-save-btn").removeClass(
|
1644 |
-
jQuery(
|
1645 |
-
jQuery(
|
1646 |
-
if(jQuery(".mec-purchase-verify").text() != '
|
1647 |
{
|
1648 |
-
jQuery(".mec-purchase-verify").text("
|
1649 |
}
|
1650 |
}, 1000);
|
1651 |
},
|
@@ -1654,11 +1654,11 @@ jQuery("#mec_settings_form").on('submit', function(event)
|
|
1654 |
// Remove the loading Class to the button
|
1655 |
setTimeout(function()
|
1656 |
{
|
1657 |
-
jQuery(".dpr-save-btn").removeClass(
|
1658 |
-
jQuery(
|
1659 |
-
jQuery(
|
1660 |
}, 1000);
|
1661 |
}
|
1662 |
});
|
1663 |
});
|
1664 |
-
</script>
|
1587 |
|
1588 |
</div>
|
1589 |
|
1590 |
+
<?php $this->factory->params('footer', '<script type="text/javascript">
|
1591 |
jQuery(document).ready(function()
|
1592 |
+
{
|
1593 |
+
jQuery(".dpr-save-btn").on("click", function(event)
|
1594 |
{
|
1595 |
event.preventDefault();
|
1596 |
+
jQuery("#mec_settings_form_button").trigger("click");
|
1597 |
});
|
1598 |
});
|
1599 |
|
1600 |
+
var archive_value = jQuery("#mec_settings_default_skin_archive").val();
|
1601 |
function mec_archive_skin_style_changed(archive_value)
|
1602 |
{
|
1603 |
+
jQuery(".mec-archive-skins").hide();
|
1604 |
+
jQuery(".mec-archive-skins.mec-archive-"+archive_value+"-skins").show();
|
1605 |
}
|
1606 |
mec_archive_skin_style_changed(archive_value);
|
1607 |
|
1608 |
+
var category_value = jQuery("#mec_settings_default_skin_category").val();
|
1609 |
function mec_category_skin_style_changed(category_value)
|
1610 |
{
|
1611 |
+
jQuery(".mec-category-skins").hide();
|
1612 |
+
jQuery(".mec-category-skins.mec-category-"+category_value+"-skins").show();
|
1613 |
}
|
1614 |
mec_category_skin_style_changed(category_value);
|
1615 |
|
1616 |
+
jQuery("#mec_settings_form").on("submit", function(event)
|
1617 |
{
|
1618 |
event.preventDefault();
|
1619 |
|
1620 |
// Add loading Class to the button
|
1621 |
+
jQuery(".dpr-save-btn").addClass("loading").text("'.esc_js(esc_attr__('Saved', 'modern-events-calendar-lite')).'");
|
1622 |
+
jQuery("<div class=\"wns-saved-settings\">'.esc_js(esc_attr__('Settings Saved!', 'modern-events-calendar-lite')).'</div>").insertBefore("#wns-be-content");
|
1623 |
|
1624 |
+
if(jQuery(".mec-purchase-verify").text() != "'.esc_js(esc_attr__('Verified', 'modern-events-calendar-lite')).'")
|
1625 |
{
|
1626 |
+
jQuery(".mec-purchase-verify").text("'.esc_js(esc_attr__('Checking ...', 'modern-events-calendar-lite')).'");
|
1627 |
}
|
1628 |
|
1629 |
var settings = jQuery("#mec_settings_form").serialize();
|
1633 |
url: ajaxurl,
|
1634 |
data: "action=mec_save_settings&"+settings,
|
1635 |
beforeSend: function () {
|
1636 |
+
jQuery(".wns-be-main").append("<div class=\"mec-loarder-wrap mec-settings-loader\"><div class=\"mec-loarder\"><div></div><div></div><div></div></div></div>");
|
1637 |
},
|
1638 |
success: function(data)
|
1639 |
{
|
1640 |
// Remove the loading Class to the button
|
1641 |
setTimeout(function()
|
1642 |
{
|
1643 |
+
jQuery(".dpr-save-btn").removeClass("loading").text("'.esc_js(esc_attr__('Save Changes', 'modern-events-calendar-lite')).'");
|
1644 |
+
jQuery(".wns-saved-settings").remove();
|
1645 |
+
jQuery(".mec-loarder-wrap").remove();
|
1646 |
+
if(jQuery(".mec-purchase-verify").text() != "'.esc_js(esc_attr__('Verified', 'modern-events-calendar-lite')).'")
|
1647 |
{
|
1648 |
+
jQuery(".mec-purchase-verify").text("'.esc_js(esc_attr__('Please Refresh Page', 'modern-events-calendar-lite')).'");
|
1649 |
}
|
1650 |
}, 1000);
|
1651 |
},
|
1654 |
// Remove the loading Class to the button
|
1655 |
setTimeout(function()
|
1656 |
{
|
1657 |
+
jQuery(".dpr-save-btn").removeClass("loading").text("'.esc_js(esc_attr__('Save Changes', 'modern-events-calendar-lite')).'");
|
1658 |
+
jQuery(".wns-saved-settings").remove();
|
1659 |
+
jQuery(".mec-loarder-wrap").remove();
|
1660 |
}, 1000);
|
1661 |
}
|
1662 |
});
|
1663 |
});
|
1664 |
+
</script>');
|
app/features/mec/single.php
CHANGED
@@ -581,27 +581,27 @@ $event_fields = $this->main->get_event_fields();
|
|
581 |
|
582 |
</div>
|
583 |
|
584 |
-
<script type="text/javascript">
|
585 |
jQuery(document).ready(function()
|
586 |
{
|
587 |
-
jQuery(".dpr-save-btn").on(
|
588 |
{
|
589 |
event.preventDefault();
|
590 |
-
jQuery("#mec_single_form_button").trigger(
|
591 |
});
|
592 |
});
|
593 |
|
594 |
-
jQuery("#mec_single_form").on(
|
595 |
{
|
596 |
event.preventDefault();
|
597 |
|
598 |
// Add loading Class to the button
|
599 |
-
jQuery(".dpr-save-btn").addClass(
|
600 |
-
jQuery(
|
601 |
|
602 |
-
if(jQuery(".mec-purchase-verify").text() != '
|
603 |
{
|
604 |
-
jQuery(".mec-purchase-verify").text("
|
605 |
}
|
606 |
|
607 |
var settings = jQuery("#mec_single_form").serialize();
|
@@ -611,19 +611,19 @@ jQuery("#mec_single_form").on('submit', function(event)
|
|
611 |
url: ajaxurl,
|
612 |
data: "action=mec_save_settings&"+settings,
|
613 |
beforeSend: function () {
|
614 |
-
jQuery(
|
615 |
},
|
616 |
success: function(data)
|
617 |
{
|
618 |
// Remove the loading Class to the button
|
619 |
setTimeout(function()
|
620 |
{
|
621 |
-
jQuery(".dpr-save-btn").removeClass(
|
622 |
-
jQuery(
|
623 |
-
jQuery(
|
624 |
-
if(jQuery(".mec-purchase-verify").text() != '
|
625 |
{
|
626 |
-
jQuery(".mec-purchase-verify").text("
|
627 |
}
|
628 |
}, 1000);
|
629 |
},
|
@@ -632,11 +632,11 @@ jQuery("#mec_single_form").on('submit', function(event)
|
|
632 |
// Remove the loading Class to the button
|
633 |
setTimeout(function()
|
634 |
{
|
635 |
-
jQuery(".dpr-save-btn").removeClass(
|
636 |
-
jQuery(
|
637 |
-
jQuery(
|
638 |
}, 1000);
|
639 |
}
|
640 |
});
|
641 |
});
|
642 |
-
</script>
|
581 |
|
582 |
</div>
|
583 |
|
584 |
+
<?php $this->factory->params('footer', '<script type="text/javascript">
|
585 |
jQuery(document).ready(function()
|
586 |
{
|
587 |
+
jQuery(".dpr-save-btn").on("click", function(event)
|
588 |
{
|
589 |
event.preventDefault();
|
590 |
+
jQuery("#mec_single_form_button").trigger("click");
|
591 |
});
|
592 |
});
|
593 |
|
594 |
+
jQuery("#mec_single_form").on("submit", function(event)
|
595 |
{
|
596 |
event.preventDefault();
|
597 |
|
598 |
// Add loading Class to the button
|
599 |
+
jQuery(".dpr-save-btn").addClass("loading").text("'.esc_js(esc_attr__('Saved', 'modern-events-calendar-lite')).'");
|
600 |
+
jQuery("<div class=\"wns-saved-settings\">'.esc_js(esc_attr__('Settings Saved!', 'modern-events-calendar-lite')).'</div>").insertBefore("#wns-be-content");
|
601 |
|
602 |
+
if(jQuery(".mec-purchase-verify").text() != "'.esc_js(esc_attr__('Verified', 'modern-events-calendar-lite')).'")
|
603 |
{
|
604 |
+
jQuery(".mec-purchase-verify").text("'.esc_js(esc_attr__('Checking ...', 'modern-events-calendar-lite')).'");
|
605 |
}
|
606 |
|
607 |
var settings = jQuery("#mec_single_form").serialize();
|
611 |
url: ajaxurl,
|
612 |
data: "action=mec_save_settings&"+settings,
|
613 |
beforeSend: function () {
|
614 |
+
jQuery(".wns-be-main").append("<div class=\"mec-loarder-wrap mec-settings-loader\"><div class=\"mec-loarder\"><div></div><div></div><div></div></div></div>");
|
615 |
},
|
616 |
success: function(data)
|
617 |
{
|
618 |
// Remove the loading Class to the button
|
619 |
setTimeout(function()
|
620 |
{
|
621 |
+
jQuery(".dpr-save-btn").removeClass("loading").text("'.esc_js(esc_attr__('Save Changes', 'modern-events-calendar-lite')).'");
|
622 |
+
jQuery(".wns-saved-settings").remove();
|
623 |
+
jQuery(".mec-loarder-wrap").remove();
|
624 |
+
if(jQuery(".mec-purchase-verify").text() != "'.esc_js(esc_attr__('Verified', 'modern-events-calendar-lite')).'")
|
625 |
{
|
626 |
+
jQuery(".mec-purchase-verify").text("'.esc_js(esc_attr__('Please Refresh Page', 'modern-events-calendar-lite')).'");
|
627 |
}
|
628 |
}, 1000);
|
629 |
},
|
632 |
// Remove the loading Class to the button
|
633 |
setTimeout(function()
|
634 |
{
|
635 |
+
jQuery(".dpr-save-btn").removeClass("loading").text("'.esc_js(esc_attr__('Save Changes', 'modern-events-calendar-lite')).'");
|
636 |
+
jQuery(".wns-saved-settings").remove();
|
637 |
+
jQuery(".mec-loarder-wrap").remove();
|
638 |
}, 1000);
|
639 |
}
|
640 |
});
|
641 |
});
|
642 |
+
</script>');
|
app/libraries/kses.php
CHANGED
@@ -160,6 +160,8 @@ class MEC_kses extends MEC_base
|
|
160 |
{
|
161 |
$tags['svg'] = self::$allowed_attrs;
|
162 |
$tags['path'] = self::$allowed_attrs;
|
|
|
|
|
163 |
|
164 |
if(in_array($context, array('form', 'page', 'full')))
|
165 |
{
|
160 |
{
|
161 |
$tags['svg'] = self::$allowed_attrs;
|
162 |
$tags['path'] = self::$allowed_attrs;
|
163 |
+
$tags['div'] = self::$allowed_attrs;
|
164 |
+
$tags['span'] = self::$allowed_attrs;
|
165 |
|
166 |
if(in_array($context, array('form', 'page', 'full')))
|
167 |
{
|
app/libraries/main.php
CHANGED
@@ -619,7 +619,7 @@ class MEC_main extends MEC_base
|
|
619 |
if(!$locale) $locale = $this->get_current_locale();
|
620 |
|
621 |
$options = get_option('mec_options_ml_'.strtolower($locale), array());
|
622 |
-
if(!is_array($options) or (is_array($options) and !count($options)))
|
623 |
{
|
624 |
$all = get_option('mec_options', array());
|
625 |
if(!is_array($all)) $all = array();
|
@@ -6652,7 +6652,11 @@ class MEC_main extends MEC_base
|
|
6652 |
*/
|
6653 |
public function campaign_monitor_add_subscriber($book_id)
|
6654 |
{
|
|
|
|
|
|
|
6655 |
require_once MEC_ABSPATH.'/app/api/Campaign_Monitor/csrest_subscribers.php';
|
|
|
6656 |
// Get MEC Options
|
6657 |
$settings = $this->get_settings();
|
6658 |
|
@@ -6670,7 +6674,7 @@ class MEC_main extends MEC_base
|
|
6670 |
$booker = $u->booking($book_id);
|
6671 |
|
6672 |
$wrap = new CS_REST_Subscribers($list_id, $api_key);
|
6673 |
-
$
|
6674 |
'EmailAddress' => $booker->user_email,
|
6675 |
'Name' => $booker->first_name . ' ' .$booker->last_name,
|
6676 |
'ConsentToTrack' => 'yes',
|
619 |
if(!$locale) $locale = $this->get_current_locale();
|
620 |
|
621 |
$options = get_option('mec_options_ml_'.strtolower($locale), array());
|
622 |
+
if(!$this->is_multilingual() or !is_array($options) or (is_array($options) and !count($options)))
|
623 |
{
|
624 |
$all = get_option('mec_options', array());
|
625 |
if(!is_array($all)) $all = array();
|
6652 |
*/
|
6653 |
public function campaign_monitor_add_subscriber($book_id)
|
6654 |
{
|
6655 |
+
// Skip on Lite
|
6656 |
+
if(!$this->getPRO()) return false;
|
6657 |
+
|
6658 |
require_once MEC_ABSPATH.'/app/api/Campaign_Monitor/csrest_subscribers.php';
|
6659 |
+
|
6660 |
// Get MEC Options
|
6661 |
$settings = $this->get_settings();
|
6662 |
|
6674 |
$booker = $u->booking($book_id);
|
6675 |
|
6676 |
$wrap = new CS_REST_Subscribers($list_id, $api_key);
|
6677 |
+
$wrap->add(array(
|
6678 |
'EmailAddress' => $booker->user_email,
|
6679 |
'Name' => $booker->first_name . ' ' .$booker->last_name,
|
6680 |
'ConsentToTrack' => 'yes',
|
changelog.txt
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
-
v 6.
|
2 |
-
- Fixed:
|
3 |
-
-
|
4 |
-
|
5 |
-
|
6 |
-
- Fixed:
|
7 |
|
8 |
v 6.4.7 – 27 March 2022
|
9 |
- Fixed: An issue on PayPal Standard Gateway (pro)
|
1 |
+
v 6.5.0 – 31 March 2022
|
2 |
+
- Fixed: An issue on shortcode filter options
|
3 |
+
- Fixed: The remove button for the inner form builder
|
4 |
+
- Fixed: An issue on the single event date method option
|
5 |
+
- Fixed: An issue on the hide event option
|
6 |
+
- Fixed: Some minor issues
|
7 |
|
8 |
v 6.4.7 – 27 March 2022
|
9 |
- Fixed: An issue on PayPal Standard Gateway (pro)
|
languages/modern-events-calendar-lite-cs_CZ.mo
CHANGED
Binary file
|
languages/modern-events-calendar-lite-cs_CZ.po
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Modern Events Calendar Lite\n"
|
4 |
-
"POT-Creation-Date: 2022-03-
|
5 |
-
"PO-Revision-Date: 2022-03-
|
6 |
"Last-Translator: \n"
|
7 |
"Language-Team: \n"
|
8 |
"Language: cs_CZ\n"
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Modern Events Calendar Lite\n"
|
4 |
+
"POT-Creation-Date: 2022-03-31 16:08+0430\n"
|
5 |
+
"PO-Revision-Date: 2022-03-31 16:10+0430\n"
|
6 |
"Last-Translator: \n"
|
7 |
"Language-Team: \n"
|
8 |
"Language: cs_CZ\n"
|
languages/modern-events-calendar-lite-de_DE.mo
CHANGED
Binary file
|
languages/modern-events-calendar-lite-de_DE.po
CHANGED
@@ -2,8 +2,8 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: ME Calender\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date: 2022-03-
|
6 |
-
"PO-Revision-Date: 2022-03-
|
7 |
"Last-Translator: Jogon <koenig@kafinanz.de>\n"
|
8 |
"Language-Team: German\n"
|
9 |
"Language: de_DE\n"
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: ME Calender\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2022-03-31 16:08+0430\n"
|
6 |
+
"PO-Revision-Date: 2022-03-31 16:10+0430\n"
|
7 |
"Last-Translator: Jogon <koenig@kafinanz.de>\n"
|
8 |
"Language-Team: German\n"
|
9 |
"Language: de_DE\n"
|
languages/modern-events-calendar-lite-en_US.mo
CHANGED
Binary file
|
languages/modern-events-calendar-lite-en_US.po
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: modern-events-calendar\n"
|
4 |
-
"POT-Creation-Date: 2022-03-
|
5 |
-
"PO-Revision-Date: 2022-03-
|
6 |
"Last-Translator: Howard <howard@realtyna.com>\n"
|
7 |
"Language-Team: \n"
|
8 |
"Language: en_US\n"
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: modern-events-calendar\n"
|
4 |
+
"POT-Creation-Date: 2022-03-31 16:08+0430\n"
|
5 |
+
"PO-Revision-Date: 2022-03-31 16:10+0430\n"
|
6 |
"Last-Translator: Howard <howard@realtyna.com>\n"
|
7 |
"Language-Team: \n"
|
8 |
"Language: en_US\n"
|
languages/modern-events-calendar-lite-es_ES.mo
CHANGED
Binary file
|
languages/modern-events-calendar-lite-es_ES.po
CHANGED
@@ -4,8 +4,8 @@ msgid ""
|
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Plugins - Modern Events Calendar Lite - Stable (latest "
|
6 |
"release)\n"
|
7 |
-
"POT-Creation-Date: 2022-03-
|
8 |
-
"PO-Revision-Date: 2022-03-
|
9 |
"Last-Translator: \n"
|
10 |
"Language-Team: \n"
|
11 |
"Language: es\n"
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Plugins - Modern Events Calendar Lite - Stable (latest "
|
6 |
"release)\n"
|
7 |
+
"POT-Creation-Date: 2022-03-31 16:08+0430\n"
|
8 |
+
"PO-Revision-Date: 2022-03-31 16:10+0430\n"
|
9 |
"Last-Translator: \n"
|
10 |
"Language-Team: \n"
|
11 |
"Language: es\n"
|
languages/modern-events-calendar-lite-fi_FI.mo
CHANGED
Binary file
|
languages/modern-events-calendar-lite-fi_FI.po
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Modern Events Calendar Lite\n"
|
4 |
-
"POT-Creation-Date: 2022-03-
|
5 |
-
"PO-Revision-Date: 2022-03-
|
6 |
"Last-Translator: \n"
|
7 |
"Language-Team: \n"
|
8 |
"Language: fi_FI\n"
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Modern Events Calendar Lite\n"
|
4 |
+
"POT-Creation-Date: 2022-03-31 16:08+0430\n"
|
5 |
+
"PO-Revision-Date: 2022-03-31 16:10+0430\n"
|
6 |
"Last-Translator: \n"
|
7 |
"Language-Team: \n"
|
8 |
"Language: fi_FI\n"
|
languages/modern-events-calendar-lite-fr_FR.mo
CHANGED
Binary file
|
languages/modern-events-calendar-lite-fr_FR.po
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Modern Events Calendar\n"
|
4 |
-
"POT-Creation-Date: 2022-03-
|
5 |
-
"PO-Revision-Date: 2022-03-
|
6 |
"Last-Translator: Howard <howard@realtyna.com>\n"
|
7 |
"Language-Team: \n"
|
8 |
"Language: fr_FR\n"
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Modern Events Calendar\n"
|
4 |
+
"POT-Creation-Date: 2022-03-31 16:08+0430\n"
|
5 |
+
"PO-Revision-Date: 2022-03-31 16:10+0430\n"
|
6 |
"Last-Translator: Howard <howard@realtyna.com>\n"
|
7 |
"Language-Team: \n"
|
8 |
"Language: fr_FR\n"
|
languages/modern-events-calendar-lite-hu_HU.mo
CHANGED
Binary file
|
languages/modern-events-calendar-lite-hu_HU.po
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Modern Events Calendar\n"
|
4 |
-
"POT-Creation-Date: 2022-03-
|
5 |
-
"PO-Revision-Date: 2022-03-
|
6 |
"Last-Translator: \n"
|
7 |
"Language-Team: \n"
|
8 |
"Language: hu_HU\n"
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Modern Events Calendar\n"
|
4 |
+
"POT-Creation-Date: 2022-03-31 16:08+0430\n"
|
5 |
+
"PO-Revision-Date: 2022-03-31 16:10+0430\n"
|
6 |
"Last-Translator: \n"
|
7 |
"Language-Team: \n"
|
8 |
"Language: hu_HU\n"
|
languages/modern-events-calendar-lite-it_IT.mo
CHANGED
Binary file
|
languages/modern-events-calendar-lite-it_IT.po
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Modern Events Calendar\n"
|
4 |
-
"POT-Creation-Date: 2022-03-
|
5 |
-
"PO-Revision-Date: 2022-03-
|
6 |
"Last-Translator: Howard <howard@realtyna.com>\n"
|
7 |
"Language-Team: \n"
|
8 |
"Language: it_IT\n"
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Modern Events Calendar\n"
|
4 |
+
"POT-Creation-Date: 2022-03-31 16:08+0430\n"
|
5 |
+
"PO-Revision-Date: 2022-03-31 16:09+0430\n"
|
6 |
"Last-Translator: Howard <howard@realtyna.com>\n"
|
7 |
"Language-Team: \n"
|
8 |
"Language: it_IT\n"
|
languages/modern-events-calendar-lite-nb_NO.mo
CHANGED
Binary file
|
languages/modern-events-calendar-lite-nb_NO.po
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Modern Events Calendar\n"
|
4 |
-
"POT-Creation-Date: 2022-03-
|
5 |
-
"PO-Revision-Date: 2022-03-
|
6 |
"Last-Translator: \n"
|
7 |
"Language-Team: \n"
|
8 |
"Language: nb_NO\n"
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Modern Events Calendar\n"
|
4 |
+
"POT-Creation-Date: 2022-03-31 16:08+0430\n"
|
5 |
+
"PO-Revision-Date: 2022-03-31 16:09+0430\n"
|
6 |
"Last-Translator: \n"
|
7 |
"Language-Team: \n"
|
8 |
"Language: nb_NO\n"
|
languages/modern-events-calendar-lite-nl_NL.mo
CHANGED
Binary file
|
languages/modern-events-calendar-lite-nl_NL.po
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Modern Events Calendar\n"
|
4 |
-
"POT-Creation-Date: 2022-03-
|
5 |
-
"PO-Revision-Date: 2022-03-
|
6 |
"Last-Translator: Howard <howard@realtyna.com>\n"
|
7 |
"Language-Team: \n"
|
8 |
"Language: nl_NL\n"
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Modern Events Calendar\n"
|
4 |
+
"POT-Creation-Date: 2022-03-31 16:08+0430\n"
|
5 |
+
"PO-Revision-Date: 2022-03-31 16:09+0430\n"
|
6 |
"Last-Translator: Howard <howard@realtyna.com>\n"
|
7 |
"Language-Team: \n"
|
8 |
"Language: nl_NL\n"
|
languages/modern-events-calendar-lite-pl_PL.mo
CHANGED
Binary file
|
languages/modern-events-calendar-lite-pl_PL.po
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Modern Events Calendar\n"
|
4 |
-
"POT-Creation-Date: 2022-03-
|
5 |
-
"PO-Revision-Date: 2022-03-
|
6 |
"Last-Translator: Łukasz Szmigiel <lszmigiel@szmigieldesign.pl>\n"
|
7 |
"Language-Team: \n"
|
8 |
"Language: pl_PL\n"
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Modern Events Calendar\n"
|
4 |
+
"POT-Creation-Date: 2022-03-31 16:08+0430\n"
|
5 |
+
"PO-Revision-Date: 2022-03-31 16:09+0430\n"
|
6 |
"Last-Translator: Łukasz Szmigiel <lszmigiel@szmigieldesign.pl>\n"
|
7 |
"Language-Team: \n"
|
8 |
"Language: pl_PL\n"
|
languages/modern-events-calendar-lite-pt_BR.mo
CHANGED
Binary file
|
languages/modern-events-calendar-lite-pt_BR.po
CHANGED
@@ -2,8 +2,8 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Modern Events Calendar\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date: 2022-03-
|
6 |
-
"PO-Revision-Date: 2022-03-
|
7 |
"Last-Translator: Howard <howard@realtyna.com>\n"
|
8 |
"Language-Team: Portuguese (Brazil)\n"
|
9 |
"Language: pt_BR\n"
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Modern Events Calendar\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2022-03-31 16:08+0430\n"
|
6 |
+
"PO-Revision-Date: 2022-03-31 16:09+0430\n"
|
7 |
"Last-Translator: Howard <howard@realtyna.com>\n"
|
8 |
"Language-Team: Portuguese (Brazil)\n"
|
9 |
"Language: pt_BR\n"
|
languages/modern-events-calendar-lite-ru_RU.mo
CHANGED
Binary file
|
languages/modern-events-calendar-lite-ru_RU.po
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Modern Events Calendar\n"
|
4 |
-
"POT-Creation-Date: 2022-03-
|
5 |
-
"PO-Revision-Date: 2022-03-
|
6 |
"Last-Translator: Howard <howard@realtyna.com>\n"
|
7 |
"Language-Team: Runa Simi Tours <info@runa-simi.com>\n"
|
8 |
"Language: ru_RU\n"
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Modern Events Calendar\n"
|
4 |
+
"POT-Creation-Date: 2022-03-31 16:08+0430\n"
|
5 |
+
"PO-Revision-Date: 2022-03-31 16:09+0430\n"
|
6 |
"Last-Translator: Howard <howard@realtyna.com>\n"
|
7 |
"Language-Team: Runa Simi Tours <info@runa-simi.com>\n"
|
8 |
"Language: ru_RU\n"
|
languages/modern-events-calendar-lite-sv_SE.mo
CHANGED
Binary file
|
languages/modern-events-calendar-lite-sv_SE.po
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Modern Events Calendar\n"
|
4 |
-
"POT-Creation-Date: 2022-03-
|
5 |
-
"PO-Revision-Date: 2022-03-
|
6 |
"Last-Translator: Mats Vallström <walle@mtre.se>\n"
|
7 |
"Language-Team: Mats Vallström <walle@mtre.se>\n"
|
8 |
"Language: sv_SE\n"
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Modern Events Calendar\n"
|
4 |
+
"POT-Creation-Date: 2022-03-31 16:08+0430\n"
|
5 |
+
"PO-Revision-Date: 2022-03-31 16:08+0430\n"
|
6 |
"Last-Translator: Mats Vallström <walle@mtre.se>\n"
|
7 |
"Language-Team: Mats Vallström <walle@mtre.se>\n"
|
8 |
"Language: sv_SE\n"
|
languages/modern-events-calendar-lite-tr_TR.mo
CHANGED
Binary file
|
languages/modern-events-calendar-lite-tr_TR.po
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Modern Events Calendar\n"
|
4 |
-
"POT-Creation-Date: 2022-03-
|
5 |
-
"PO-Revision-Date: 2022-03-
|
6 |
"Last-Translator: Howard <howard@realtyna.com>\n"
|
7 |
"Language-Team: \n"
|
8 |
"Language: tr_TR\n"
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Modern Events Calendar\n"
|
4 |
+
"POT-Creation-Date: 2022-03-31 16:08+0430\n"
|
5 |
+
"PO-Revision-Date: 2022-03-31 16:08+0430\n"
|
6 |
"Last-Translator: Howard <howard@realtyna.com>\n"
|
7 |
"Language-Team: \n"
|
8 |
"Language: tr_TR\n"
|
languages/modern-events-calendar-lite.pot
CHANGED
@@ -3,7 +3,7 @@ msgid ""
|
|
3 |
msgstr ""
|
4 |
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
|
5 |
"Project-Id-Version: Modern Events Calendar Lite\n"
|
6 |
-
"POT-Creation-Date: 2022-03-
|
7 |
"PO-Revision-Date: 2020-04-14 17:14+0430\n"
|
8 |
"Last-Translator: \n"
|
9 |
"Language-Team: \n"
|
3 |
msgstr ""
|
4 |
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
|
5 |
"Project-Id-Version: Modern Events Calendar Lite\n"
|
6 |
+
"POT-Creation-Date: 2022-03-31 16:08+0430\n"
|
7 |
"PO-Revision-Date: 2020-04-14 17:14+0430\n"
|
8 |
"Last-Translator: \n"
|
9 |
"Language-Team: \n"
|
modern-events-calendar-lite.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Plugin URI: http://webnus.net/modern-events-calendar/
|
5 |
* Description: An awesome plugin for events calendar
|
6 |
* Author: Webnus
|
7 |
-
* Version: 6.
|
8 |
* Text Domain: modern-events-calendar-lite
|
9 |
* Domain Path: /languages
|
10 |
* Author URI: http://webnus.net
|
@@ -31,7 +31,7 @@ if(!defined('MECEXEC'))
|
|
31 |
define('MEC_BASENAME', plugin_basename(__FILE__)); // modern-events-calendar/mec.php
|
32 |
|
33 |
/** Plugin Version **/
|
34 |
-
define('MEC_VERSION', '6.
|
35 |
|
36 |
/** Include Webnus MEC class if not included before **/
|
37 |
if(!class_exists('MEC')) require_once MEC_ABSPATH.'mec-init.php';
|
4 |
* Plugin URI: http://webnus.net/modern-events-calendar/
|
5 |
* Description: An awesome plugin for events calendar
|
6 |
* Author: Webnus
|
7 |
+
* Version: 6.5.0
|
8 |
* Text Domain: modern-events-calendar-lite
|
9 |
* Domain Path: /languages
|
10 |
* Author URI: http://webnus.net
|
31 |
define('MEC_BASENAME', plugin_basename(__FILE__)); // modern-events-calendar/mec.php
|
32 |
|
33 |
/** Plugin Version **/
|
34 |
+
define('MEC_VERSION', '6.5.0');
|
35 |
|
36 |
/** Include Webnus MEC class if not included before **/
|
37 |
if(!class_exists('MEC')) require_once MEC_ABSPATH.'mec-init.php';
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://webnus.net
|
|
4 |
Tags: Event, Events, Calendar, Booking, Schedule, Organizer, Venue
|
5 |
Requires at least: 4.0.0
|
6 |
Tested up to: 5.9
|
7 |
-
Stable tag: 6.
|
8 |
Requires PHP: 5.6
|
9 |
License: GPLv2 or later
|
10 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
@@ -217,6 +217,7 @@ You can see [plugin documentation](https://webnus.net/dox/modern-events-calendar
|
|
217 |
- [Developer documentation](https://webnus.net/dox/modern-events-calendar/category/developer-document/)
|
218 |
|
219 |
== Key Features ==
|
|
|
220 |
- MEC Cart System (*pro*)
|
221 |
- Skip the first step of booking (*pro*)
|
222 |
- Book Multiple Dates (*pro*)
|
@@ -472,8 +473,15 @@ You can see [plugin documentation](https://webnus.net/dox/modern-events-calendar
|
|
472 |
|
473 |
== Changelog ==
|
474 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
475 |
= 6.4.9 – 30 March 2022 =
|
476 |
-
- Fixed: Some minor issue
|
477 |
- Removed: PUC folder
|
478 |
|
479 |
= 6.4.8 – 28 March 2022 =
|
4 |
Tags: Event, Events, Calendar, Booking, Schedule, Organizer, Venue
|
5 |
Requires at least: 4.0.0
|
6 |
Tested up to: 5.9
|
7 |
+
Stable tag: 6.5.0
|
8 |
Requires PHP: 5.6
|
9 |
License: GPLv2 or later
|
10 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
217 |
- [Developer documentation](https://webnus.net/dox/modern-events-calendar/category/developer-document/)
|
218 |
|
219 |
== Key Features ==
|
220 |
+
- Dynamic content shortcode
|
221 |
- MEC Cart System (*pro*)
|
222 |
- Skip the first step of booking (*pro*)
|
223 |
- Book Multiple Dates (*pro*)
|
473 |
|
474 |
== Changelog ==
|
475 |
|
476 |
+
= 6.5.0 – 31 March 2022 =
|
477 |
+
- Fixed: An issue on shortcode filter options
|
478 |
+
- Fixed: The remove button for the inner form builder
|
479 |
+
- Fixed: An issue on the single event date method option
|
480 |
+
- Fixed: An issue on the hide event option
|
481 |
+
- Fixed: Some minor issues
|
482 |
+
|
483 |
= 6.4.9 – 30 March 2022 =
|
484 |
+
- Fixed: Some minor issue
|
485 |
- Removed: PUC folder
|
486 |
|
487 |
= 6.4.8 – 28 March 2022 =
|