Version Description
= [5.0] =
Please see the changelog for the complete list of changes in this release. Previous versions of The Events Calendar are not cross-compatible with 5.X add-ons. Remember to always make a backup of your database and files before updating!
Download this release
Release Info
| Developer | bordoni |
| Plugin | |
| Version | 5.12.3 |
| Comparing to | |
| See all releases | |
Code changes from version 5.12.2 to 5.12.3
- common/lang/tribe-common.pot +8 -8
- common/src/Tribe/Main.php +1 -1
- common/src/functions/utils.php +11 -0
- common/vendor/autoload.php +1 -1
- common/vendor/autoload_52.php +1 -1
- common/vendor/composer/autoload_real.php +4 -4
- common/vendor/composer/autoload_real_52.php +3 -3
- common/vendor/composer/autoload_static.php +5 -5
- lang/the-events-calendar-bg_BG.mo +0 -0
- lang/the-events-calendar-ca.mo +0 -0
- lang/the-events-calendar-cs_CZ.mo +0 -0
- lang/the-events-calendar-da_DK.mo +0 -0
- lang/the-events-calendar-de_CH.mo +0 -0
- lang/the-events-calendar-de_DE.mo +0 -0
- lang/the-events-calendar-el.mo +0 -0
- lang/the-events-calendar-en_AU.mo +0 -0
- lang/the-events-calendar-en_CA.mo +0 -0
- lang/the-events-calendar-en_GB.mo +0 -0
- lang/the-events-calendar-en_NZ.mo +0 -0
- lang/the-events-calendar-en_ZA.mo +0 -0
- lang/the-events-calendar-es_CO.mo +0 -0
- lang/the-events-calendar-es_DO.mo +0 -0
- lang/the-events-calendar-es_EC.mo +0 -0
- lang/the-events-calendar-es_ES.mo +0 -0
- lang/the-events-calendar-es_MX.mo +0 -0
- lang/the-events-calendar-es_VE.mo +0 -0
- lang/the-events-calendar-eu.mo +0 -0
- lang/the-events-calendar-fi.mo +0 -0
- lang/the-events-calendar-fr_CA.mo +0 -0
- lang/the-events-calendar-fr_FR.mo +0 -0
- lang/the-events-calendar-gl_ES.mo +0 -0
- lang/the-events-calendar-he_IL.mo +0 -0
- lang/the-events-calendar-hu_HU.mo +0 -0
- lang/the-events-calendar-it_IT.mo +0 -0
- lang/the-events-calendar-ja.mo +0 -0
- lang/the-events-calendar-lt_LT.mo +0 -0
- lang/the-events-calendar-nb_NO.mo +0 -0
- lang/the-events-calendar-nl_NL.mo +0 -0
- lang/the-events-calendar-nn_NO.mo +0 -0
- lang/the-events-calendar-pl_PL.mo +0 -0
- lang/the-events-calendar-pt_BR.mo +0 -0
- lang/the-events-calendar-pt_PT.mo +0 -0
- lang/the-events-calendar-ro_RO.mo +0 -0
- lang/the-events-calendar-ru_RU.mo +0 -0
- lang/the-events-calendar-sk_SK.mo +0 -0
- lang/the-events-calendar-sl_SI.mo +0 -0
- lang/the-events-calendar-sq.mo +0 -0
- lang/the-events-calendar-sv_SE.mo +0 -0
- lang/the-events-calendar-tr_TR.mo +0 -0
- lang/the-events-calendar-uk.mo +0 -0
- lang/the-events-calendar-zh_CN.mo +0 -0
- lang/the-events-calendar.pot +77 -77
- readme.txt +13 -3
- src/Tribe/Main.php +33 -15
- src/Tribe/Plugin_Register.php +2 -2
- src/Tribe/Query.php +12 -1
- src/Tribe/Views/V2/Hooks.php +6 -0
- src/Tribe/Views/V2/Manager.php +14 -17
- src/Tribe/Views/V2/Template/Title.php +56 -20
- src/Tribe/Views/V2/iCalendar/Links/Link_Abstract.php +4 -4
- src/Tribe/Views/V2/iCalendar/Links/Link_Interface.php +1 -1
- src/Tribe/Views/V2/iCalendar/iCalendar_Handler.php +2 -2
- the-events-calendar.php +1 -1
- vendor/autoload.php +1 -1
- vendor/composer/autoload_real.php +4 -4
- vendor/composer/autoload_static.php +4 -4
common/lang/tribe-common.pot
CHANGED
|
@@ -1,14 +1,14 @@
|
|
| 1 |
-
# Copyright (C)
|
| 2 |
# This file is distributed under the same license as the Tribe Common package.
|
| 3 |
msgid ""
|
| 4 |
msgstr ""
|
| 5 |
-
"Project-Id-Version: Tribe Common 4.14.
|
| 6 |
"Report-Msgid-Bugs-To: http://m.tri.be/191x\n"
|
| 7 |
-
"POT-Creation-Date:
|
| 8 |
"MIME-Version: 1.0\n"
|
| 9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
| 10 |
"Content-Transfer-Encoding: 8bit\n"
|
| 11 |
-
"PO-Revision-Date:
|
| 12 |
"Last-Translator: \n"
|
| 13 |
"Language-Team: \n"
|
| 14 |
|
|
@@ -58,7 +58,7 @@ msgctxt "Error status label for system info optin"
|
|
| 58 |
msgid "Status:"
|
| 59 |
msgstr ""
|
| 60 |
|
| 61 |
-
#. #-#-#-#-# tribe-common.pot (Tribe Common 4.14.
|
| 62 |
#. Author of the plugin/theme
|
| 63 |
#: src/Tribe/Admin/Help_Page.php:82 src/Tribe/Customizer.php:666
|
| 64 |
#: src/Tribe/Plugins_API.php:25 src/admin-views/help-calendar.php:97
|
|
@@ -2902,15 +2902,15 @@ msgid ""
|
|
| 2902 |
"overrides is provided below."
|
| 2903 |
msgstr ""
|
| 2904 |
|
| 2905 |
-
#: src/Tribe/Support.php:
|
| 2906 |
msgid "English"
|
| 2907 |
msgstr ""
|
| 2908 |
|
| 2909 |
-
#: src/Tribe/Support.php:
|
| 2910 |
msgid "Unknown or not set"
|
| 2911 |
msgstr ""
|
| 2912 |
|
| 2913 |
-
#: src/Tribe/Support.php:
|
| 2914 |
msgid ""
|
| 2915 |
"Rewrite rules were purged on load of this help page. Chances are there is a "
|
| 2916 |
"rewrite rule flush occurring in a plugin or theme!"
|
| 1 |
+
# Copyright (C) 2022 Modern Tribe
|
| 2 |
# This file is distributed under the same license as the Tribe Common package.
|
| 3 |
msgid ""
|
| 4 |
msgstr ""
|
| 5 |
+
"Project-Id-Version: Tribe Common 4.14.11\n"
|
| 6 |
"Report-Msgid-Bugs-To: http://m.tri.be/191x\n"
|
| 7 |
+
"POT-Creation-Date: 2022-01-07 06:37:28+00:00\n"
|
| 8 |
"MIME-Version: 1.0\n"
|
| 9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
| 10 |
"Content-Transfer-Encoding: 8bit\n"
|
| 11 |
+
"PO-Revision-Date: 2022-01-07 06:37\n"
|
| 12 |
"Last-Translator: \n"
|
| 13 |
"Language-Team: \n"
|
| 14 |
|
| 58 |
msgid "Status:"
|
| 59 |
msgstr ""
|
| 60 |
|
| 61 |
+
#. #-#-#-#-# tribe-common.pot (Tribe Common 4.14.11) #-#-#-#-#
|
| 62 |
#. Author of the plugin/theme
|
| 63 |
#: src/Tribe/Admin/Help_Page.php:82 src/Tribe/Customizer.php:666
|
| 64 |
#: src/Tribe/Plugins_API.php:25 src/admin-views/help-calendar.php:97
|
| 2902 |
"overrides is provided below."
|
| 2903 |
msgstr ""
|
| 2904 |
|
| 2905 |
+
#: src/Tribe/Support.php:194
|
| 2906 |
msgid "English"
|
| 2907 |
msgstr ""
|
| 2908 |
|
| 2909 |
+
#: src/Tribe/Support.php:213 src/Tribe/Support.php:214
|
| 2910 |
msgid "Unknown or not set"
|
| 2911 |
msgstr ""
|
| 2912 |
|
| 2913 |
+
#: src/Tribe/Support.php:224
|
| 2914 |
msgid ""
|
| 2915 |
"Rewrite rules were purged on load of this help page. Chances are there is a "
|
| 2916 |
"rewrite rule flush occurring in a plugin or theme!"
|
common/src/Tribe/Main.php
CHANGED
|
@@ -20,7 +20,7 @@ class Tribe__Main {
|
|
| 20 |
const OPTIONNAME = 'tribe_events_calendar_options';
|
| 21 |
const OPTIONNAMENETWORK = 'tribe_events_calendar_network_options';
|
| 22 |
|
| 23 |
-
const VERSION = '4.14.
|
| 24 |
|
| 25 |
const FEED_URL = 'https://theeventscalendar.com/feed/';
|
| 26 |
|
| 20 |
const OPTIONNAME = 'tribe_events_calendar_options';
|
| 21 |
const OPTIONNAMENETWORK = 'tribe_events_calendar_network_options';
|
| 22 |
|
| 23 |
+
const VERSION = '4.14.11';
|
| 24 |
|
| 25 |
const FEED_URL = 'https://theeventscalendar.com/feed/';
|
| 26 |
|
common/src/functions/utils.php
CHANGED
|
@@ -567,6 +567,17 @@ if ( ! function_exists( 'tribe_is_regex' ) ) {
|
|
| 567 |
return false;
|
| 568 |
}
|
| 569 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 570 |
// We need to have the Try/Catch for Warnings too
|
| 571 |
try {
|
| 572 |
return ! ( @preg_match( $candidate, null ) === false );
|
| 567 |
return false;
|
| 568 |
}
|
| 569 |
|
| 570 |
+
$n = strlen( $candidate );
|
| 571 |
+
// regex must be at least 2 delimiters + 1 character - invalid regex.
|
| 572 |
+
if ( $n < 3 ) {
|
| 573 |
+
return false;
|
| 574 |
+
}
|
| 575 |
+
|
| 576 |
+
// Missing or mismatched delimiters - invalid regex.
|
| 577 |
+
if ( $candidate[0] !== $candidate[ $n - 1 ] ) {
|
| 578 |
+
return false;
|
| 579 |
+
}
|
| 580 |
+
|
| 581 |
// We need to have the Try/Catch for Warnings too
|
| 582 |
try {
|
| 583 |
return ! ( @preg_match( $candidate, null ) === false );
|
common/vendor/autoload.php
CHANGED
|
@@ -4,4 +4,4 @@
|
|
| 4 |
|
| 5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
| 6 |
|
| 7 |
-
return
|
| 4 |
|
| 5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
| 6 |
|
| 7 |
+
return ComposerAutoloaderInitb179aa41620223b1df43a0ad8ce2683c::getLoader();
|
common/vendor/autoload_52.php
CHANGED
|
@@ -4,4 +4,4 @@
|
|
| 4 |
|
| 5 |
require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
|
| 6 |
|
| 7 |
-
return
|
| 4 |
|
| 5 |
require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
|
| 6 |
|
| 7 |
+
return ComposerAutoloaderInit9c59f3f9dca208fe7cc82bcb511e1745::getLoader();
|
common/vendor/composer/autoload_real.php
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
|
| 3 |
// autoload_real.php @generated by Composer
|
| 4 |
|
| 5 |
-
class
|
| 6 |
{
|
| 7 |
private static $loader;
|
| 8 |
|
|
@@ -19,15 +19,15 @@ class ComposerAutoloaderInitfb459d561ae441259befd145de9f3839
|
|
| 19 |
return self::$loader;
|
| 20 |
}
|
| 21 |
|
| 22 |
-
spl_autoload_register(array('
|
| 23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
| 24 |
-
spl_autoload_unregister(array('
|
| 25 |
|
| 26 |
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
| 27 |
if ($useStaticLoader) {
|
| 28 |
require_once __DIR__ . '/autoload_static.php';
|
| 29 |
|
| 30 |
-
call_user_func(\Composer\Autoload\
|
| 31 |
} else {
|
| 32 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
| 33 |
foreach ($map as $namespace => $path) {
|
| 2 |
|
| 3 |
// autoload_real.php @generated by Composer
|
| 4 |
|
| 5 |
+
class ComposerAutoloaderInitb179aa41620223b1df43a0ad8ce2683c
|
| 6 |
{
|
| 7 |
private static $loader;
|
| 8 |
|
| 19 |
return self::$loader;
|
| 20 |
}
|
| 21 |
|
| 22 |
+
spl_autoload_register(array('ComposerAutoloaderInitb179aa41620223b1df43a0ad8ce2683c', 'loadClassLoader'), true, true);
|
| 23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
| 24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInitb179aa41620223b1df43a0ad8ce2683c', 'loadClassLoader'));
|
| 25 |
|
| 26 |
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
| 27 |
if ($useStaticLoader) {
|
| 28 |
require_once __DIR__ . '/autoload_static.php';
|
| 29 |
|
| 30 |
+
call_user_func(\Composer\Autoload\ComposerStaticInitb179aa41620223b1df43a0ad8ce2683c::getInitializer($loader));
|
| 31 |
} else {
|
| 32 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
| 33 |
foreach ($map as $namespace => $path) {
|
common/vendor/composer/autoload_real_52.php
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
|
| 3 |
// autoload_real_52.php generated by xrstf/composer-php52
|
| 4 |
|
| 5 |
-
class
|
| 6 |
private static $loader;
|
| 7 |
|
| 8 |
public static function loadClassLoader($class) {
|
|
@@ -19,9 +19,9 @@ class ComposerAutoloaderInit2a725e81896caa1229c29aec3846818c {
|
|
| 19 |
return self::$loader;
|
| 20 |
}
|
| 21 |
|
| 22 |
-
spl_autoload_register(array('
|
| 23 |
self::$loader = $loader = new xrstf_Composer52_ClassLoader();
|
| 24 |
-
spl_autoload_unregister(array('
|
| 25 |
|
| 26 |
$vendorDir = dirname(dirname(__FILE__));
|
| 27 |
$baseDir = dirname($vendorDir);
|
| 2 |
|
| 3 |
// autoload_real_52.php generated by xrstf/composer-php52
|
| 4 |
|
| 5 |
+
class ComposerAutoloaderInit9c59f3f9dca208fe7cc82bcb511e1745 {
|
| 6 |
private static $loader;
|
| 7 |
|
| 8 |
public static function loadClassLoader($class) {
|
| 19 |
return self::$loader;
|
| 20 |
}
|
| 21 |
|
| 22 |
+
spl_autoload_register(array('ComposerAutoloaderInit9c59f3f9dca208fe7cc82bcb511e1745', 'loadClassLoader'), true /*, true */);
|
| 23 |
self::$loader = $loader = new xrstf_Composer52_ClassLoader();
|
| 24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit9c59f3f9dca208fe7cc82bcb511e1745', 'loadClassLoader'));
|
| 25 |
|
| 26 |
$vendorDir = dirname(dirname(__FILE__));
|
| 27 |
$baseDir = dirname($vendorDir);
|
common/vendor/composer/autoload_static.php
CHANGED
|
@@ -4,7 +4,7 @@
|
|
| 4 |
|
| 5 |
namespace Composer\Autoload;
|
| 6 |
|
| 7 |
-
class
|
| 8 |
{
|
| 9 |
public static $prefixLengthsPsr4 = array (
|
| 10 |
'T' =>
|
|
@@ -258,10 +258,10 @@ class ComposerStaticInitfb459d561ae441259befd145de9f3839
|
|
| 258 |
public static function getInitializer(ClassLoader $loader)
|
| 259 |
{
|
| 260 |
return \Closure::bind(function () use ($loader) {
|
| 261 |
-
$loader->prefixLengthsPsr4 =
|
| 262 |
-
$loader->prefixDirsPsr4 =
|
| 263 |
-
$loader->prefixesPsr0 =
|
| 264 |
-
$loader->classMap =
|
| 265 |
|
| 266 |
}, null, ClassLoader::class);
|
| 267 |
}
|
| 4 |
|
| 5 |
namespace Composer\Autoload;
|
| 6 |
|
| 7 |
+
class ComposerStaticInitb179aa41620223b1df43a0ad8ce2683c
|
| 8 |
{
|
| 9 |
public static $prefixLengthsPsr4 = array (
|
| 10 |
'T' =>
|
| 258 |
public static function getInitializer(ClassLoader $loader)
|
| 259 |
{
|
| 260 |
return \Closure::bind(function () use ($loader) {
|
| 261 |
+
$loader->prefixLengthsPsr4 = ComposerStaticInitb179aa41620223b1df43a0ad8ce2683c::$prefixLengthsPsr4;
|
| 262 |
+
$loader->prefixDirsPsr4 = ComposerStaticInitb179aa41620223b1df43a0ad8ce2683c::$prefixDirsPsr4;
|
| 263 |
+
$loader->prefixesPsr0 = ComposerStaticInitb179aa41620223b1df43a0ad8ce2683c::$prefixesPsr0;
|
| 264 |
+
$loader->classMap = ComposerStaticInitb179aa41620223b1df43a0ad8ce2683c::$classMap;
|
| 265 |
|
| 266 |
}, null, ClassLoader::class);
|
| 267 |
}
|
lang/the-events-calendar-bg_BG.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-ca.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-cs_CZ.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-da_DK.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-de_CH.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-de_DE.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-el.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-en_AU.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-en_CA.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-en_GB.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-en_NZ.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-en_ZA.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-es_CO.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-es_DO.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-es_EC.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-es_ES.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-es_MX.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-es_VE.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-eu.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-fi.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-fr_CA.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-fr_FR.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-gl_ES.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-he_IL.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-hu_HU.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-it_IT.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-ja.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-lt_LT.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-nb_NO.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-nl_NL.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-nn_NO.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-pl_PL.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-pt_BR.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-pt_PT.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-ro_RO.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-ru_RU.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-sk_SK.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-sl_SI.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-sq.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-sv_SE.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-tr_TR.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-uk.mo
CHANGED
|
Binary file
|
lang/the-events-calendar-zh_CN.mo
CHANGED
|
Binary file
|
lang/the-events-calendar.pot
CHANGED
|
@@ -1,15 +1,15 @@
|
|
| 1 |
-
# Copyright (C)
|
| 2 |
# This file is distributed under the same license as the The Events Calendar package.
|
| 3 |
msgid ""
|
| 4 |
msgstr ""
|
| 5 |
-
"Project-Id-Version: The Events Calendar 5.12.
|
| 6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/the-events-"
|
| 7 |
"calendar\n"
|
| 8 |
-
"POT-Creation-Date:
|
| 9 |
"MIME-Version: 1.0\n"
|
| 10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
| 11 |
"Content-Transfer-Encoding: 8bit\n"
|
| 12 |
-
"PO-Revision-Date:
|
| 13 |
"Last-Translator: \n"
|
| 14 |
"Language-Team: \n"
|
| 15 |
|
|
@@ -47,7 +47,7 @@ msgstr ""
|
|
| 47 |
msgid "%s"
|
| 48 |
msgstr ""
|
| 49 |
|
| 50 |
-
#: src/Tribe/Admin/Bar/Default_Configurator.php:45 src/Tribe/Main.php:
|
| 51 |
#: src/Tribe/Views/V2/Views/Widgets/Widget_View.php:61
|
| 52 |
#: src/admin-views/tribe-options-upgrade.php:20
|
| 53 |
msgid "View Calendar"
|
|
@@ -59,7 +59,7 @@ msgstr ""
|
|
| 59 |
|
| 60 |
#: src/Tribe/Admin/Bar/Default_Configurator.php:62
|
| 61 |
#: src/Tribe/Linked_Posts/Chooser_Meta_Box.php:211 src/Tribe/Main.php:2147
|
| 62 |
-
#: src/Tribe/Main.php:
|
| 63 |
#: src/Tribe/Venue.php:113
|
| 64 |
msgid "Edit %s"
|
| 65 |
msgstr ""
|
|
@@ -70,7 +70,7 @@ msgstr ""
|
|
| 70 |
msgid "Import"
|
| 71 |
msgstr ""
|
| 72 |
|
| 73 |
-
#: src/Tribe/Admin/Bar/Default_Configurator.php:89 src/Tribe/Main.php:
|
| 74 |
msgid "Settings"
|
| 75 |
msgstr ""
|
| 76 |
|
|
@@ -187,7 +187,7 @@ msgstr ""
|
|
| 187 |
|
| 188 |
#: src/Tribe/Aggregator/API/Origins.php:53
|
| 189 |
#: src/Tribe/Aggregator/Record/iCal.php:14
|
| 190 |
-
#: src/Tribe/Views/V2/iCalendar/Links/iCal.php:
|
| 191 |
#: src/admin-views/aggregator/settings.php:613
|
| 192 |
msgid "iCalendar"
|
| 193 |
msgstr ""
|
|
@@ -2087,13 +2087,13 @@ msgstr ""
|
|
| 2087 |
|
| 2088 |
#: src/Tribe/Editor/Blocks/Event_Links.php:25
|
| 2089 |
#: src/Tribe/Views/V2/iCalendar/Links/Google_Calendar.php:32
|
| 2090 |
-
#: src/Tribe/iCal.php:132 src/views/blocks/event-links.php:
|
| 2091 |
msgid "Add to Google Calendar"
|
| 2092 |
msgstr ""
|
| 2093 |
|
| 2094 |
#: src/Tribe/Editor/Blocks/Event_Links.php:26
|
| 2095 |
-
#: src/Tribe/Views/V2/iCalendar/Links/iCal.php:
|
| 2096 |
-
#: src/views/blocks/event-links.php:
|
| 2097 |
msgid "Add to iCalendar"
|
| 2098 |
msgstr ""
|
| 2099 |
|
|
@@ -2759,9 +2759,9 @@ msgstr ""
|
|
| 2759 |
msgid "Upcoming Events"
|
| 2760 |
msgstr ""
|
| 2761 |
|
| 2762 |
-
#. #-#-#-#-# the-events-calendar.pot (The Events Calendar 5.12.
|
| 2763 |
#. Plugin Name of the plugin/theme
|
| 2764 |
-
#. #-#-#-#-# the-events-calendar.pot (The Events Calendar 5.12.
|
| 2765 |
#. Author of the plugin/theme
|
| 2766 |
#: src/Tribe/Main.php:989 src/Tribe/Main.php:1492 src/Tribe/Privacy.php:29
|
| 2767 |
#: src/admin-views/admin-welcome-message.php:29
|
|
@@ -3015,11 +3015,11 @@ msgid ""
|
|
| 3015 |
"should be in the \"common/\" directory in the events calendar plugin."
|
| 3016 |
msgstr ""
|
| 3017 |
|
| 3018 |
-
#: src/Tribe/Main.php:2093 src/Tribe/Main.php:
|
| 3019 |
msgid "category"
|
| 3020 |
msgstr ""
|
| 3021 |
|
| 3022 |
-
#: src/Tribe/Main.php:2107 src/Tribe/Main.php:
|
| 3023 |
msgid "tag"
|
| 3024 |
msgstr ""
|
| 3025 |
|
|
@@ -3201,215 +3201,215 @@ msgid ""
|
|
| 3201 |
"Snippet%s on the search results."
|
| 3202 |
msgstr ""
|
| 3203 |
|
| 3204 |
-
#: src/Tribe/Main.php:
|
| 3205 |
msgid "page"
|
| 3206 |
msgstr ""
|
| 3207 |
|
| 3208 |
-
#: src/Tribe/Main.php:
|
| 3209 |
msgid "event"
|
| 3210 |
msgstr ""
|
| 3211 |
|
| 3212 |
-
#: src/Tribe/Main.php:
|
| 3213 |
msgid "events"
|
| 3214 |
msgstr ""
|
| 3215 |
|
| 3216 |
-
#: src/Tribe/Main.php:
|
| 3217 |
msgid "all"
|
| 3218 |
msgstr ""
|
| 3219 |
|
| 3220 |
-
#: src/Tribe/Main.php:
|
| 3221 |
msgid " (View Full %1$s Description Here: %2$s)"
|
| 3222 |
msgstr ""
|
| 3223 |
|
| 3224 |
-
#: src/Tribe/Main.php:
|
| 3225 |
#: src/functions/template-tags/day.php:157
|
| 3226 |
#: src/functions/template-tags/day.php:178
|
| 3227 |
msgid "Date out of range."
|
| 3228 |
msgstr ""
|
| 3229 |
|
| 3230 |
-
#: src/Tribe/Main.php:
|
| 3231 |
msgid "%s Options"
|
| 3232 |
msgstr ""
|
| 3233 |
|
| 3234 |
-
#: src/Tribe/Main.php:
|
| 3235 |
msgid "%s Information"
|
| 3236 |
msgstr ""
|
| 3237 |
|
| 3238 |
-
#: src/Tribe/Main.php:
|
| 3239 |
msgid "Support"
|
| 3240 |
msgstr ""
|
| 3241 |
|
| 3242 |
-
#: src/Tribe/Main.php:
|
| 3243 |
msgid "View All Add-Ons"
|
| 3244 |
msgstr ""
|
| 3245 |
|
| 3246 |
-
#: src/Tribe/Main.php:
|
| 3247 |
msgid "News from The Events Calendar"
|
| 3248 |
msgstr ""
|
| 3249 |
|
| 3250 |
-
#: src/Tribe/Main.php:
|
| 3251 |
msgid "Additional Functionality"
|
| 3252 |
msgstr ""
|
| 3253 |
|
| 3254 |
-
#: src/Tribe/Main.php:
|
| 3255 |
msgid ""
|
| 3256 |
"Looking for additional functionality including recurring events, ticket "
|
| 3257 |
"sales, publicly submitted events, new views and more?"
|
| 3258 |
msgstr ""
|
| 3259 |
|
| 3260 |
-
#: src/Tribe/Main.php:
|
| 3261 |
msgid "Check out the %savailable add-ons%s."
|
| 3262 |
msgstr ""
|
| 3263 |
|
| 3264 |
-
#: src/Tribe/Main.php:
|
| 3265 |
msgid "Calendar"
|
| 3266 |
msgstr ""
|
| 3267 |
|
| 3268 |
-
#: src/Tribe/Main.php:
|
| 3269 |
msgid "List"
|
| 3270 |
msgstr ""
|
| 3271 |
|
| 3272 |
-
#: src/Tribe/Main.php:
|
| 3273 |
msgid "Month"
|
| 3274 |
msgstr ""
|
| 3275 |
|
| 3276 |
-
#: src/Tribe/Main.php:
|
| 3277 |
#: src/admin-views/aggregator/fields/schedule.php:61
|
| 3278 |
msgid "Day"
|
| 3279 |
msgstr ""
|
| 3280 |
|
| 3281 |
-
#: src/Tribe/Main.php:
|
| 3282 |
msgid "Search for %s by Keyword."
|
| 3283 |
msgstr ""
|
| 3284 |
|
| 3285 |
-
#: src/Tribe/Main.php:
|
| 3286 |
#: src/views/v2/components/events-bar/search-button.php:24
|
| 3287 |
msgid "Search"
|
| 3288 |
msgstr ""
|
| 3289 |
|
| 3290 |
-
#: src/Tribe/Main.php:
|
| 3291 |
msgid "Keyword"
|
| 3292 |
msgstr ""
|
| 3293 |
|
| 3294 |
-
#: src/Tribe/Main.php:
|
| 3295 |
msgid "4 digit year hyphen 2 digit month hyphen 2 digit day"
|
| 3296 |
msgstr ""
|
| 3297 |
|
| 3298 |
-
#: src/Tribe/Main.php:
|
| 3299 |
msgid "1 digit month slash 1 digit day slash 4 digit year"
|
| 3300 |
msgstr ""
|
| 3301 |
|
| 3302 |
-
#: src/Tribe/Main.php:
|
| 3303 |
msgid "2 digit month slash 2 digit day slash 4 digit year"
|
| 3304 |
msgstr ""
|
| 3305 |
|
| 3306 |
-
#: src/Tribe/Main.php:
|
| 3307 |
msgid "1 digit day slash 1 digit month slash 4 digit year"
|
| 3308 |
msgstr ""
|
| 3309 |
|
| 3310 |
-
#: src/Tribe/Main.php:
|
| 3311 |
msgid "2 digit day slash 2 digit month slash 4 digit year"
|
| 3312 |
msgstr ""
|
| 3313 |
|
| 3314 |
-
#: src/Tribe/Main.php:
|
| 3315 |
msgid "1 digit month hyphen 1 digit day hyphen 4 digit year"
|
| 3316 |
msgstr ""
|
| 3317 |
|
| 3318 |
-
#: src/Tribe/Main.php:
|
| 3319 |
msgid "1 digit month hyphen 2 digit day hyphen 4 digit year"
|
| 3320 |
msgstr ""
|
| 3321 |
|
| 3322 |
-
#: src/Tribe/Main.php:
|
| 3323 |
msgid "1 digit day hyphen 1 digit month hyphen 4 digit year"
|
| 3324 |
msgstr ""
|
| 3325 |
|
| 3326 |
-
#: src/Tribe/Main.php:
|
| 3327 |
msgid "2 digit day hyphen 2 digit month hyphen 4 digit year"
|
| 3328 |
msgstr ""
|
| 3329 |
|
| 3330 |
-
#: src/Tribe/Main.php:
|
| 3331 |
msgid "4 digit year dot 2 digit month dot 2 digit day"
|
| 3332 |
msgstr ""
|
| 3333 |
|
| 3334 |
-
#: src/Tribe/Main.php:
|
| 3335 |
msgid "2 digit month dot 2 digit day dot 4 digit year"
|
| 3336 |
msgstr ""
|
| 3337 |
|
| 3338 |
-
#: src/Tribe/Main.php:
|
| 3339 |
msgid "2 digit day dot 2 digit month dot 4 digit year"
|
| 3340 |
msgstr ""
|
| 3341 |
|
| 3342 |
-
#: src/Tribe/Main.php:
|
| 3343 |
msgid "4 digit year hyphen 2 digit month"
|
| 3344 |
msgstr ""
|
| 3345 |
|
| 3346 |
-
#: src/Tribe/Main.php:
|
| 3347 |
msgid "1 digit month slash 4 digit year"
|
| 3348 |
msgstr ""
|
| 3349 |
|
| 3350 |
-
#: src/Tribe/Main.php:
|
| 3351 |
msgid "2 digit month slash 4 digit year"
|
| 3352 |
msgstr ""
|
| 3353 |
|
| 3354 |
-
#: src/Tribe/Main.php:
|
| 3355 |
msgid "1 digit month hyphen 4 digit year"
|
| 3356 |
msgstr ""
|
| 3357 |
|
| 3358 |
-
#: src/Tribe/Main.php:
|
| 3359 |
msgid "2 digit month hyphen 4 digit year"
|
| 3360 |
msgstr ""
|
| 3361 |
|
| 3362 |
-
#: src/Tribe/Main.php:
|
| 3363 |
msgid "4 digit year dot 2 digit month"
|
| 3364 |
msgstr ""
|
| 3365 |
|
| 3366 |
-
#: src/Tribe/Main.php:
|
| 3367 |
msgid "2 digit month dot 4 digit year"
|
| 3368 |
msgstr ""
|
| 3369 |
|
| 3370 |
-
#: src/Tribe/Main.php:
|
| 3371 |
#: src/admin-views/aggregator/origins/refine.php:7
|
| 3372 |
msgid "Date"
|
| 3373 |
msgstr ""
|
| 3374 |
|
| 3375 |
-
#: src/Tribe/Main.php:
|
| 3376 |
msgid "Search for %s by Date. Please use the format %s."
|
| 3377 |
msgstr ""
|
| 3378 |
|
| 3379 |
-
#: src/Tribe/Main.php:
|
| 3380 |
msgid "%s In"
|
| 3381 |
msgstr ""
|
| 3382 |
|
| 3383 |
-
#: src/Tribe/Main.php:
|
| 3384 |
msgid "Search for %s by month. Please use the format %s."
|
| 3385 |
msgstr ""
|
| 3386 |
|
| 3387 |
-
#: src/Tribe/Main.php:
|
| 3388 |
msgid "%s From"
|
| 3389 |
msgstr ""
|
| 3390 |
|
| 3391 |
-
#: src/Tribe/Main.php:
|
| 3392 |
msgid "Day Of"
|
| 3393 |
msgstr ""
|
| 3394 |
|
| 3395 |
-
#: src/Tribe/Main.php:
|
| 3396 |
msgid "Once Every 30 Mins"
|
| 3397 |
msgstr ""
|
| 3398 |
|
| 3399 |
-
#: src/Tribe/Main.php:
|
| 3400 |
msgid ""
|
| 3401 |
"Your version of The Events Calendar is not up-to-date with one of your The "
|
| 3402 |
"Events Calendar add-ons. Please %supdate now.%s"
|
| 3403 |
msgstr ""
|
| 3404 |
|
| 3405 |
-
#: src/Tribe/Main.php:
|
| 3406 |
msgid ""
|
| 3407 |
"The following plugins are out of date: %1$s. All add-ons contain "
|
| 3408 |
"dependencies on The Events Calendar and will not function properly unless "
|
| 3409 |
"paired with the right version. %2$sLearn More%3$s."
|
| 3410 |
msgstr ""
|
| 3411 |
|
| 3412 |
-
#: src/Tribe/Main.php:
|
| 3413 |
msgid "Use Saved %s:"
|
| 3414 |
msgstr ""
|
| 3415 |
|
|
@@ -5129,29 +5129,29 @@ msgstr ""
|
|
| 5129 |
msgid "Custom Color"
|
| 5130 |
msgstr ""
|
| 5131 |
|
| 5132 |
-
#: src/Tribe/Views/V2/Hooks.php:
|
| 5133 |
msgid "We recommend a 16:9 aspect ratio for featured images."
|
| 5134 |
msgstr ""
|
| 5135 |
|
| 5136 |
-
#: src/Tribe/Views/V2/Hooks.php:
|
| 5137 |
msgid "Recommended for all sites using the updated calendar views."
|
| 5138 |
msgstr ""
|
| 5139 |
|
| 5140 |
-
#: src/Tribe/Views/V2/Hooks.php:
|
| 5141 |
msgid "The Events Calendar - View V2"
|
| 5142 |
msgstr ""
|
| 5143 |
|
| 5144 |
-
#: src/Tribe/Views/V2/Hooks.php:
|
| 5145 |
msgctxt "Capitalized label for the event website link."
|
| 5146 |
msgid "View %s Website"
|
| 5147 |
msgstr ""
|
| 5148 |
|
| 5149 |
-
#: src/Tribe/Views/V2/Hooks.php:
|
| 5150 |
msgctxt "Capitalized label for the venue website link."
|
| 5151 |
msgid "View %s Website"
|
| 5152 |
msgstr ""
|
| 5153 |
|
| 5154 |
-
#: src/Tribe/Views/V2/Hooks.php:
|
| 5155 |
msgctxt "Capitalized label for the organizer website link."
|
| 5156 |
msgid "View %s Website"
|
| 5157 |
msgstr ""
|
|
@@ -5203,28 +5203,28 @@ msgctxt "featured events title"
|
|
| 5203 |
msgid "Featured %s"
|
| 5204 |
msgstr ""
|
| 5205 |
|
| 5206 |
-
#: src/Tribe/Views/V2/Template/Title.php:
|
| 5207 |
#: src/functions/template-tags/loop.php:187
|
| 5208 |
msgid "Upcoming %s"
|
| 5209 |
msgstr ""
|
| 5210 |
|
| 5211 |
-
#: src/Tribe/Views/V2/Template/Title.php:
|
| 5212 |
#: src/functions/template-tags/loop.php:204
|
| 5213 |
msgid "Past %s"
|
| 5214 |
msgstr ""
|
| 5215 |
|
| 5216 |
-
#: src/Tribe/Views/V2/Template/Title.php:
|
| 5217 |
#: src/functions/template-tags/loop.php:202
|
| 5218 |
msgid "%1$s for %2$s - %3$s"
|
| 5219 |
msgstr ""
|
| 5220 |
|
| 5221 |
-
#: src/Tribe/Views/V2/Template/Title.php:
|
| 5222 |
#: src/functions/template-tags/loop.php:209
|
| 5223 |
msgctxt "month view"
|
| 5224 |
msgid "%1$s for %2$s"
|
| 5225 |
msgstr ""
|
| 5226 |
|
| 5227 |
-
#: src/Tribe/Views/V2/Template/Title.php:
|
| 5228 |
#: src/functions/template-tags/loop.php:218
|
| 5229 |
msgctxt "day_view"
|
| 5230 |
msgid "%1$s for %2$s"
|
|
@@ -5341,7 +5341,7 @@ msgctxt "The label for the option to enable JSON-LD in the List Widget."
|
|
| 5341 |
msgid "Generate JSON-LD data"
|
| 5342 |
msgstr ""
|
| 5343 |
|
| 5344 |
-
#: src/Tribe/Views/V2/iCalendar/Links/iCalendar_Export.php:
|
| 5345 |
msgid "Export .ics file"
|
| 5346 |
msgstr ""
|
| 5347 |
|
| 1 |
+
# Copyright (C) 2022 Modern Tribe
|
| 2 |
# This file is distributed under the same license as the The Events Calendar package.
|
| 3 |
msgid ""
|
| 4 |
msgstr ""
|
| 5 |
+
"Project-Id-Version: The Events Calendar 5.12.3\n"
|
| 6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/the-events-"
|
| 7 |
"calendar\n"
|
| 8 |
+
"POT-Creation-Date: 2022-01-07 06:37:40+00:00\n"
|
| 9 |
"MIME-Version: 1.0\n"
|
| 10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
| 11 |
"Content-Transfer-Encoding: 8bit\n"
|
| 12 |
+
"PO-Revision-Date: 2022-01-07 06:37\n"
|
| 13 |
"Last-Translator: \n"
|
| 14 |
"Language-Team: \n"
|
| 15 |
|
| 47 |
msgid "%s"
|
| 48 |
msgstr ""
|
| 49 |
|
| 50 |
+
#: src/Tribe/Admin/Bar/Default_Configurator.php:45 src/Tribe/Main.php:4382
|
| 51 |
#: src/Tribe/Views/V2/Views/Widgets/Widget_View.php:61
|
| 52 |
#: src/admin-views/tribe-options-upgrade.php:20
|
| 53 |
msgid "View Calendar"
|
| 59 |
|
| 60 |
#: src/Tribe/Admin/Bar/Default_Configurator.php:62
|
| 61 |
#: src/Tribe/Linked_Posts/Chooser_Meta_Box.php:211 src/Tribe/Main.php:2147
|
| 62 |
+
#: src/Tribe/Main.php:5490 src/Tribe/Main.php:5537 src/Tribe/Organizer.php:93
|
| 63 |
#: src/Tribe/Venue.php:113
|
| 64 |
msgid "Edit %s"
|
| 65 |
msgstr ""
|
| 70 |
msgid "Import"
|
| 71 |
msgstr ""
|
| 72 |
|
| 73 |
+
#: src/Tribe/Admin/Bar/Default_Configurator.php:89 src/Tribe/Main.php:4430
|
| 74 |
msgid "Settings"
|
| 75 |
msgstr ""
|
| 76 |
|
| 187 |
|
| 188 |
#: src/Tribe/Aggregator/API/Origins.php:53
|
| 189 |
#: src/Tribe/Aggregator/Record/iCal.php:14
|
| 190 |
+
#: src/Tribe/Views/V2/iCalendar/Links/iCal.php:29
|
| 191 |
#: src/admin-views/aggregator/settings.php:613
|
| 192 |
msgid "iCalendar"
|
| 193 |
msgstr ""
|
| 2087 |
|
| 2088 |
#: src/Tribe/Editor/Blocks/Event_Links.php:25
|
| 2089 |
#: src/Tribe/Views/V2/iCalendar/Links/Google_Calendar.php:32
|
| 2090 |
+
#: src/Tribe/iCal.php:132 src/views/blocks/event-links.php:48
|
| 2091 |
msgid "Add to Google Calendar"
|
| 2092 |
msgstr ""
|
| 2093 |
|
| 2094 |
#: src/Tribe/Editor/Blocks/Event_Links.php:26
|
| 2095 |
+
#: src/Tribe/Views/V2/iCalendar/Links/iCal.php:30 src/Tribe/iCal.php:133
|
| 2096 |
+
#: src/views/blocks/event-links.php:60
|
| 2097 |
msgid "Add to iCalendar"
|
| 2098 |
msgstr ""
|
| 2099 |
|
| 2759 |
msgid "Upcoming Events"
|
| 2760 |
msgstr ""
|
| 2761 |
|
| 2762 |
+
#. #-#-#-#-# the-events-calendar.pot (The Events Calendar 5.12.3) #-#-#-#-#
|
| 2763 |
#. Plugin Name of the plugin/theme
|
| 2764 |
+
#. #-#-#-#-# the-events-calendar.pot (The Events Calendar 5.12.3) #-#-#-#-#
|
| 2765 |
#. Author of the plugin/theme
|
| 2766 |
#: src/Tribe/Main.php:989 src/Tribe/Main.php:1492 src/Tribe/Privacy.php:29
|
| 2767 |
#: src/admin-views/admin-welcome-message.php:29
|
| 3015 |
"should be in the \"common/\" directory in the events calendar plugin."
|
| 3016 |
msgstr ""
|
| 3017 |
|
| 3018 |
+
#: src/Tribe/Main.php:2093 src/Tribe/Main.php:2645
|
| 3019 |
msgid "category"
|
| 3020 |
msgstr ""
|
| 3021 |
|
| 3022 |
+
#: src/Tribe/Main.php:2107 src/Tribe/Main.php:2644
|
| 3023 |
msgid "tag"
|
| 3024 |
msgstr ""
|
| 3025 |
|
| 3201 |
"Snippet%s on the search results."
|
| 3202 |
msgstr ""
|
| 3203 |
|
| 3204 |
+
#: src/Tribe/Main.php:2646
|
| 3205 |
msgid "page"
|
| 3206 |
msgstr ""
|
| 3207 |
|
| 3208 |
+
#: src/Tribe/Main.php:2647 src/functions/template-tags/general.php:104
|
| 3209 |
msgid "event"
|
| 3210 |
msgstr ""
|
| 3211 |
|
| 3212 |
+
#: src/Tribe/Main.php:2648 src/functions/template-tags/general.php:160
|
| 3213 |
msgid "events"
|
| 3214 |
msgstr ""
|
| 3215 |
|
| 3216 |
+
#: src/Tribe/Main.php:2649
|
| 3217 |
msgid "all"
|
| 3218 |
msgstr ""
|
| 3219 |
|
| 3220 |
+
#: src/Tribe/Main.php:3035
|
| 3221 |
msgid " (View Full %1$s Description Here: %2$s)"
|
| 3222 |
msgstr ""
|
| 3223 |
|
| 3224 |
+
#: src/Tribe/Main.php:3823 src/Tribe/Main.php:3858
|
| 3225 |
#: src/functions/template-tags/day.php:157
|
| 3226 |
#: src/functions/template-tags/day.php:178
|
| 3227 |
msgid "Date out of range."
|
| 3228 |
msgstr ""
|
| 3229 |
|
| 3230 |
+
#: src/Tribe/Main.php:3900
|
| 3231 |
msgid "%s Options"
|
| 3232 |
msgstr ""
|
| 3233 |
|
| 3234 |
+
#: src/Tribe/Main.php:3909 src/Tribe/Main.php:3922
|
| 3235 |
msgid "%s Information"
|
| 3236 |
msgstr ""
|
| 3237 |
|
| 3238 |
+
#: src/Tribe/Main.php:4254
|
| 3239 |
msgid "Support"
|
| 3240 |
msgstr ""
|
| 3241 |
|
| 3242 |
+
#: src/Tribe/Main.php:4257
|
| 3243 |
msgid "View All Add-Ons"
|
| 3244 |
msgstr ""
|
| 3245 |
|
| 3246 |
+
#: src/Tribe/Main.php:4278
|
| 3247 |
msgid "News from The Events Calendar"
|
| 3248 |
msgstr ""
|
| 3249 |
|
| 3250 |
+
#: src/Tribe/Main.php:4324
|
| 3251 |
msgid "Additional Functionality"
|
| 3252 |
msgstr ""
|
| 3253 |
|
| 3254 |
+
#: src/Tribe/Main.php:4329
|
| 3255 |
msgid ""
|
| 3256 |
"Looking for additional functionality including recurring events, ticket "
|
| 3257 |
"sales, publicly submitted events, new views and more?"
|
| 3258 |
msgstr ""
|
| 3259 |
|
| 3260 |
+
#: src/Tribe/Main.php:4330
|
| 3261 |
msgid "Check out the %savailable add-ons%s."
|
| 3262 |
msgstr ""
|
| 3263 |
|
| 3264 |
+
#: src/Tribe/Main.php:4431
|
| 3265 |
msgid "Calendar"
|
| 3266 |
msgstr ""
|
| 3267 |
|
| 3268 |
+
#: src/Tribe/Main.php:4447
|
| 3269 |
msgid "List"
|
| 3270 |
msgstr ""
|
| 3271 |
|
| 3272 |
+
#: src/Tribe/Main.php:4465
|
| 3273 |
msgid "Month"
|
| 3274 |
msgstr ""
|
| 3275 |
|
| 3276 |
+
#: src/Tribe/Main.php:4482 src/admin-views/aggregator/fields/schedule.php:43
|
| 3277 |
#: src/admin-views/aggregator/fields/schedule.php:61
|
| 3278 |
msgid "Day"
|
| 3279 |
msgstr ""
|
| 3280 |
|
| 3281 |
+
#: src/Tribe/Main.php:4505
|
| 3282 |
msgid "Search for %s by Keyword."
|
| 3283 |
msgstr ""
|
| 3284 |
|
| 3285 |
+
#: src/Tribe/Main.php:4508
|
| 3286 |
#: src/views/v2/components/events-bar/search-button.php:24
|
| 3287 |
msgid "Search"
|
| 3288 |
msgstr ""
|
| 3289 |
|
| 3290 |
+
#: src/Tribe/Main.php:4509
|
| 3291 |
msgid "Keyword"
|
| 3292 |
msgstr ""
|
| 3293 |
|
| 3294 |
+
#: src/Tribe/Main.php:4526
|
| 3295 |
msgid "4 digit year hyphen 2 digit month hyphen 2 digit day"
|
| 3296 |
msgstr ""
|
| 3297 |
|
| 3298 |
+
#: src/Tribe/Main.php:4527
|
| 3299 |
msgid "1 digit month slash 1 digit day slash 4 digit year"
|
| 3300 |
msgstr ""
|
| 3301 |
|
| 3302 |
+
#: src/Tribe/Main.php:4528
|
| 3303 |
msgid "2 digit month slash 2 digit day slash 4 digit year"
|
| 3304 |
msgstr ""
|
| 3305 |
|
| 3306 |
+
#: src/Tribe/Main.php:4529
|
| 3307 |
msgid "1 digit day slash 1 digit month slash 4 digit year"
|
| 3308 |
msgstr ""
|
| 3309 |
|
| 3310 |
+
#: src/Tribe/Main.php:4530
|
| 3311 |
msgid "2 digit day slash 2 digit month slash 4 digit year"
|
| 3312 |
msgstr ""
|
| 3313 |
|
| 3314 |
+
#: src/Tribe/Main.php:4531
|
| 3315 |
msgid "1 digit month hyphen 1 digit day hyphen 4 digit year"
|
| 3316 |
msgstr ""
|
| 3317 |
|
| 3318 |
+
#: src/Tribe/Main.php:4532
|
| 3319 |
msgid "1 digit month hyphen 2 digit day hyphen 4 digit year"
|
| 3320 |
msgstr ""
|
| 3321 |
|
| 3322 |
+
#: src/Tribe/Main.php:4533
|
| 3323 |
msgid "1 digit day hyphen 1 digit month hyphen 4 digit year"
|
| 3324 |
msgstr ""
|
| 3325 |
|
| 3326 |
+
#: src/Tribe/Main.php:4534
|
| 3327 |
msgid "2 digit day hyphen 2 digit month hyphen 4 digit year"
|
| 3328 |
msgstr ""
|
| 3329 |
|
| 3330 |
+
#: src/Tribe/Main.php:4535
|
| 3331 |
msgid "4 digit year dot 2 digit month dot 2 digit day"
|
| 3332 |
msgstr ""
|
| 3333 |
|
| 3334 |
+
#: src/Tribe/Main.php:4536
|
| 3335 |
msgid "2 digit month dot 2 digit day dot 4 digit year"
|
| 3336 |
msgstr ""
|
| 3337 |
|
| 3338 |
+
#: src/Tribe/Main.php:4537
|
| 3339 |
msgid "2 digit day dot 2 digit month dot 4 digit year"
|
| 3340 |
msgstr ""
|
| 3341 |
|
| 3342 |
+
#: src/Tribe/Main.php:4541
|
| 3343 |
msgid "4 digit year hyphen 2 digit month"
|
| 3344 |
msgstr ""
|
| 3345 |
|
| 3346 |
+
#: src/Tribe/Main.php:4542 src/Tribe/Main.php:4544
|
| 3347 |
msgid "1 digit month slash 4 digit year"
|
| 3348 |
msgstr ""
|
| 3349 |
|
| 3350 |
+
#: src/Tribe/Main.php:4543 src/Tribe/Main.php:4545
|
| 3351 |
msgid "2 digit month slash 4 digit year"
|
| 3352 |
msgstr ""
|
| 3353 |
|
| 3354 |
+
#: src/Tribe/Main.php:4546 src/Tribe/Main.php:4547 src/Tribe/Main.php:4548
|
| 3355 |
msgid "1 digit month hyphen 4 digit year"
|
| 3356 |
msgstr ""
|
| 3357 |
|
| 3358 |
+
#: src/Tribe/Main.php:4549
|
| 3359 |
msgid "2 digit month hyphen 4 digit year"
|
| 3360 |
msgstr ""
|
| 3361 |
|
| 3362 |
+
#: src/Tribe/Main.php:4550
|
| 3363 |
msgid "4 digit year dot 2 digit month"
|
| 3364 |
msgstr ""
|
| 3365 |
|
| 3366 |
+
#: src/Tribe/Main.php:4551 src/Tribe/Main.php:4552
|
| 3367 |
msgid "2 digit month dot 4 digit year"
|
| 3368 |
msgstr ""
|
| 3369 |
|
| 3370 |
+
#: src/Tribe/Main.php:4581 src/Tribe/Main.php:4618
|
| 3371 |
#: src/admin-views/aggregator/origins/refine.php:7
|
| 3372 |
msgid "Date"
|
| 3373 |
msgstr ""
|
| 3374 |
|
| 3375 |
+
#: src/Tribe/Main.php:4583
|
| 3376 |
msgid "Search for %s by Date. Please use the format %s."
|
| 3377 |
msgstr ""
|
| 3378 |
|
| 3379 |
+
#: src/Tribe/Main.php:4596
|
| 3380 |
msgid "%s In"
|
| 3381 |
msgstr ""
|
| 3382 |
|
| 3383 |
+
#: src/Tribe/Main.php:4598
|
| 3384 |
msgid "Search for %s by month. Please use the format %s."
|
| 3385 |
msgstr ""
|
| 3386 |
|
| 3387 |
+
#: src/Tribe/Main.php:4601
|
| 3388 |
msgid "%s From"
|
| 3389 |
msgstr ""
|
| 3390 |
|
| 3391 |
+
#: src/Tribe/Main.php:4604
|
| 3392 |
msgid "Day Of"
|
| 3393 |
msgstr ""
|
| 3394 |
|
| 3395 |
+
#: src/Tribe/Main.php:4684
|
| 3396 |
msgid "Once Every 30 Mins"
|
| 3397 |
msgstr ""
|
| 3398 |
|
| 3399 |
+
#: src/Tribe/Main.php:5422
|
| 3400 |
msgid ""
|
| 3401 |
"Your version of The Events Calendar is not up-to-date with one of your The "
|
| 3402 |
"Events Calendar add-ons. Please %supdate now.%s"
|
| 3403 |
msgstr ""
|
| 3404 |
|
| 3405 |
+
#: src/Tribe/Main.php:5435
|
| 3406 |
msgid ""
|
| 3407 |
"The following plugins are out of date: %1$s. All add-ons contain "
|
| 3408 |
"dependencies on The Events Calendar and will not function properly unless "
|
| 3409 |
"paired with the right version. %2$sLearn More%3$s."
|
| 3410 |
msgstr ""
|
| 3411 |
|
| 3412 |
+
#: src/Tribe/Main.php:5474 src/Tribe/Main.php:5531
|
| 3413 |
msgid "Use Saved %s:"
|
| 3414 |
msgstr ""
|
| 3415 |
|
| 5129 |
msgid "Custom Color"
|
| 5130 |
msgstr ""
|
| 5131 |
|
| 5132 |
+
#: src/Tribe/Views/V2/Hooks.php:508
|
| 5133 |
msgid "We recommend a 16:9 aspect ratio for featured images."
|
| 5134 |
msgstr ""
|
| 5135 |
|
| 5136 |
+
#: src/Tribe/Views/V2/Hooks.php:585
|
| 5137 |
msgid "Recommended for all sites using the updated calendar views."
|
| 5138 |
msgstr ""
|
| 5139 |
|
| 5140 |
+
#: src/Tribe/Views/V2/Hooks.php:600
|
| 5141 |
msgid "The Events Calendar - View V2"
|
| 5142 |
msgstr ""
|
| 5143 |
|
| 5144 |
+
#: src/Tribe/Views/V2/Hooks.php:881
|
| 5145 |
msgctxt "Capitalized label for the event website link."
|
| 5146 |
msgid "View %s Website"
|
| 5147 |
msgstr ""
|
| 5148 |
|
| 5149 |
+
#: src/Tribe/Views/V2/Hooks.php:909
|
| 5150 |
msgctxt "Capitalized label for the venue website link."
|
| 5151 |
msgid "View %s Website"
|
| 5152 |
msgstr ""
|
| 5153 |
|
| 5154 |
+
#: src/Tribe/Views/V2/Hooks.php:937
|
| 5155 |
msgctxt "Capitalized label for the organizer website link."
|
| 5156 |
msgid "View %s Website"
|
| 5157 |
msgstr ""
|
| 5203 |
msgid "Featured %s"
|
| 5204 |
msgstr ""
|
| 5205 |
|
| 5206 |
+
#: src/Tribe/Views/V2/Template/Title.php:123
|
| 5207 |
#: src/functions/template-tags/loop.php:187
|
| 5208 |
msgid "Upcoming %s"
|
| 5209 |
msgstr ""
|
| 5210 |
|
| 5211 |
+
#: src/Tribe/Views/V2/Template/Title.php:133
|
| 5212 |
#: src/functions/template-tags/loop.php:204
|
| 5213 |
msgid "Past %s"
|
| 5214 |
msgstr ""
|
| 5215 |
|
| 5216 |
+
#: src/Tribe/Views/V2/Template/Title.php:217
|
| 5217 |
#: src/functions/template-tags/loop.php:202
|
| 5218 |
msgid "%1$s for %2$s - %3$s"
|
| 5219 |
msgstr ""
|
| 5220 |
|
| 5221 |
+
#: src/Tribe/Views/V2/Template/Title.php:318
|
| 5222 |
#: src/functions/template-tags/loop.php:209
|
| 5223 |
msgctxt "month view"
|
| 5224 |
msgid "%1$s for %2$s"
|
| 5225 |
msgstr ""
|
| 5226 |
|
| 5227 |
+
#: src/Tribe/Views/V2/Template/Title.php:345
|
| 5228 |
#: src/functions/template-tags/loop.php:218
|
| 5229 |
msgctxt "day_view"
|
| 5230 |
msgid "%1$s for %2$s"
|
| 5341 |
msgid "Generate JSON-LD data"
|
| 5342 |
msgstr ""
|
| 5343 |
|
| 5344 |
+
#: src/Tribe/Views/V2/iCalendar/Links/iCalendar_Export.php:30
|
| 5345 |
msgid "Export .ics file"
|
| 5346 |
msgstr ""
|
| 5347 |
|
readme.txt
CHANGED
|
@@ -4,8 +4,8 @@ Contributors: theeventscalendar, borkweb, bordoni, brianjessee, aguseo, camwynsp
|
|
| 4 |
Tags: events, calendar, event, schedule, organizer
|
| 5 |
Donate link: https://evnt.is/29
|
| 6 |
Requires at least: 5.6
|
| 7 |
-
Stable tag: 5.12.
|
| 8 |
-
Tested up to: 5.8.
|
| 9 |
Requires PHP: 7.1
|
| 10 |
License: GPLv2 or later
|
| 11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
|
@@ -221,9 +221,19 @@ Remember to always make a backup of your database and files before updating!
|
|
| 221 |
|
| 222 |
== Changelog ==
|
| 223 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 224 |
= [5.12.2] 2021-12-20 =
|
| 225 |
|
| 226 |
-
* Fix - Remove
|
| 227 |
* Fix - Prevent infinite loops in the block editor when including the links block. [TEC-4190]
|
| 228 |
* Fix - Initial steps to make The Events Calendar compatible with PHP 8.1
|
| 229 |
|
| 4 |
Tags: events, calendar, event, schedule, organizer
|
| 5 |
Donate link: https://evnt.is/29
|
| 6 |
Requires at least: 5.6
|
| 7 |
+
Stable tag: 5.12.3
|
| 8 |
+
Tested up to: 5.8.3
|
| 9 |
Requires PHP: 7.1
|
| 10 |
License: GPLv2 or later
|
| 11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 221 |
|
| 222 |
== Changelog ==
|
| 223 |
|
| 224 |
+
= [5.12.3] 2022-01-10 =
|
| 225 |
+
|
| 226 |
+
* Version - The Events Calendar 5.12.3 is only compatible with Events Calendar PRO 5.11.2 and higher
|
| 227 |
+
* Fix - Ensure the modifications made through the `tribe_events_views_v2_category_title` are respected. [TEC-4110]
|
| 228 |
+
* Fix - Correct issue where mobile default view does not load correctly when homepage set to Events Main. [TEC-3826]
|
| 229 |
+
* Tweak - Boost SEO for category archive pages by fixing the title tag. [TEC-4110]
|
| 230 |
+
* Tweak - Add filter to allow users to choose if the taxonomy should show parent categories [TEC-4110]
|
| 231 |
+
* Tweak - Move handling of mobile view to ECP. Add filter to allow overriding default view. [TEC-3826]
|
| 232 |
+
* Language - 0 new strings added, 71 updated, 0 fuzzied, and 0 obsoleted
|
| 233 |
+
|
| 234 |
= [5.12.2] 2021-12-20 =
|
| 235 |
|
| 236 |
+
* Fix - Remove trailing comma that can cause fatals on older versions of PHP. [FBAR-252]
|
| 237 |
* Fix - Prevent infinite loops in the block editor when including the links block. [TEC-4190]
|
| 238 |
* Fix - Initial steps to make The Events Calendar compatible with PHP 8.1
|
| 239 |
|
src/Tribe/Main.php
CHANGED
|
@@ -32,7 +32,7 @@ if ( ! class_exists( 'Tribe__Events__Main' ) ) {
|
|
| 32 |
const VENUE_POST_TYPE = 'tribe_venue';
|
| 33 |
const ORGANIZER_POST_TYPE = 'tribe_organizer';
|
| 34 |
|
| 35 |
-
const VERSION = '5.12.
|
| 36 |
|
| 37 |
/**
|
| 38 |
* Min Pro Addon
|
|
@@ -2591,27 +2591,45 @@ if ( ! class_exists( 'Tribe__Events__Main' ) ) {
|
|
| 2591 |
* This can be useful is for instance a view added by another plugin (such as PRO) is
|
| 2592 |
* stored as the default but can no longer be generated due to the plugin being deactivated.
|
| 2593 |
*
|
| 2594 |
-
* @
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2595 |
*/
|
| 2596 |
public function default_view() {
|
| 2597 |
// Compare the stored default view option to the list of available views
|
| 2598 |
-
$default
|
| 2599 |
-
$available_views = (array) apply_filters( 'tribe-events-bar-views', [], false );
|
| 2600 |
|
| 2601 |
-
|
| 2602 |
-
|
| 2603 |
-
|
| 2604 |
-
|
| 2605 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2606 |
|
| 2607 |
-
|
| 2608 |
-
$first_view = array_shift( $available_views );
|
| 2609 |
-
$view = $first_view['displaying'];
|
| 2610 |
|
| 2611 |
-
//
|
| 2612 |
-
|
|
|
|
|
|
|
| 2613 |
|
| 2614 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2615 |
}
|
| 2616 |
|
| 2617 |
public function setup_l10n_strings() {
|
| 32 |
const VENUE_POST_TYPE = 'tribe_venue';
|
| 33 |
const ORGANIZER_POST_TYPE = 'tribe_organizer';
|
| 34 |
|
| 35 |
+
const VERSION = '5.12.3';
|
| 36 |
|
| 37 |
/**
|
| 38 |
* Min Pro Addon
|
| 2591 |
* This can be useful is for instance a view added by another plugin (such as PRO) is
|
| 2592 |
* stored as the default but can no longer be generated due to the plugin being deactivated.
|
| 2593 |
*
|
| 2594 |
+
* @since 3.3
|
| 2595 |
+
* @since 5.12.3 - Add a filter to the default view determination.
|
| 2596 |
+
*
|
| 2597 |
+
* @todo Once we deprecate v1, this should use the slug from Tribe\Events\Views\V2\Views\Month_View instead of the string 'month'.
|
| 2598 |
+
*
|
| 2599 |
+
* @return string $view The slug of the default view.
|
| 2600 |
*/
|
| 2601 |
public function default_view() {
|
| 2602 |
// Compare the stored default view option to the list of available views
|
| 2603 |
+
$default = Tribe__Settings_Manager::instance()->get_option( 'viewOption', 'month' );
|
|
|
|
| 2604 |
|
| 2605 |
+
/**
|
| 2606 |
+
* Allows other plugins (and v2 views) to hook in and alter the available views.
|
| 2607 |
+
*
|
| 2608 |
+
* @since 3.3
|
| 2609 |
+
*
|
| 2610 |
+
* @param array $available_views The array of available views.
|
| 2611 |
+
* @param bool $visible Should the array only list the "visible" views - enabled in settings
|
| 2612 |
+
* @see $this->remove_hidden_views() for use of the second param.
|
| 2613 |
+
*/
|
| 2614 |
+
$available_views = (array) apply_filters( 'tribe-events-bar-views', [], false );
|
| 2615 |
|
| 2616 |
+
$available_view_slugs = wp_list_pluck( $available_views, 'displaying' );
|
|
|
|
|
|
|
| 2617 |
|
| 2618 |
+
// If the saved view is not available, set the default view to month.
|
| 2619 |
+
if ( ! in_array( $default, $available_view_slugs ) ) {
|
| 2620 |
+
$default = 'month';
|
| 2621 |
+
}
|
| 2622 |
|
| 2623 |
+
/**
|
| 2624 |
+
* Allows other plugins (and v2 views) to hook in and alter the default view determined here.
|
| 2625 |
+
*
|
| 2626 |
+
* @since 5.12.3
|
| 2627 |
+
*
|
| 2628 |
+
* @param string $default The slug of the default view.
|
| 2629 |
+
* @param string|null $type The type of default View to return, either 'desktop' or 'mobile'.
|
| 2630 |
+
* @see Tribe\Events\Views\V2\Manager get_default_view_option()
|
| 2631 |
+
*/
|
| 2632 |
+
return apply_filters( 'tec_events_default_view', $default, null );
|
| 2633 |
}
|
| 2634 |
|
| 2635 |
public function setup_l10n_strings() {
|
src/Tribe/Plugin_Register.php
CHANGED
|
@@ -6,7 +6,7 @@ class Tribe__Events__Plugin_Register extends Tribe__Abstract_Plugin_Register {
|
|
| 6 |
protected $main_class = 'Tribe__Events__Main';
|
| 7 |
protected $dependencies = [
|
| 8 |
'addon-dependencies' => [
|
| 9 |
-
'Tribe__Events__Pro__Main' => '5.11.
|
| 10 |
'Tribe__Events__Filterbar__View' => '5.2.0-dev',
|
| 11 |
'Tribe__Events__Tickets__Eventbrite__Main' => '4.6-dev',
|
| 12 |
'Tribe__Events__Community__Main' => '4.8.0-dev',
|
|
@@ -20,4 +20,4 @@ class Tribe__Events__Plugin_Register extends Tribe__Abstract_Plugin_Register {
|
|
| 20 |
|
| 21 |
$this->register_plugin();
|
| 22 |
}
|
| 23 |
-
}
|
| 6 |
protected $main_class = 'Tribe__Events__Main';
|
| 7 |
protected $dependencies = [
|
| 8 |
'addon-dependencies' => [
|
| 9 |
+
'Tribe__Events__Pro__Main' => '5.11.2-dev',
|
| 10 |
'Tribe__Events__Filterbar__View' => '5.2.0-dev',
|
| 11 |
'Tribe__Events__Tickets__Eventbrite__Main' => '4.6-dev',
|
| 12 |
'Tribe__Events__Community__Main' => '4.8.0-dev',
|
| 20 |
|
| 21 |
$this->register_plugin();
|
| 22 |
}
|
| 23 |
+
}
|
src/Tribe/Query.php
CHANGED
|
@@ -167,7 +167,18 @@ if ( ! class_exists( 'Tribe__Events__Query' ) ) {
|
|
| 167 |
: false;
|
| 168 |
|
| 169 |
if ( 'default' === $query->get( 'eventDisplay' ) ) {
|
| 170 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 171 |
}
|
| 172 |
|
| 173 |
// check if any possibility of this being an event category
|
| 167 |
: false;
|
| 168 |
|
| 169 |
if ( 'default' === $query->get( 'eventDisplay' ) ) {
|
| 170 |
+
$default_view = Tribe__Events__Main::instance()->default_view();
|
| 171 |
+
|
| 172 |
+
/**
|
| 173 |
+
* Allows other plugins (and v2 views) to hook in and alter this before we change the query.
|
| 174 |
+
*
|
| 175 |
+
* @since 5.12.3
|
| 176 |
+
*
|
| 177 |
+
* @param string $default_view The slug of the default view to pass to the query.
|
| 178 |
+
*/
|
| 179 |
+
$default_view = apply_filters( 'tec_events_query_default_view', $default_view );
|
| 180 |
+
|
| 181 |
+
$query->set( 'eventDisplay', $default_view );
|
| 182 |
}
|
| 183 |
|
| 184 |
// check if any possibility of this being an event category
|
src/Tribe/Views/V2/Hooks.php
CHANGED
|
@@ -134,6 +134,8 @@ class Hooks extends \tad_DI52_ServiceProvider {
|
|
| 134 |
|
| 135 |
// iCalendar export request handling.
|
| 136 |
add_filter( 'tribe_ical_template_event_ids', [ $this, 'inject_ical_event_ids' ] );
|
|
|
|
|
|
|
| 137 |
}
|
| 138 |
|
| 139 |
/**
|
|
@@ -941,6 +943,10 @@ class Hooks extends \tad_DI52_ServiceProvider {
|
|
| 941 |
);
|
| 942 |
}
|
| 943 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 944 |
/**
|
| 945 |
* Sugar function for the above that determines if the labels should be filtered.
|
| 946 |
*
|
| 134 |
|
| 135 |
// iCalendar export request handling.
|
| 136 |
add_filter( 'tribe_ical_template_event_ids', [ $this, 'inject_ical_event_ids' ] );
|
| 137 |
+
|
| 138 |
+
add_filter( 'tec_events_query_default_view', [ $this, 'filter_tec_events_query_default_view' ] );
|
| 139 |
}
|
| 140 |
|
| 141 |
/**
|
| 943 |
);
|
| 944 |
}
|
| 945 |
|
| 946 |
+
public function filter_tec_events_query_default_view( $default_view ) {
|
| 947 |
+
return tribe( Manager::class )->get_default_view();
|
| 948 |
+
}
|
| 949 |
+
|
| 950 |
/**
|
| 951 |
* Sugar function for the above that determines if the labels should be filtered.
|
| 952 |
*
|
src/Tribe/Views/V2/Manager.php
CHANGED
|
@@ -37,6 +37,7 @@ class Manager {
|
|
| 37 |
* The name of the Tribe option the default mobile Views v2 slug will live in.
|
| 38 |
*
|
| 39 |
* @since 4.9.11 Use v1 option.
|
|
|
|
| 40 |
*
|
| 41 |
* @var string
|
| 42 |
*/
|
|
@@ -113,31 +114,27 @@ class Manager {
|
|
| 113 |
}
|
| 114 |
|
| 115 |
/**
|
| 116 |
-
* Get the
|
| 117 |
-
*
|
| 118 |
-
* The use of the `wp_is_mobile` function is not about screen width, but about payloads and how "heavy" a page is.
|
| 119 |
-
* All the Views are responsive, what we want to achieve here is serving users a version of the View that is
|
| 120 |
-
* less "heavy" on mobile devices (limited CPU and connection capabilities).
|
| 121 |
-
* This allows users to, as an example, serve the Month View to desktop users and the day view to mobile users.
|
| 122 |
*
|
| 123 |
* @since 4.9.4
|
| 124 |
*
|
| 125 |
-
* @param string|null $type The type of default View to return, either 'desktop' or 'mobile'
|
| 126 |
*
|
| 127 |
-
* @return string The default View slug
|
| 128 |
-
* the context.
|
| 129 |
*
|
| 130 |
-
* @see wp_is_mobile()
|
| 131 |
-
* @link https://developer.wordpress.org/reference/functions/wp_is_mobile/
|
| 132 |
*/
|
| 133 |
public function get_default_view_option( $type = null ) {
|
| 134 |
-
|
| 135 |
-
$type = wp_is_mobile() ? 'mobile' : 'desktop';
|
| 136 |
-
}
|
| 137 |
|
| 138 |
-
|
| 139 |
-
|
| 140 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 141 |
}
|
| 142 |
|
| 143 |
/**
|
| 37 |
* The name of the Tribe option the default mobile Views v2 slug will live in.
|
| 38 |
*
|
| 39 |
* @since 4.9.11 Use v1 option.
|
| 40 |
+
* @deprecated 5.12.3 Moved to ECP.
|
| 41 |
*
|
| 42 |
* @var string
|
| 43 |
*/
|
| 114 |
}
|
| 115 |
|
| 116 |
/**
|
| 117 |
+
* Get the slug for the default registered view.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 118 |
*
|
| 119 |
* @since 4.9.4
|
| 120 |
*
|
| 121 |
+
* @param string|null $type The type of default View to return, either 'desktop' or 'mobile'.
|
| 122 |
*
|
| 123 |
+
* @return string The default View slug.
|
|
|
|
| 124 |
*
|
|
|
|
|
|
|
| 125 |
*/
|
| 126 |
public function get_default_view_option( $type = null ) {
|
| 127 |
+
$default_view = tribe_get_option( static::$option_default, 'default' );
|
|
|
|
|
|
|
| 128 |
|
| 129 |
+
/**
|
| 130 |
+
* Allow others to hook in and alter the default view - ECP does so to allow a different view for mobile.
|
| 131 |
+
*
|
| 132 |
+
* @since 5.12.3
|
| 133 |
+
*
|
| 134 |
+
* @param string $default_view The view slug for the default view.
|
| 135 |
+
* @param string|null $type The type of default View to return, either 'desktop' or 'mobile'.
|
| 136 |
+
*/
|
| 137 |
+
return apply_filters( 'tec_events_default_view', $default_view, $type );
|
| 138 |
}
|
| 139 |
|
| 140 |
/**
|
src/Tribe/Views/V2/Template/Title.php
CHANGED
|
@@ -63,12 +63,13 @@ class Title {
|
|
| 63 |
* @since 4.9.10
|
| 64 |
*
|
| 65 |
* @param string $title The page title built so far.
|
| 66 |
-
* @param null|string $sep The separator sequence to separate the title components
|
|
|
|
| 67 |
*
|
| 68 |
* @return string the filtered page title.
|
| 69 |
*/
|
| 70 |
-
public function filter_wp_title( $title, $sep = null ) {
|
| 71 |
-
$new_title = $this->build_title( $title,
|
| 72 |
|
| 73 |
/**
|
| 74 |
* Filters the page title built for event single or archive pages.
|
|
@@ -79,7 +80,7 @@ class Title {
|
|
| 79 |
* @param string $title The original title.
|
| 80 |
* @param null|string $sep The separator sequence to separate the title components.
|
| 81 |
*/
|
| 82 |
-
$the_title = apply_filters( 'tribe_events_title_tag', $new_title, $title, $sep );
|
| 83 |
|
| 84 |
return $the_title;
|
| 85 |
}
|
|
@@ -93,12 +94,13 @@ class Title {
|
|
| 93 |
* @since 4.9.10
|
| 94 |
* @since 5.1.5 - Add filter for plural events label and move featured label to a method.
|
| 95 |
*
|
| 96 |
-
* @param string
|
| 97 |
-
* @param
|
|
|
|
| 98 |
*
|
| 99 |
* @return string The page title.
|
| 100 |
*/
|
| 101 |
-
public function build_title( $current_title = '', $depth = true ) {
|
| 102 |
$context = $this->context ?: tribe_context();
|
| 103 |
$posts = $this->get_posts();
|
| 104 |
|
|
@@ -140,11 +142,12 @@ class Title {
|
|
| 140 |
}
|
| 141 |
|
| 142 |
$term = $context->get( TEC::TAXONOMY, false );
|
| 143 |
-
|
|
|
|
| 144 |
$cat = get_term_by( 'slug', $term, TEC::TAXONOMY );
|
| 145 |
|
| 146 |
if ( $cat instanceof \WP_Term ) {
|
| 147 |
-
$title = $this->build_category_title( $title, $cat );
|
| 148 |
}
|
| 149 |
}
|
| 150 |
|
|
@@ -229,7 +232,7 @@ class Title {
|
|
| 229 |
$sep = apply_filters( 'document_title_separator', '-' );
|
| 230 |
$the_title = $title['title'];
|
| 231 |
|
| 232 |
-
$new_title = $this->build_title( $title['title']
|
| 233 |
|
| 234 |
/**
|
| 235 |
* Filters the page title built for event single or archive pages.
|
|
@@ -356,18 +359,49 @@ class Title {
|
|
| 356 |
}
|
| 357 |
|
| 358 |
/**
|
| 359 |
-
* Builds, wrapping the current
|
| 360 |
*
|
| 361 |
* @since 4.9.10
|
|
|
|
| 362 |
*
|
| 363 |
-
* @param string
|
| 364 |
-
* @param \WP_Term
|
|
|
|
|
|
|
| 365 |
*
|
| 366 |
* @return string The built category archive title.
|
| 367 |
*/
|
| 368 |
-
protected function build_category_title( $title, $cat ) {
|
| 369 |
-
$
|
| 370 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 371 |
|
| 372 |
/**
|
| 373 |
* Filters the Event Category Archive title.
|
|
@@ -375,10 +409,12 @@ class Title {
|
|
| 375 |
* @since 4.9.10
|
| 376 |
*
|
| 377 |
*
|
| 378 |
-
* @param string
|
| 379 |
-
* @param string
|
| 380 |
-
* @param \WP_Term
|
|
|
|
|
|
|
| 381 |
*/
|
| 382 |
-
return apply_filters( 'tribe_events_views_v2_category_title', $new_title, $title, $cat );
|
| 383 |
}
|
| 384 |
}
|
| 63 |
* @since 4.9.10
|
| 64 |
*
|
| 65 |
* @param string $title The page title built so far.
|
| 66 |
+
* @param null|string $sep The separator sequence to separate the title components.
|
| 67 |
+
* @param boolean $depth Whether to display the taxonomy hierarchy as part of the title.
|
| 68 |
*
|
| 69 |
* @return string the filtered page title.
|
| 70 |
*/
|
| 71 |
+
public function filter_wp_title( $title, $sep = null, $depth = false ) {
|
| 72 |
+
$new_title = $this->build_title( $title, $depth, $sep );
|
| 73 |
|
| 74 |
/**
|
| 75 |
* Filters the page title built for event single or archive pages.
|
| 80 |
* @param string $title The original title.
|
| 81 |
* @param null|string $sep The separator sequence to separate the title components.
|
| 82 |
*/
|
| 83 |
+
$the_title = apply_filters( 'tribe_events_title_tag', $new_title, $title, $sep, $depth );
|
| 84 |
|
| 85 |
return $the_title;
|
| 86 |
}
|
| 94 |
* @since 4.9.10
|
| 95 |
* @since 5.1.5 - Add filter for plural events label and move featured label to a method.
|
| 96 |
*
|
| 97 |
+
* @param string $current_title Current Title used on the page.
|
| 98 |
+
* @param boolean $depth Whether to display the taxonomy hierarchy as part of the title.
|
| 99 |
+
* @param null|string $sep The separator sequence to separate the title components.
|
| 100 |
*
|
| 101 |
* @return string The page title.
|
| 102 |
*/
|
| 103 |
+
public function build_title( $current_title = '', $depth = true, $sep = null ) {
|
| 104 |
$context = $this->context ?: tribe_context();
|
| 105 |
$posts = $this->get_posts();
|
| 106 |
|
| 142 |
}
|
| 143 |
|
| 144 |
$term = $context->get( TEC::TAXONOMY, false );
|
| 145 |
+
|
| 146 |
+
if ( false !== $term ) {
|
| 147 |
$cat = get_term_by( 'slug', $term, TEC::TAXONOMY );
|
| 148 |
|
| 149 |
if ( $cat instanceof \WP_Term ) {
|
| 150 |
+
$title = $this->build_category_title( $title, $cat, $depth, $sep );
|
| 151 |
}
|
| 152 |
}
|
| 153 |
|
| 232 |
$sep = apply_filters( 'document_title_separator', '-' );
|
| 233 |
$the_title = $title['title'];
|
| 234 |
|
| 235 |
+
$new_title = $this->build_title( $title['title'] );
|
| 236 |
|
| 237 |
/**
|
| 238 |
* Filters the page title built for event single or archive pages.
|
| 359 |
}
|
| 360 |
|
| 361 |
/**
|
| 362 |
+
* Builds, wrapping the current title, the Event Category archive title.
|
| 363 |
*
|
| 364 |
* @since 4.9.10
|
| 365 |
+
* @since 5.12.3 Added params, refined logic around category archive titles.
|
| 366 |
*
|
| 367 |
+
* @param string $title The input title.
|
| 368 |
+
* @param \WP_Term $cat The category term to use to build the title.
|
| 369 |
+
* @param boolean $depth Whether to display the taxonomy hierarchy as part of the title.
|
| 370 |
+
* @param null|string $separator The separator sequence to separate the title components.
|
| 371 |
*
|
| 372 |
* @return string The built category archive title.
|
| 373 |
*/
|
| 374 |
+
protected function build_category_title( $title, $cat, $depth = true, $separator = ' › ' ) {
|
| 375 |
+
$separator = is_null( $separator ) ? ' › ' : $separator;
|
| 376 |
+
|
| 377 |
+
/**
|
| 378 |
+
* Allow folks to hook in and alter the option to show parent taxonomies in the title.
|
| 379 |
+
*
|
| 380 |
+
* @since 5.12.3
|
| 381 |
+
*
|
| 382 |
+
* @param boolean $depth Whether to display the taxonomy hierarchy as part of the title.
|
| 383 |
+
* @param string $title The input title.
|
| 384 |
+
* @param \WP_Term $cat The category term to use to build the title.
|
| 385 |
+
*/
|
| 386 |
+
$depth = apply_filters( 'tec_events_views_v2_display_tax_hierarchy_in_title', $depth, $title, $cat );
|
| 387 |
+
|
| 388 |
+
// This list includes the child taxonomy!
|
| 389 |
+
if ( $depth ) {
|
| 390 |
+
$term_parents = get_term_parents_list(
|
| 391 |
+
$cat->term_id,
|
| 392 |
+
$cat->taxonomy,
|
| 393 |
+
[
|
| 394 |
+
'link' => false,
|
| 395 |
+
'separator' => $separator
|
| 396 |
+
]
|
| 397 |
+
);
|
| 398 |
+
}
|
| 399 |
+
|
| 400 |
+
if ( empty( $term_parents ) || is_wp_error( $term_parents ) ) {
|
| 401 |
+
$term_parents = $cat->name;
|
| 402 |
+
}
|
| 403 |
+
|
| 404 |
+
$new_title = $title . $separator . $term_parents;
|
| 405 |
|
| 406 |
/**
|
| 407 |
* Filters the Event Category Archive title.
|
| 409 |
* @since 4.9.10
|
| 410 |
*
|
| 411 |
*
|
| 412 |
+
* @param string $new_title The Event Category archive title.
|
| 413 |
+
* @param string $title The original title.
|
| 414 |
+
* @param \WP_Term $cat The Event Category term used to build the title.
|
| 415 |
+
* @param boolean $depth Whether to display the taxonomy hierarchy as part of the title.
|
| 416 |
+
* @param string $separator The separator character for the title parts.
|
| 417 |
*/
|
| 418 |
+
return apply_filters( 'tribe_events_views_v2_category_title', $new_title, $title, $cat, $depth, $separator );
|
| 419 |
}
|
| 420 |
}
|
src/Tribe/Views/V2/iCalendar/Links/Link_Abstract.php
CHANGED
|
@@ -58,7 +58,7 @@ abstract class Link_Abstract implements Link_Interface {
|
|
| 58 |
/**
|
| 59 |
* Determines if this instance of the class has it's actions and filters hooked.
|
| 60 |
*
|
| 61 |
-
* @since
|
| 62 |
*
|
| 63 |
* @var bool
|
| 64 |
*/
|
|
@@ -67,7 +67,7 @@ abstract class Link_Abstract implements Link_Interface {
|
|
| 67 |
/**
|
| 68 |
* Link_Abstract constructor.
|
| 69 |
*
|
| 70 |
-
* @since
|
| 71 |
*/
|
| 72 |
public function __construct() {
|
| 73 |
$this->register();
|
|
@@ -76,7 +76,7 @@ abstract class Link_Abstract implements Link_Interface {
|
|
| 76 |
/**
|
| 77 |
* Sets the hooked param for flagging if the hooks were created.
|
| 78 |
*
|
| 79 |
-
* @since
|
| 80 |
*
|
| 81 |
* @param bool $hooked What to save in the hooked var.
|
| 82 |
*/
|
|
@@ -87,7 +87,7 @@ abstract class Link_Abstract implements Link_Interface {
|
|
| 87 |
/**
|
| 88 |
* Hooks this instance actions and filters.
|
| 89 |
*
|
| 90 |
-
* @since
|
| 91 |
*/
|
| 92 |
public function hook() {
|
| 93 |
if ( true === $this->hooked ) {
|
| 58 |
/**
|
| 59 |
* Determines if this instance of the class has it's actions and filters hooked.
|
| 60 |
*
|
| 61 |
+
* @since 5.12.3
|
| 62 |
*
|
| 63 |
* @var bool
|
| 64 |
*/
|
| 67 |
/**
|
| 68 |
* Link_Abstract constructor.
|
| 69 |
*
|
| 70 |
+
* @since 5.12.3
|
| 71 |
*/
|
| 72 |
public function __construct() {
|
| 73 |
$this->register();
|
| 76 |
/**
|
| 77 |
* Sets the hooked param for flagging if the hooks were created.
|
| 78 |
*
|
| 79 |
+
* @since 5.12.3
|
| 80 |
*
|
| 81 |
* @param bool $hooked What to save in the hooked var.
|
| 82 |
*/
|
| 87 |
/**
|
| 88 |
* Hooks this instance actions and filters.
|
| 89 |
*
|
| 90 |
+
* @since 5.12.3
|
| 91 |
*/
|
| 92 |
public function hook() {
|
| 93 |
if ( true === $this->hooked ) {
|
src/Tribe/Views/V2/iCalendar/Links/Link_Interface.php
CHANGED
|
@@ -20,7 +20,7 @@ interface Link_Interface {
|
|
| 20 |
/**
|
| 21 |
* Registers the objects and filters required by the provider to manage subscribe links.
|
| 22 |
*
|
| 23 |
-
* @since
|
| 24 |
*/
|
| 25 |
public function register();
|
| 26 |
|
| 20 |
/**
|
| 21 |
* Registers the objects and filters required by the provider to manage subscribe links.
|
| 22 |
*
|
| 23 |
+
* @since 5.12.3
|
| 24 |
*/
|
| 25 |
public function register();
|
| 26 |
|
src/Tribe/Views/V2/iCalendar/iCalendar_Handler.php
CHANGED
|
@@ -39,7 +39,7 @@ class iCalendar_Handler extends \tad_DI52_ServiceProvider {
|
|
| 39 |
/**
|
| 40 |
* Which classes we will load for links by default.
|
| 41 |
*
|
| 42 |
-
* @since
|
| 43 |
*
|
| 44 |
* @var Link_Abstract[]
|
| 45 |
*/
|
|
@@ -48,7 +48,7 @@ class iCalendar_Handler extends \tad_DI52_ServiceProvider {
|
|
| 48 |
/**
|
| 49 |
* Initializes, sets the internal feeds array and returns it.
|
| 50 |
*
|
| 51 |
-
* @since
|
| 52 |
*
|
| 53 |
* @return array
|
| 54 |
*/
|
| 39 |
/**
|
| 40 |
* Which classes we will load for links by default.
|
| 41 |
*
|
| 42 |
+
* @since 5.12.3
|
| 43 |
*
|
| 44 |
* @var Link_Abstract[]
|
| 45 |
*/
|
| 48 |
/**
|
| 49 |
* Initializes, sets the internal feeds array and returns it.
|
| 50 |
*
|
| 51 |
+
* @since 5.12.3
|
| 52 |
*
|
| 53 |
* @return array
|
| 54 |
*/
|
the-events-calendar.php
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
/**
|
| 3 |
* Plugin Name: The Events Calendar
|
| 4 |
* Description: The Events Calendar is a carefully crafted, extensible plugin that lets you easily share your events. Beautiful. Solid. Awesome.
|
| 5 |
-
* Version: 5.12.
|
| 6 |
* Author: The Events Calendar
|
| 7 |
* Author URI: https://evnt.is/1x
|
| 8 |
* Text Domain: the-events-calendar
|
| 2 |
/**
|
| 3 |
* Plugin Name: The Events Calendar
|
| 4 |
* Description: The Events Calendar is a carefully crafted, extensible plugin that lets you easily share your events. Beautiful. Solid. Awesome.
|
| 5 |
+
* Version: 5.12.3
|
| 6 |
* Author: The Events Calendar
|
| 7 |
* Author URI: https://evnt.is/1x
|
| 8 |
* Text Domain: the-events-calendar
|
vendor/autoload.php
CHANGED
|
@@ -4,4 +4,4 @@
|
|
| 4 |
|
| 5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
| 6 |
|
| 7 |
-
return
|
| 4 |
|
| 5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
| 6 |
|
| 7 |
+
return ComposerAutoloaderInit47c1cd7d14900707cfbb328d40395b61::getLoader();
|
vendor/composer/autoload_real.php
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
|
| 3 |
// autoload_real.php @generated by Composer
|
| 4 |
|
| 5 |
-
class
|
| 6 |
{
|
| 7 |
private static $loader;
|
| 8 |
|
|
@@ -19,15 +19,15 @@ class ComposerAutoloaderInit8fcd0e8f1cb20be34d25c0372ff7d46c
|
|
| 19 |
return self::$loader;
|
| 20 |
}
|
| 21 |
|
| 22 |
-
spl_autoload_register(array('
|
| 23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
| 24 |
-
spl_autoload_unregister(array('
|
| 25 |
|
| 26 |
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
| 27 |
if ($useStaticLoader) {
|
| 28 |
require_once __DIR__ . '/autoload_static.php';
|
| 29 |
|
| 30 |
-
call_user_func(\Composer\Autoload\
|
| 31 |
} else {
|
| 32 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
| 33 |
foreach ($map as $namespace => $path) {
|
| 2 |
|
| 3 |
// autoload_real.php @generated by Composer
|
| 4 |
|
| 5 |
+
class ComposerAutoloaderInit47c1cd7d14900707cfbb328d40395b61
|
| 6 |
{
|
| 7 |
private static $loader;
|
| 8 |
|
| 19 |
return self::$loader;
|
| 20 |
}
|
| 21 |
|
| 22 |
+
spl_autoload_register(array('ComposerAutoloaderInit47c1cd7d14900707cfbb328d40395b61', 'loadClassLoader'), true, true);
|
| 23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
| 24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit47c1cd7d14900707cfbb328d40395b61', 'loadClassLoader'));
|
| 25 |
|
| 26 |
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
| 27 |
if ($useStaticLoader) {
|
| 28 |
require_once __DIR__ . '/autoload_static.php';
|
| 29 |
|
| 30 |
+
call_user_func(\Composer\Autoload\ComposerStaticInit47c1cd7d14900707cfbb328d40395b61::getInitializer($loader));
|
| 31 |
} else {
|
| 32 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
| 33 |
foreach ($map as $namespace => $path) {
|
vendor/composer/autoload_static.php
CHANGED
|
@@ -4,7 +4,7 @@
|
|
| 4 |
|
| 5 |
namespace Composer\Autoload;
|
| 6 |
|
| 7 |
-
class
|
| 8 |
{
|
| 9 |
public static $prefixLengthsPsr4 = array (
|
| 10 |
'T' =>
|
|
@@ -133,9 +133,9 @@ class ComposerStaticInit8fcd0e8f1cb20be34d25c0372ff7d46c
|
|
| 133 |
public static function getInitializer(ClassLoader $loader)
|
| 134 |
{
|
| 135 |
return \Closure::bind(function () use ($loader) {
|
| 136 |
-
$loader->prefixLengthsPsr4 =
|
| 137 |
-
$loader->prefixDirsPsr4 =
|
| 138 |
-
$loader->classMap =
|
| 139 |
|
| 140 |
}, null, ClassLoader::class);
|
| 141 |
}
|
| 4 |
|
| 5 |
namespace Composer\Autoload;
|
| 6 |
|
| 7 |
+
class ComposerStaticInit47c1cd7d14900707cfbb328d40395b61
|
| 8 |
{
|
| 9 |
public static $prefixLengthsPsr4 = array (
|
| 10 |
'T' =>
|
| 133 |
public static function getInitializer(ClassLoader $loader)
|
| 134 |
{
|
| 135 |
return \Closure::bind(function () use ($loader) {
|
| 136 |
+
$loader->prefixLengthsPsr4 = ComposerStaticInit47c1cd7d14900707cfbb328d40395b61::$prefixLengthsPsr4;
|
| 137 |
+
$loader->prefixDirsPsr4 = ComposerStaticInit47c1cd7d14900707cfbb328d40395b61::$prefixDirsPsr4;
|
| 138 |
+
$loader->classMap = ComposerStaticInit47c1cd7d14900707cfbb328d40395b61::$classMap;
|
| 139 |
|
| 140 |
}, null, ClassLoader::class);
|
| 141 |
}
|
