The Events Calendar - Version 5.14.2

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 Camwynsp
Plugin Icon The Events Calendar
Version 5.14.2
Comparing to
See all releases

Code changes from version 5.14.1 to 5.14.2

Files changed (131) hide show
  1. common/lang/tribe-common-af.mo +0 -0
  2. common/lang/tribe-common-bg_BG.mo +0 -0
  3. common/lang/tribe-common-ca.mo +0 -0
  4. common/lang/tribe-common-cs_CZ.mo +0 -0
  5. common/lang/tribe-common-da_DK.mo +0 -0
  6. common/lang/tribe-common-de_DE.mo +0 -0
  7. common/lang/tribe-common-el.mo +0 -0
  8. common/lang/tribe-common-en_GB.mo +0 -0
  9. common/lang/tribe-common-es_ES.mo +0 -0
  10. common/lang/tribe-common-et.mo +0 -0
  11. common/lang/tribe-common-fi.mo +0 -0
  12. common/lang/tribe-common-fr_CA.mo +0 -0
  13. common/lang/tribe-common-fr_FR.mo +0 -0
  14. common/lang/tribe-common-hu_HU.mo +0 -0
  15. common/lang/tribe-common-id_ID.mo +0 -0
  16. common/lang/tribe-common-is_IS.mo +0 -0
  17. common/lang/tribe-common-it_IT.mo +0 -0
  18. common/lang/tribe-common-ja.mo +0 -0
  19. common/lang/tribe-common-lt_LT.mo +0 -0
  20. common/lang/tribe-common-lv.mo +0 -0
  21. common/lang/tribe-common-nb_NO.mo +0 -0
  22. common/lang/tribe-common-nl_NL.mo +0 -0
  23. common/lang/tribe-common-pt_BR.mo +0 -0
  24. common/lang/tribe-common-pt_PT.mo +0 -0
  25. common/lang/tribe-common-ro_RO.mo +0 -0
  26. common/lang/tribe-common-ru_RU.mo +0 -0
  27. common/lang/tribe-common-sk_SK.mo +0 -0
  28. common/lang/tribe-common-sl_SI.mo +0 -0
  29. common/lang/tribe-common-sr_RS.mo +0 -0
  30. common/lang/tribe-common-sv_SE.mo +0 -0
  31. common/lang/tribe-common-tr_TR.mo +0 -0
  32. common/lang/tribe-common-zh_CN.mo +0 -0
  33. common/lang/tribe-common-zh_TW.mo +0 -0
  34. common/lang/tribe-common.pot +36 -32
  35. common/src/Common/Editor/Full_Site/Template_Utils.php +88 -0
  36. common/src/Tribe/Assets_Pipeline.php +5 -0
  37. common/src/Tribe/Customizer.php +4 -14
  38. common/src/Tribe/Editor/Compatibility/Classic_Editor.php +16 -10
  39. common/src/Tribe/Main.php +21 -4
  40. common/src/Tribe/Onboarding/README.md +3 -3
  41. common/src/Tribe/Process/Queue.php +1 -1
  42. common/src/Tribe/Settings_Manager.php +1 -1
  43. common/src/Tribe/Widget/Widget_Abstract.php +11 -6
  44. common/src/admin-views/troubleshooting/ea-status.php +2 -0
  45. common/src/admin-views/troubleshooting/ea-status/current-status.php +41 -0
  46. common/src/functions/conditionals.php +2 -2
  47. common/src/functions/editor.php +20 -0
  48. common/vendor/autoload.php +1 -1
  49. common/vendor/autoload_52.php +1 -1
  50. common/vendor/composer/autoload_classmap.php +1 -0
  51. common/vendor/composer/autoload_psr4.php +1 -0
  52. common/vendor/composer/autoload_real.php +4 -4
  53. common/vendor/composer/autoload_real_52.php +3 -3
  54. common/vendor/composer/autoload_static.php +11 -5
  55. lang/the-events-calendar-ar.mo +0 -0
  56. lang/the-events-calendar-bg_BG.mo +0 -0
  57. lang/the-events-calendar-ca.mo +0 -0
  58. lang/the-events-calendar-cs_CZ.mo +0 -0
  59. lang/the-events-calendar-da_DK.mo +0 -0
  60. lang/the-events-calendar-de_CH.mo +0 -0
  61. lang/the-events-calendar-de_DE.mo +0 -0
  62. lang/the-events-calendar-el.mo +0 -0
  63. lang/the-events-calendar-en_AU.mo +0 -0
  64. lang/the-events-calendar-en_CA.mo +0 -0
  65. lang/the-events-calendar-en_GB.mo +0 -0
  66. lang/the-events-calendar-en_NZ.mo +0 -0
  67. lang/the-events-calendar-en_ZA.mo +0 -0
  68. lang/the-events-calendar-es_CO.mo +0 -0
  69. lang/the-events-calendar-es_DO.mo +0 -0
  70. lang/the-events-calendar-es_EC.mo +0 -0
  71. lang/the-events-calendar-es_ES.mo +0 -0
  72. lang/the-events-calendar-es_MX.mo +0 -0
  73. lang/the-events-calendar-es_VE.mo +0 -0
  74. lang/the-events-calendar-eu.mo +0 -0
  75. lang/the-events-calendar-fi.mo +0 -0
  76. lang/the-events-calendar-fr_CA.mo +0 -0
  77. lang/the-events-calendar-fr_FR.mo +0 -0
  78. lang/the-events-calendar-gl_ES.mo +0 -0
  79. lang/the-events-calendar-he_IL.mo +0 -0
  80. lang/the-events-calendar-hr.mo +0 -0
  81. lang/the-events-calendar-hu_HU.mo +0 -0
  82. lang/the-events-calendar-it_IT.mo +0 -0
  83. lang/the-events-calendar-ja.mo +0 -0
  84. lang/the-events-calendar-lt_LT.mo +0 -0
  85. lang/the-events-calendar-nb_NO.mo +0 -0
  86. lang/the-events-calendar-nl_BE.mo +0 -0
  87. lang/the-events-calendar-nl_NL.mo +0 -0
  88. lang/the-events-calendar-nn_NO.mo +0 -0
  89. lang/the-events-calendar-pl_PL.mo +0 -0
  90. lang/the-events-calendar-pt_BR.mo +0 -0
  91. lang/the-events-calendar-pt_PT.mo +0 -0
  92. lang/the-events-calendar-ro_RO.mo +0 -0
  93. lang/the-events-calendar-ru_RU.mo +0 -0
  94. lang/the-events-calendar-sk_SK.mo +0 -0
  95. lang/the-events-calendar-sl_SI.mo +0 -0
  96. lang/the-events-calendar-sq.mo +0 -0
  97. lang/the-events-calendar-sv_SE.mo +0 -0
  98. lang/the-events-calendar-tr_TR.mo +0 -0
  99. lang/the-events-calendar-uk.mo +0 -0
  100. lang/the-events-calendar-zh_CN.mo +0 -0
  101. lang/the-events-calendar.pot +281 -268
  102. readme.txt +25 -9
  103. src/Events/Editor/Full_Site/Hooks.php +137 -0
  104. src/Events/Editor/Full_Site/Provider.php +101 -0
  105. src/Events/Editor/Full_Site/Templates.php +94 -0
  106. src/Events/Editor/Full_Site/Templates/archive-events.html +3 -0
  107. src/Tribe/API.php +8 -3
  108. src/Tribe/Amalgamator.php +206 -14
  109. src/Tribe/Editor.php +3 -2
  110. src/Tribe/Editor/Blocks/Archive_Events.php +45 -0
  111. src/Tribe/Editor/Provider.php +1 -1
  112. src/Tribe/Importer/Column_Mapper.php +1 -0
  113. src/Tribe/Importer/File_Importer_Events.php +1 -0
  114. src/Tribe/Importer/File_Reader.php +19 -2
  115. src/Tribe/Main.php +3 -1
  116. src/Tribe/Models/Post_Types/Event.php +1 -1
  117. src/Tribe/Views/V2/Hooks.php +4 -0
  118. src/Tribe/Views/V2/Template_Bootstrap.php +4 -0
  119. src/Tribe/Views/V2/View.php +5 -3
  120. src/Tribe/Views/V2/Views/Traits/With_Fast_Forward_Link.php +22 -11
  121. src/Tribe/Views/V2/iCalendar/Links/Google_Calendar.php +13 -2
  122. src/admin-views/create-venue-fields.php +1 -1
  123. src/admin-views/tribe-options-display.php +92 -84
  124. src/functions/template-tags/organizer.php +3 -1
  125. src/functions/template-tags/venue.php +1 -1
  126. src/views/blocks/archive-events.php +24 -0
  127. the-events-calendar.php +1 -1
  128. vendor/autoload.php +1 -1
  129. vendor/composer/autoload_classmap.php +4 -0
  130. vendor/composer/autoload_real.php +4 -4
  131. vendor/composer/autoload_static.php +8 -4
common/lang/tribe-common-af.mo CHANGED
Binary file
common/lang/tribe-common-bg_BG.mo CHANGED
Binary file
common/lang/tribe-common-ca.mo CHANGED
Binary file
common/lang/tribe-common-cs_CZ.mo CHANGED
Binary file
common/lang/tribe-common-da_DK.mo CHANGED
Binary file
common/lang/tribe-common-de_DE.mo CHANGED
Binary file
common/lang/tribe-common-el.mo CHANGED
Binary file
common/lang/tribe-common-en_GB.mo CHANGED
Binary file
common/lang/tribe-common-es_ES.mo CHANGED
Binary file
common/lang/tribe-common-et.mo CHANGED
Binary file
common/lang/tribe-common-fi.mo CHANGED
Binary file
common/lang/tribe-common-fr_CA.mo CHANGED
Binary file
common/lang/tribe-common-fr_FR.mo CHANGED
Binary file
common/lang/tribe-common-hu_HU.mo CHANGED
Binary file
common/lang/tribe-common-id_ID.mo CHANGED
Binary file
common/lang/tribe-common-is_IS.mo CHANGED
Binary file
common/lang/tribe-common-it_IT.mo CHANGED
Binary file
common/lang/tribe-common-ja.mo CHANGED
Binary file
common/lang/tribe-common-lt_LT.mo CHANGED
Binary file
common/lang/tribe-common-lv.mo CHANGED
Binary file
common/lang/tribe-common-nb_NO.mo CHANGED
Binary file
common/lang/tribe-common-nl_NL.mo CHANGED
Binary file
common/lang/tribe-common-pt_BR.mo CHANGED
Binary file
common/lang/tribe-common-pt_PT.mo CHANGED
Binary file
common/lang/tribe-common-ro_RO.mo CHANGED
Binary file
common/lang/tribe-common-ru_RU.mo CHANGED
Binary file
common/lang/tribe-common-sk_SK.mo CHANGED
Binary file
common/lang/tribe-common-sl_SI.mo CHANGED
Binary file
common/lang/tribe-common-sr_RS.mo CHANGED
Binary file
common/lang/tribe-common-sv_SE.mo CHANGED
Binary file
common/lang/tribe-common-tr_TR.mo CHANGED
Binary file
common/lang/tribe-common-zh_CN.mo CHANGED
Binary file
common/lang/tribe-common-zh_TW.mo CHANGED
Binary file
common/lang/tribe-common.pot CHANGED
@@ -2,13 +2,13 @@
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.16\n"
6
  "Report-Msgid-Bugs-To: http://m.tri.be/191x\n"
7
- "POT-Creation-Date: 2022-03-15 18:48:04+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-03-15 18:48\n"
12
  "Last-Translator: \n"
13
  "Language-Team: \n"
14
 
@@ -58,9 +58,9 @@ msgctxt "Error status label for system info optin"
58
  msgid "Status:"
59
  msgstr ""
60
 
61
- #. #-#-#-#-# tribe-common.pot (Tribe Common 4.14.16) #-#-#-#-#
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
65
  msgid "The Events Calendar"
66
  msgstr ""
@@ -735,32 +735,32 @@ msgid ""
735
  "and it helps a lot."
736
  msgstr ""
737
 
738
- #: src/Tribe/Customizer.php:667
739
  msgid ""
740
  "Use the following panel of your customizer to change the styling of your "
741
  "Calendar and Event pages."
742
  msgstr ""
743
 
744
- #: src/Tribe/Customizer.php:1032
745
  msgctxt "Page title for the TEC Customizer section."
746
  msgid "Customize The Events Calendar"
747
  msgstr ""
748
 
749
- #: src/Tribe/Customizer.php:1033
750
  msgctxt "Menu item text for the TEC Customizer section link."
751
  msgid "Customize The Events Calendar"
752
  msgstr ""
753
 
754
- #: src/Tribe/Customizer.php:1062
755
  msgid "Customizer"
756
  msgstr ""
757
 
758
- #: src/Tribe/Customizer.php:1066
759
  msgid "Adjust colors, fonts, and more with the WordPress Customizer."
760
  msgstr ""
761
 
762
  #. translators: %1$s: opening anchor tag; %2$s: closing anchor tag
763
- #: src/Tribe/Customizer.php:1072
764
  msgctxt "Link text added to the TEC->Settings->Display tab."
765
  msgid "%1$sCustomize The Events Calendar%2$s"
766
  msgstr ""
@@ -2240,87 +2240,87 @@ msgstr ""
2240
  msgid "Full debug (all events)"
2241
  msgstr ""
2242
 
2243
- #: src/Tribe/Main.php:336
2244
  msgid ": activate to sort column ascending"
2245
  msgstr ""
2246
 
2247
- #: src/Tribe/Main.php:337
2248
  msgid ": activate to sort column descending"
2249
  msgstr ""
2250
 
2251
- #: src/Tribe/Main.php:339
2252
  msgid "Show _MENU_ entries"
2253
  msgstr ""
2254
 
2255
- #: src/Tribe/Main.php:340
2256
  msgid "No data available in table"
2257
  msgstr ""
2258
 
2259
- #: src/Tribe/Main.php:341
2260
  msgid "Showing _START_ to _END_ of _TOTAL_ entries"
2261
  msgstr ""
2262
 
2263
- #: src/Tribe/Main.php:342
2264
  msgid "Showing 0 to 0 of 0 entries"
2265
  msgstr ""
2266
 
2267
- #: src/Tribe/Main.php:343
2268
  msgid "(filtered from _MAX_ total entries)"
2269
  msgstr ""
2270
 
2271
- #: src/Tribe/Main.php:344
2272
  msgid "No matching records found"
2273
  msgstr ""
2274
 
2275
- #: src/Tribe/Main.php:345
2276
  msgid "Search:"
2277
  msgstr ""
2278
 
2279
- #: src/Tribe/Main.php:346
2280
  msgid "All items on this page were selected. "
2281
  msgstr ""
2282
 
2283
- #: src/Tribe/Main.php:347
2284
  msgid "Select all pages"
2285
  msgstr ""
2286
 
2287
- #: src/Tribe/Main.php:348
2288
  msgid "Clear Selection."
2289
  msgstr ""
2290
 
2291
- #: src/Tribe/Main.php:350
2292
  msgid "All"
2293
  msgstr ""
2294
 
2295
- #: src/Tribe/Main.php:351 src/Tribe/Main.php:368
2296
  msgid "Next"
2297
  msgstr ""
2298
 
2299
- #: src/Tribe/Main.php:352
2300
  msgid "Previous"
2301
  msgstr ""
2302
 
2303
- #: src/Tribe/Main.php:357
2304
  msgid ": Selected %d rows"
2305
  msgstr ""
2306
 
2307
- #: src/Tribe/Main.php:358
2308
  msgid ": Selected 1 row"
2309
  msgstr ""
2310
 
2311
- #: src/Tribe/Main.php:369
2312
  msgid "Prev"
2313
  msgstr ""
2314
 
2315
- #: src/Tribe/Main.php:370 src/Tribe/Main.php:372
2316
  msgid "Today"
2317
  msgstr ""
2318
 
2319
- #: src/Tribe/Main.php:371
2320
  msgid "Done"
2321
  msgstr ""
2322
 
2323
- #: src/Tribe/Main.php:373
2324
  msgid "Clear"
2325
  msgstr ""
2326
 
@@ -3722,6 +3722,10 @@ msgstr ""
3722
  msgid "Learn more"
3723
  msgstr ""
3724
 
 
 
 
 
3725
  #: src/admin-views/troubleshooting/ea-status/current-usage.php:18
3726
  msgid ""
3727
  "You have reached your daily import limit. Scheduled imports will be paused "
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.18\n"
6
  "Report-Msgid-Bugs-To: http://m.tri.be/191x\n"
7
+ "POT-Creation-Date: 2022-04-26 21:05:03+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-04-26 21:05\n"
12
  "Last-Translator: \n"
13
  "Language-Team: \n"
14
 
58
  msgid "Status:"
59
  msgstr ""
60
 
61
+ #. #-#-#-#-# tribe-common.pot (Tribe Common 4.14.18) #-#-#-#-#
62
  #. Author of the plugin/theme
63
+ #: src/Tribe/Admin/Help_Page.php:82 src/Tribe/Customizer.php:664
64
  #: src/Tribe/Plugins_API.php:25 src/admin-views/help-calendar.php:97
65
  msgid "The Events Calendar"
66
  msgstr ""
735
  "and it helps a lot."
736
  msgstr ""
737
 
738
+ #: src/Tribe/Customizer.php:665
739
  msgid ""
740
  "Use the following panel of your customizer to change the styling of your "
741
  "Calendar and Event pages."
742
  msgstr ""
743
 
744
+ #: src/Tribe/Customizer.php:1026
745
  msgctxt "Page title for the TEC Customizer section."
746
  msgid "Customize The Events Calendar"
747
  msgstr ""
748
 
749
+ #: src/Tribe/Customizer.php:1027
750
  msgctxt "Menu item text for the TEC Customizer section link."
751
  msgid "Customize The Events Calendar"
752
  msgstr ""
753
 
754
+ #: src/Tribe/Customizer.php:1052
755
  msgid "Customizer"
756
  msgstr ""
757
 
758
+ #: src/Tribe/Customizer.php:1056
759
  msgid "Adjust colors, fonts, and more with the WordPress Customizer."
760
  msgstr ""
761
 
762
  #. translators: %1$s: opening anchor tag; %2$s: closing anchor tag
763
+ #: src/Tribe/Customizer.php:1062
764
  msgctxt "Link text added to the TEC->Settings->Display tab."
765
  msgid "%1$sCustomize The Events Calendar%2$s"
766
  msgstr ""
2240
  msgid "Full debug (all events)"
2241
  msgstr ""
2242
 
2243
+ #: src/Tribe/Main.php:353
2244
  msgid ": activate to sort column ascending"
2245
  msgstr ""
2246
 
2247
+ #: src/Tribe/Main.php:354
2248
  msgid ": activate to sort column descending"
2249
  msgstr ""
2250
 
2251
+ #: src/Tribe/Main.php:356
2252
  msgid "Show _MENU_ entries"
2253
  msgstr ""
2254
 
2255
+ #: src/Tribe/Main.php:357
2256
  msgid "No data available in table"
2257
  msgstr ""
2258
 
2259
+ #: src/Tribe/Main.php:358
2260
  msgid "Showing _START_ to _END_ of _TOTAL_ entries"
2261
  msgstr ""
2262
 
2263
+ #: src/Tribe/Main.php:359
2264
  msgid "Showing 0 to 0 of 0 entries"
2265
  msgstr ""
2266
 
2267
+ #: src/Tribe/Main.php:360
2268
  msgid "(filtered from _MAX_ total entries)"
2269
  msgstr ""
2270
 
2271
+ #: src/Tribe/Main.php:361
2272
  msgid "No matching records found"
2273
  msgstr ""
2274
 
2275
+ #: src/Tribe/Main.php:362
2276
  msgid "Search:"
2277
  msgstr ""
2278
 
2279
+ #: src/Tribe/Main.php:363
2280
  msgid "All items on this page were selected. "
2281
  msgstr ""
2282
 
2283
+ #: src/Tribe/Main.php:364
2284
  msgid "Select all pages"
2285
  msgstr ""
2286
 
2287
+ #: src/Tribe/Main.php:365
2288
  msgid "Clear Selection."
2289
  msgstr ""
2290
 
2291
+ #: src/Tribe/Main.php:367
2292
  msgid "All"
2293
  msgstr ""
2294
 
2295
+ #: src/Tribe/Main.php:368 src/Tribe/Main.php:385
2296
  msgid "Next"
2297
  msgstr ""
2298
 
2299
+ #: src/Tribe/Main.php:369
2300
  msgid "Previous"
2301
  msgstr ""
2302
 
2303
+ #: src/Tribe/Main.php:374
2304
  msgid ": Selected %d rows"
2305
  msgstr ""
2306
 
2307
+ #: src/Tribe/Main.php:375
2308
  msgid ": Selected 1 row"
2309
  msgstr ""
2310
 
2311
+ #: src/Tribe/Main.php:386
2312
  msgid "Prev"
2313
  msgstr ""
2314
 
2315
+ #: src/Tribe/Main.php:387 src/Tribe/Main.php:389
2316
  msgid "Today"
2317
  msgstr ""
2318
 
2319
+ #: src/Tribe/Main.php:388
2320
  msgid "Done"
2321
  msgstr ""
2322
 
2323
+ #: src/Tribe/Main.php:390
2324
  msgid "Clear"
2325
  msgstr ""
2326
 
3722
  msgid "Learn more"
3723
  msgstr ""
3724
 
3725
+ #: src/admin-views/troubleshooting/ea-status/current-status.php:31
3726
+ msgid "Enabled"
3727
+ msgstr ""
3728
+
3729
  #: src/admin-views/troubleshooting/ea-status/current-usage.php:18
3730
  msgid ""
3731
  "You have reached your daily import limit. Scheduled imports will be paused "
common/src/Common/Editor/Full_Site/Template_Utils.php ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace TEC\Common\Editor\Full_Site;
4
+
5
+ /**
6
+ * Class Template_Utils.
7
+ *
8
+ * @since 4.14.18
9
+ *
10
+ * @package TEC\Common\Editor\Full_Site
11
+ */
12
+ class Template_Utils {
13
+ /**
14
+ * Returns an array containing the references of the passed blocks and their inner blocks.
15
+ *
16
+ * When we return we are replacing/overwriting $blocks with $all_blocks so we pass-by-reference.
17
+ * If we don't pass-by-reference the non-event blocks get lost (ex: header and footer)
18
+ *
19
+ * @since 4.14.18
20
+ *
21
+ * @param array<array<string,mixed>> $blocks Array of parsed block objects.
22
+ *
23
+ * @return array<array<string,mixed>> Block references to the passed blocks and their inner blocks.
24
+ */
25
+ public static function flatten_blocks( &$blocks ) {
26
+ $all_blocks = [];
27
+ $queue = [];
28
+
29
+ foreach ( $blocks as &$block ) {
30
+ $queue[] = &$block;
31
+ }
32
+
33
+ $queue_count = count( $queue );
34
+
35
+ while ( $queue_count > 0 ) {
36
+ $block = &$queue[0];
37
+ array_shift( $queue );
38
+ $all_blocks[] = &$block;
39
+
40
+ if ( ! empty( $block['innerBlocks'] ) ) {
41
+ foreach ( $block['innerBlocks'] as &$inner_block ) {
42
+ $queue[] = &$inner_block;
43
+ }
44
+ }
45
+
46
+ $queue_count = count( $queue );
47
+ }
48
+
49
+ return $all_blocks;
50
+ }
51
+
52
+ /**
53
+ * Parses wp_template content and injects the current theme's stylesheet as a theme attribute into
54
+ * each wp_template_part.
55
+ *
56
+ * @since 4.14.18
57
+ *
58
+ * @param string $template_content serialized wp_template content.
59
+ *
60
+ * @return string Updated wp_template content.
61
+ */
62
+ public static function inject_theme_attribute_in_content( $template_content ) {
63
+ $has_updated_content = false;
64
+ $new_content = '';
65
+ $template_blocks = parse_blocks( $template_content );
66
+
67
+ $blocks = static::flatten_blocks( $template_blocks );
68
+ foreach ( $blocks as &$block ) {
69
+ if (
70
+ 'core/template-part' === $block['blockName'] &&
71
+ ! isset( $block['attrs']['theme'] )
72
+ ) {
73
+ $block['attrs']['theme'] = wp_get_theme()->get_stylesheet();
74
+ $has_updated_content = true;
75
+ }
76
+ }
77
+
78
+ if ( $has_updated_content ) {
79
+ foreach ( $template_blocks as &$block ) {
80
+ $new_content .= serialize_block( $block );
81
+ }
82
+
83
+ return $new_content;
84
+ }
85
+
86
+ return $template_content;
87
+ }
88
+ }
common/src/Tribe/Assets_Pipeline.php CHANGED
@@ -47,6 +47,7 @@ class Tribe__Assets_Pipeline {
47
  * After select2 is loaded to the FE we add one scripts after to prevent select2 from breaking.
48
  *
49
  * @since 4.13.2
 
50
  *
51
  * @param string $tag The <script> tag for the enqueued script.
52
  * @param string $handle The script's registered handle.
@@ -54,6 +55,10 @@ class Tribe__Assets_Pipeline {
54
  * @return string The <script> tag.
55
  */
56
  public function prevent_select2_conflict( $tag, $handle ) {
 
 
 
 
57
  if ( 'tribe-select2' !== $handle ) {
58
  return $tag;
59
  }
47
  * After select2 is loaded to the FE we add one scripts after to prevent select2 from breaking.
48
  *
49
  * @since 4.13.2
50
+ * @since 4.14.18 Ensure we don't run this in the admin.
51
  *
52
  * @param string $tag The <script> tag for the enqueued script.
53
  * @param string $handle The script's registered handle.
55
  * @return string The <script> tag.
56
  */
57
  public function prevent_select2_conflict( $tag, $handle ) {
58
+ if ( is_admin() ) {
59
+ return $tag;
60
+ }
61
+
62
  if ( 'tribe-select2' !== $handle ) {
63
  return $tag;
64
  }
common/src/Tribe/Customizer.php CHANGED
@@ -111,8 +111,6 @@ final class Tribe__Customizer {
111
 
112
  // Hook the Registering methods
113
  add_action( 'customize_register', [ $this, 'register' ], 15 );
114
- add_action( 'admin_menu', [ $this, 'add_fse_customizer_link' ] );
115
- add_action( 'tribe_display_settings_tab_fields', [ $this, 'add_fse_customizer_link_to_display_tab' ], 12 );
116
 
117
  add_action( 'wp_print_footer_scripts', [ $this, 'print_css_template' ], 15 );
118
  add_action( 'customize_controls_print_footer_scripts', [ $this, 'customize_controls_print_footer_scripts' ], 15 );
@@ -1016,13 +1014,9 @@ final class Tribe__Customizer {
1016
  * @since 4.14.8
1017
  */
1018
  public function add_fse_customizer_link() {
1019
- // Exit early if the FSE theme feature isn't present.
1020
- if ( ! function_exists( 'gutenberg_is_fse_theme' ) ) {
1021
- return;
1022
- }
1023
-
1024
  // Exit early if the current theme is not a FSE theme.
1025
- if ( ! gutenberg_is_fse_theme() ) {
1026
  return;
1027
  }
1028
 
@@ -1046,13 +1040,9 @@ final class Tribe__Customizer {
1046
  * @return array<string|mixed> $settings The modified settings array.
1047
  */
1048
  public function add_fse_customizer_link_to_display_tab( $settings ) {
1049
- // Exit early if the FSE theme feature isn't present.
1050
- if ( ! function_exists( 'gutenberg_is_fse_theme' ) ) {
1051
- return $settings;
1052
- }
1053
-
1054
  // Exit early if the current theme is not a FSE theme.
1055
- if ( ! gutenberg_is_fse_theme() ) {
1056
  return $settings;
1057
  }
1058
 
111
 
112
  // Hook the Registering methods
113
  add_action( 'customize_register', [ $this, 'register' ], 15 );
 
 
114
 
115
  add_action( 'wp_print_footer_scripts', [ $this, 'print_css_template' ], 15 );
116
  add_action( 'customize_controls_print_footer_scripts', [ $this, 'customize_controls_print_footer_scripts' ], 15 );
1014
  * @since 4.14.8
1015
  */
1016
  public function add_fse_customizer_link() {
1017
+ _deprecated_function( __METHOD__, '4.14.18', 'No replacement. Customizer menu item is preserved as long as we activate it.');
 
 
 
 
1018
  // Exit early if the current theme is not a FSE theme.
1019
+ if ( ! tec_is_full_site_editor() ) {
1020
  return;
1021
  }
1022
 
1040
  * @return array<string|mixed> $settings The modified settings array.
1041
  */
1042
  public function add_fse_customizer_link_to_display_tab( $settings ) {
1043
+ _deprecated_function( __METHOD__, '4.14.18', 'No replacement. Customizer link is preserved as long as we activate it.');
 
 
 
 
1044
  // Exit early if the current theme is not a FSE theme.
1045
+ if ( ! tec_is_full_site_editor() ) {
1046
  return $settings;
1047
  }
1048
 
common/src/Tribe/Editor/Compatibility/Classic_Editor.php CHANGED
@@ -229,24 +229,25 @@ class Classic_Editor {
229
  return $should_load_blocks;
230
  }
231
 
232
- $remember = static::classic_editor_remembers();
233
-
234
- if ( false !== $remember ) {
235
- $should_load_blocks = static::$block_term === $remember;
236
  }
237
 
 
238
  if ( static::get_classic_override() ) {
239
- $should_load_blocks = true;
240
- }
241
-
242
- if ( static::get_classic_param() ) {
243
- $should_load_blocks = false;
244
  }
245
 
246
  global $pagenow;
247
 
248
- // The profile setting only applies to new posts/etc so bail out now if we're not in the admin and creating a new event.
249
  if ( ! empty( $pagenow ) && ! in_array( $pagenow, [ 'post-new.php' ] ) ) {
 
 
 
 
 
 
250
  return $should_load_blocks;
251
  }
252
 
@@ -264,6 +265,11 @@ class Classic_Editor {
264
  $should_load_blocks = false;
265
  }
266
 
 
 
 
 
 
267
  return $should_load_blocks;
268
  }
269
 
229
  return $should_load_blocks;
230
  }
231
 
232
+ if ( static::get_classic_param() ) {
233
+ $should_load_blocks = false;
 
 
234
  }
235
 
236
+ // The override param inverts whatever else is set via parameter/preference.
237
  if ( static::get_classic_override() ) {
238
+ $should_load_blocks = ! $should_load_blocks;
 
 
 
 
239
  }
240
 
241
  global $pagenow;
242
 
243
+ // The profile and remember settings only apply to new posts/etc so bail out now if we're not in the admin and creating a new event.
244
  if ( ! empty( $pagenow ) && ! in_array( $pagenow, [ 'post-new.php' ] ) ) {
245
+ $remember = static::classic_editor_remembers();
246
+
247
+ if ( false !== $remember ) {
248
+ $should_load_blocks = static::$block_term === $remember;
249
+ }
250
+
251
  return $should_load_blocks;
252
  }
253
 
265
  $should_load_blocks = false;
266
  }
267
 
268
+ // The override param inverts whatever else is set via parameter/preference.
269
+ if ( static::get_classic_override() ) {
270
+ $should_load_blocks = ! $should_load_blocks;
271
+ }
272
+
273
  return $should_load_blocks;
274
  }
275
 
common/src/Tribe/Main.php CHANGED
@@ -19,16 +19,14 @@ class Tribe__Main {
19
  const EVENTSERROROPT = '_tribe_events_errors';
20
  const OPTIONNAME = 'tribe_events_calendar_options';
21
  const OPTIONNAMENETWORK = 'tribe_events_calendar_network_options';
22
-
23
- const VERSION = '4.14.16';
24
-
25
  const FEED_URL = 'https://theeventscalendar.com/feed/';
26
 
27
  protected $plugin_context;
28
  protected $plugin_context_class;
29
 
30
  public static $tribe_url = 'http://tri.be/';
31
- public static $tec_url = 'https://theeventscalendar.com/';
32
 
33
  public $plugin_dir;
34
  public $plugin_path;
@@ -88,6 +86,15 @@ class Tribe__Main {
88
  add_action( 'plugins_loaded', [ $this, 'plugins_loaded' ], 1 );
89
  add_action( 'tribe_common_loaded', [ $this, 'tribe_common_app_store' ], 10 );
90
  add_action( 'customize_controls_print_styles', [ $this, 'load_tec_variables' ], 10 );
 
 
 
 
 
 
 
 
 
91
  }
92
 
93
  /**
@@ -97,6 +104,7 @@ class Tribe__Main {
97
 
98
  $this->init_autoloading();
99
 
 
100
  $this->bind_implementations();
101
  $this->init_libraries();
102
  $this->add_hooks();
@@ -155,6 +163,15 @@ class Tribe__Main {
155
  return $this->plugin_context_class;
156
  }
157
 
 
 
 
 
 
 
 
 
 
158
  /**
159
  * initializes all required libraries
160
  */
19
  const EVENTSERROROPT = '_tribe_events_errors';
20
  const OPTIONNAME = 'tribe_events_calendar_options';
21
  const OPTIONNAMENETWORK = 'tribe_events_calendar_network_options';
22
+ const VERSION = '4.14.18';
 
 
23
  const FEED_URL = 'https://theeventscalendar.com/feed/';
24
 
25
  protected $plugin_context;
26
  protected $plugin_context_class;
27
 
28
  public static $tribe_url = 'http://tri.be/';
29
+ public static $tec_url = 'https://theeventscalendar.com/';
30
 
31
  public $plugin_dir;
32
  public $plugin_path;
86
  add_action( 'plugins_loaded', [ $this, 'plugins_loaded' ], 1 );
87
  add_action( 'tribe_common_loaded', [ $this, 'tribe_common_app_store' ], 10 );
88
  add_action( 'customize_controls_print_styles', [ $this, 'load_tec_variables' ], 10 );
89
+
90
+ if ( did_action( 'plugins_loaded' ) && ! doing_action( 'plugins_loaded' ) ) {
91
+ /*
92
+ * This might happen in the context of a plugin activation.
93
+ * Complete the loading now and set the singleton instance to avoid infinite loops.
94
+ */
95
+ self::$instance = $this;
96
+ $this->plugins_loaded();
97
+ }
98
  }
99
 
100
  /**
104
 
105
  $this->init_autoloading();
106
 
107
+ $this->init_early_libraries();
108
  $this->bind_implementations();
109
  $this->init_libraries();
110
  $this->add_hooks();
163
  return $this->plugin_context_class;
164
  }
165
 
166
+ /**
167
+ * Initializes all libraries used/required by our singletons.
168
+ *
169
+ * @since 4.14.18
170
+ */
171
+ public function init_early_libraries() {
172
+ require_once $this->plugin_path . 'src/functions/editor.php';
173
+ }
174
+
175
  /**
176
  * initializes all required libraries
177
  */
common/src/Tribe/Onboarding/README.md CHANGED
@@ -87,7 +87,7 @@ The function to hook onto `tribe_onboarding_tours` should have the following for
87
  *
88
  * @see \Tribe\Onboarding\Main::get_registered_tours()
89
  *
90
- * @since TBD
91
  *
92
  * @param array $tours An associative array of tours in the shape `[ <tour_id> => <class> ]`.
93
  *
@@ -138,7 +138,7 @@ class MyAwesomeTourClass extends Tour_Abstract {
138
  /**
139
  * Tour steps.
140
  *
141
- * @since TBD
142
  *
143
  * @return array $steps The tour steps
144
  */
@@ -239,4 +239,4 @@ function my_fancy_hints( $data ) {
239
 
240
  - [ ] Add some more styles variations.
241
  - [ ] Maybe add the possibility of having animated GIFs/images on each step.
242
- - [ ] Add some abstraction to extend this anywhere, and make it easier to check if it's in the page, and load the tours and/or hints we would like to add.
87
  *
88
  * @see \Tribe\Onboarding\Main::get_registered_tours()
89
  *
90
+ * @since 1.0
91
  *
92
  * @param array $tours An associative array of tours in the shape `[ <tour_id> => <class> ]`.
93
  *
138
  /**
139
  * Tour steps.
140
  *
141
+ * @since 1.0
142
  *
143
  * @return array $steps The tour steps
144
  */
239
 
240
  - [ ] Add some more styles variations.
241
  - [ ] Maybe add the possibility of having animated GIFs/images on each step.
242
+ - [ ] Add some abstraction to extend this anywhere, and make it easier to check if it's in the page, and load the tours and/or hints we would like to add.
common/src/Tribe/Process/Queue.php CHANGED
@@ -445,7 +445,7 @@ abstract class Tribe__Process__Queue extends Tribe__Process__Handler {
445
 
446
  foreach ( $split_data as $i => $iValue ) {
447
  $postfix = 0 === $i ? '' : "_{$i}";
448
- update_option( $key . $postfix, $split_data[ $i ] );
449
  }
450
 
451
  return count( $split_data );
445
 
446
  foreach ( $split_data as $i => $iValue ) {
447
  $postfix = 0 === $i ? '' : "_{$i}";
448
+ update_option( $key . $postfix, $split_data[ $i ], false );
449
  }
450
 
451
  return count( $split_data );
common/src/Tribe/Settings_Manager.php CHANGED
@@ -46,7 +46,7 @@ class Tribe__Settings_Manager {
46
  * @return void
47
  */
48
  public function update_options_cache( $option, $old_value, $value ) {
49
- // Bail when no our option.
50
  if ( Tribe__Main::OPTIONNAME !== $option ) {
51
  return;
52
  }
46
  * @return void
47
  */
48
  public function update_options_cache( $option, $old_value, $value ) {
49
+ // Bail when not our option.
50
  if ( Tribe__Main::OPTIONNAME !== $option ) {
51
  return;
52
  }
common/src/Tribe/Widget/Widget_Abstract.php CHANGED
@@ -285,11 +285,11 @@ abstract class Widget_Abstract extends \WP_Widget implements Widget_Interface {
285
  // Specifically on the admin we force the admin fields into the arguments.
286
  $this->arguments['admin_fields'] = $this->get_admin_fields();
287
 
288
- $this->toggle_hooks( true );
289
 
290
  $html = $this->get_admin_html( $this->get_arguments() );
291
 
292
- $this->toggle_hooks( false );
293
  return $html;
294
  }
295
 
@@ -302,11 +302,11 @@ abstract class Widget_Abstract extends \WP_Widget implements Widget_Interface {
302
 
303
  $this->setup( $args, $instance );
304
 
305
- $this->toggle_hooks( true );
306
 
307
  $html = $this->get_html();
308
 
309
- $this->toggle_hooks( false );
310
 
311
  echo $html;
312
 
@@ -792,15 +792,20 @@ abstract class Widget_Abstract extends \WP_Widget implements Widget_Interface {
792
  *
793
  * @since 4.13.0
794
  *
795
- * @param bool $toggle Whether to turn the hooks on or off.
 
796
  *
797
  * @return void
798
  */
799
- public function toggle_hooks( $toggle ) {
 
 
800
  if ( $toggle ) {
 
801
  $this->add_hooks();
802
  } else {
803
  $this->remove_hooks();
 
804
  }
805
 
806
  /**
285
  // Specifically on the admin we force the admin fields into the arguments.
286
  $this->arguments['admin_fields'] = $this->get_admin_fields();
287
 
288
+ $this->toggle_hooks( true, 'form' );
289
 
290
  $html = $this->get_admin_html( $this->get_arguments() );
291
 
292
+ $this->toggle_hooks( false, 'form' );
293
  return $html;
294
  }
295
 
302
 
303
  $this->setup( $args, $instance );
304
 
305
+ $this->toggle_hooks( true, 'display' );
306
 
307
  $html = $this->get_html();
308
 
309
+ $this->toggle_hooks( false, 'display' );
310
 
311
  echo $html;
312
 
792
  *
793
  * @since 4.13.0
794
  *
795
+ * @param bool $toggle Whether to turn the hooks on or off.
796
+ * @param string $location If we are doing the form (admin) or the display (front end)
797
  *
798
  * @return void
799
  */
800
+ public function toggle_hooks( $toggle, $location = 'display' ) {
801
+ $slug = static::get_widget_slug();
802
+
803
  if ( $toggle ) {
804
+ do_action( 'tec_start_widget_' . $location, $slug );
805
  $this->add_hooks();
806
  } else {
807
  $this->remove_hooks();
808
+ do_action( 'tec_end_widget_' . $location, $slug );
809
  }
810
 
811
  /**
common/src/admin-views/troubleshooting/ea-status.php CHANGED
@@ -26,6 +26,8 @@ $show_third_party_accounts = ! is_network_admin();
26
  if ( $ea_active ) {
27
  // current usage
28
  include_once Tribe__Main::instance()->plugin_path . 'src/admin-views/troubleshooting/ea-status/current-usage.php';
 
 
29
  // server connection
30
  include_once Tribe__Main::instance()->plugin_path . 'src/admin-views/troubleshooting/ea-status/server-connection.php';
31
  // scheduler status
26
  if ( $ea_active ) {
27
  // current usage
28
  include_once Tribe__Main::instance()->plugin_path . 'src/admin-views/troubleshooting/ea-status/current-usage.php';
29
+ // current status
30
+ include_once Tribe__Main::instance()->plugin_path . 'src/admin-views/troubleshooting/ea-status/current-status.php';
31
  // server connection
32
  include_once Tribe__Main::instance()->plugin_path . 'src/admin-views/troubleshooting/ea-status/server-connection.php';
33
  // scheduler status
common/src/admin-views/troubleshooting/ea-status/current-status.php ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * View: Troubleshooting - EA Status Table Current Status.
4
+ *
5
+ * @since 4.14.18
6
+ *
7
+ *
8
+ * @param array<string|string> $status_icons An array of icons for the EA Status table.
9
+ * @param \Tribe__Main $main An instance of the main class of Tribe Common.
10
+ *
11
+ */
12
+
13
+ $icon = 'success';
14
+ $notes = '&nbsp;';
15
+ $message = esc_html_x( 'Imports Enabled in Settings', '', 'tribe-common' );
16
+ $disabled = tribe_get_option( 'tribe_aggregator_disable', false );
17
+
18
+ if ( $disabled ) {
19
+ $icon = 'error';
20
+ $message = _x( 'Imports disabled in Settings', '', 'tribe-common' );
21
+ $settings_url = Tribe__Settings::instance()->get_url( array( 'tab' => 'imports' ) );
22
+ $notes = sprintf(
23
+ '<a href="%1$s">%2$s</a>',
24
+ esc_url( $settings_url ),
25
+ _x( 'Edit Import Settings', '','tribe-common' ),
26
+ );
27
+ }
28
+ ?>
29
+ <tr class="tribe-events-admin__ea-status-table-dark">
30
+ <td>
31
+ <?php esc_html_e( 'Enabled', 'tribe-common' ); ?>
32
+ </td>
33
+ <td>
34
+ <img
35
+ src="<?php echo esc_url( tribe_resource_url( $status_icons[ $icon ], false, null, $main ) ); ?>"
36
+ alt=""
37
+ />
38
+ <?php echo esc_html( $message ); ?>
39
+ </td>
40
+ <td><?php echo $notes; // Escaping handled above. ?></td>
41
+ </tr>
common/src/functions/conditionals.php CHANGED
@@ -9,7 +9,7 @@
9
  *
10
  * @return bool
11
  */
12
- function tec_should_hide_upsell( string $slug = 'all' ): bool {
13
  $verify = static function( $needle, $haystack ) {
14
  // In all cases if true or false boolean we return that.
15
  if ( is_bool( $haystack ) ) {
@@ -75,4 +75,4 @@ function tec_should_hide_upsell( string $slug = 'all' ): bool {
75
  $haystack = apply_filters( "tec_should_hide_upsell_{$slug}", $haystack, $slug );
76
 
77
  return $verify( $slug, $haystack );
78
- }
9
  *
10
  * @return bool
11
  */
12
+ function tec_should_hide_upsell( $slug = 'all' ) {
13
  $verify = static function( $needle, $haystack ) {
14
  // In all cases if true or false boolean we return that.
15
  if ( is_bool( $haystack ) ) {
75
  $haystack = apply_filters( "tec_should_hide_upsell_{$slug}", $haystack, $slug );
76
 
77
  return $verify( $slug, $haystack );
78
+ }
common/src/functions/editor.php ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if ( ! function_exists( 'tec_is_full_site_editor' ) ) {
3
+ /**
4
+ * Check if the current theme is a block theme.
5
+ *
6
+ * @since 4.14.18
7
+ *
8
+ * @return bool Whether the current theme is a block theme supporting full-site editing.
9
+ */
10
+ function tec_is_full_site_editor() {
11
+ if ( function_exists( 'wp_is_block_theme' ) ) {
12
+ return (bool) wp_is_block_theme();
13
+ } else if ( function_exists( 'gutenberg_is_fse_theme' ) ) {
14
+ // This function has returned wp_is_block_theme since 2021/12 so this is just in case someone hasn't updated.
15
+ return (bool) gutenberg_is_fse_theme();
16
+ }
17
+
18
+ return false;
19
+ }
20
+ }
common/vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInite2b6c48c260d9a65d52ef97a39195f6d::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInitdf0abf50cee040bbccac7a34e7e7442d::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 ComposerAutoloaderInit5217f01ce5582d50b3387a131988f9b2::getLoader();
4
 
5
  require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
6
 
7
+ return ComposerAutoloaderIniteaf25aca7ff67b2f83f6582eb2b00e56::getLoader();
common/vendor/composer/autoload_classmap.php CHANGED
@@ -114,6 +114,7 @@ return array(
114
  'Psr\\Log\\Test\\DummyTest' => $vendorDir . '/psr/log/Psr/Log/Test/DummyTest.php',
115
  'Psr\\Log\\Test\\LoggerInterfaceTest' => $vendorDir . '/psr/log/Psr/Log/Test/LoggerInterfaceTest.php',
116
  'Psr\\Log\\Test\\TestLogger' => $vendorDir . '/psr/log/Psr/Log/Test/TestLogger.php',
 
117
  'Tribe\\Admin\\Conditional_Content\\Black_Friday' => $baseDir . '/src/Tribe/Admin/Conditional_Content/Black_Friday.php',
118
  'Tribe\\Admin\\Conditional_Content\\Datetime_Conditional_Abstract' => $baseDir . '/src/Tribe/Admin/Conditional_Content/Datetime_Conditional_Abstract.php',
119
  'Tribe\\Admin\\Conditional_Content\\End_Of_Year_Sale' => $baseDir . '/src/Tribe/Admin/Conditional_Content/End_Of_Year_Sale.php',
114
  'Psr\\Log\\Test\\DummyTest' => $vendorDir . '/psr/log/Psr/Log/Test/DummyTest.php',
115
  'Psr\\Log\\Test\\LoggerInterfaceTest' => $vendorDir . '/psr/log/Psr/Log/Test/LoggerInterfaceTest.php',
116
  'Psr\\Log\\Test\\TestLogger' => $vendorDir . '/psr/log/Psr/Log/Test/TestLogger.php',
117
+ 'TEC\\Common\\Editor\\Full_Site\\Template_Utils' => $baseDir . '/src/Common/Editor/Full_Site/Template_Utils.php',
118
  'Tribe\\Admin\\Conditional_Content\\Black_Friday' => $baseDir . '/src/Tribe/Admin/Conditional_Content/Black_Friday.php',
119
  'Tribe\\Admin\\Conditional_Content\\Datetime_Conditional_Abstract' => $baseDir . '/src/Tribe/Admin/Conditional_Content/Datetime_Conditional_Abstract.php',
120
  'Tribe\\Admin\\Conditional_Content\\End_Of_Year_Sale' => $baseDir . '/src/Tribe/Admin/Conditional_Content/End_Of_Year_Sale.php',
common/vendor/composer/autoload_psr4.php CHANGED
@@ -7,6 +7,7 @@ $baseDir = dirname($vendorDir);
7
 
8
  return array(
9
  'Tribe\\' => array($baseDir . '/src/Tribe'),
 
10
  'Psr\\Log\\' => array($vendorDir . '/psr/log/Psr/Log'),
11
  'Monolog\\' => array($vendorDir . '/monolog/monolog/src/Monolog'),
12
  'Firebase\\JWT\\' => array($vendorDir . '/firebase/php-jwt/src'),
7
 
8
  return array(
9
  'Tribe\\' => array($baseDir . '/src/Tribe'),
10
+ 'TEC\\Common\\' => array($baseDir . '/src/Common'),
11
  'Psr\\Log\\' => array($vendorDir . '/psr/log/Psr/Log'),
12
  'Monolog\\' => array($vendorDir . '/monolog/monolog/src/Monolog'),
13
  'Firebase\\JWT\\' => array($vendorDir . '/firebase/php-jwt/src'),
common/vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInite2b6c48c260d9a65d52ef97a39195f6d
6
  {
7
  private static $loader;
8
 
@@ -19,15 +19,15 @@ class ComposerAutoloaderInite2b6c48c260d9a65d52ef97a39195f6d
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInite2b6c48c260d9a65d52ef97a39195f6d', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInite2b6c48c260d9a65d52ef97a39195f6d', '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\ComposerStaticInite2b6c48c260d9a65d52ef97a39195f6d::getInitializer($loader));
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 ComposerAutoloaderInitdf0abf50cee040bbccac7a34e7e7442d
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInitdf0abf50cee040bbccac7a34e7e7442d', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInitdf0abf50cee040bbccac7a34e7e7442d', '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\ComposerStaticInitdf0abf50cee040bbccac7a34e7e7442d::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 ComposerAutoloaderInit5217f01ce5582d50b3387a131988f9b2 {
6
  private static $loader;
7
 
8
  public static function loadClassLoader($class) {
@@ -19,9 +19,9 @@ class ComposerAutoloaderInit5217f01ce5582d50b3387a131988f9b2 {
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInit5217f01ce5582d50b3387a131988f9b2', 'loadClassLoader'), true /*, true */);
23
  self::$loader = $loader = new xrstf_Composer52_ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInit5217f01ce5582d50b3387a131988f9b2', 'loadClassLoader'));
25
 
26
  $vendorDir = dirname(dirname(__FILE__));
27
  $baseDir = dirname($vendorDir);
2
 
3
  // autoload_real_52.php generated by xrstf/composer-php52
4
 
5
+ class ComposerAutoloaderIniteaf25aca7ff67b2f83f6582eb2b00e56 {
6
  private static $loader;
7
 
8
  public static function loadClassLoader($class) {
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderIniteaf25aca7ff67b2f83f6582eb2b00e56', 'loadClassLoader'), true /*, true */);
23
  self::$loader = $loader = new xrstf_Composer52_ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderIniteaf25aca7ff67b2f83f6582eb2b00e56', 'loadClassLoader'));
25
 
26
  $vendorDir = dirname(dirname(__FILE__));
27
  $baseDir = dirname($vendorDir);
common/vendor/composer/autoload_static.php CHANGED
@@ -4,12 +4,13 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInite2b6c48c260d9a65d52ef97a39195f6d
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'T' =>
11
  array (
12
  'Tribe\\' => 6,
 
13
  ),
14
  'P' =>
15
  array (
@@ -30,6 +31,10 @@ class ComposerStaticInite2b6c48c260d9a65d52ef97a39195f6d
30
  array (
31
  0 => __DIR__ . '/../..' . '/src/Tribe',
32
  ),
 
 
 
 
33
  'Psr\\Log\\' =>
34
  array (
35
  0 => __DIR__ . '/..' . '/psr/log/Psr/Log',
@@ -170,6 +175,7 @@ class ComposerStaticInite2b6c48c260d9a65d52ef97a39195f6d
170
  'Psr\\Log\\Test\\DummyTest' => __DIR__ . '/..' . '/psr/log/Psr/Log/Test/DummyTest.php',
171
  'Psr\\Log\\Test\\LoggerInterfaceTest' => __DIR__ . '/..' . '/psr/log/Psr/Log/Test/LoggerInterfaceTest.php',
172
  'Psr\\Log\\Test\\TestLogger' => __DIR__ . '/..' . '/psr/log/Psr/Log/Test/TestLogger.php',
 
173
  'Tribe\\Admin\\Conditional_Content\\Black_Friday' => __DIR__ . '/../..' . '/src/Tribe/Admin/Conditional_Content/Black_Friday.php',
174
  'Tribe\\Admin\\Conditional_Content\\Datetime_Conditional_Abstract' => __DIR__ . '/../..' . '/src/Tribe/Admin/Conditional_Content/Datetime_Conditional_Abstract.php',
175
  'Tribe\\Admin\\Conditional_Content\\End_Of_Year_Sale' => __DIR__ . '/../..' . '/src/Tribe/Admin/Conditional_Content/End_Of_Year_Sale.php',
@@ -261,10 +267,10 @@ class ComposerStaticInite2b6c48c260d9a65d52ef97a39195f6d
261
  public static function getInitializer(ClassLoader $loader)
262
  {
263
  return \Closure::bind(function () use ($loader) {
264
- $loader->prefixLengthsPsr4 = ComposerStaticInite2b6c48c260d9a65d52ef97a39195f6d::$prefixLengthsPsr4;
265
- $loader->prefixDirsPsr4 = ComposerStaticInite2b6c48c260d9a65d52ef97a39195f6d::$prefixDirsPsr4;
266
- $loader->prefixesPsr0 = ComposerStaticInite2b6c48c260d9a65d52ef97a39195f6d::$prefixesPsr0;
267
- $loader->classMap = ComposerStaticInite2b6c48c260d9a65d52ef97a39195f6d::$classMap;
268
 
269
  }, null, ClassLoader::class);
270
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInitdf0abf50cee040bbccac7a34e7e7442d
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'T' =>
11
  array (
12
  'Tribe\\' => 6,
13
+ 'TEC\\Common\\' => 11,
14
  ),
15
  'P' =>
16
  array (
31
  array (
32
  0 => __DIR__ . '/../..' . '/src/Tribe',
33
  ),
34
+ 'TEC\\Common\\' =>
35
+ array (
36
+ 0 => __DIR__ . '/../..' . '/src/Common',
37
+ ),
38
  'Psr\\Log\\' =>
39
  array (
40
  0 => __DIR__ . '/..' . '/psr/log/Psr/Log',
175
  'Psr\\Log\\Test\\DummyTest' => __DIR__ . '/..' . '/psr/log/Psr/Log/Test/DummyTest.php',
176
  'Psr\\Log\\Test\\LoggerInterfaceTest' => __DIR__ . '/..' . '/psr/log/Psr/Log/Test/LoggerInterfaceTest.php',
177
  'Psr\\Log\\Test\\TestLogger' => __DIR__ . '/..' . '/psr/log/Psr/Log/Test/TestLogger.php',
178
+ 'TEC\\Common\\Editor\\Full_Site\\Template_Utils' => __DIR__ . '/../..' . '/src/Common/Editor/Full_Site/Template_Utils.php',
179
  'Tribe\\Admin\\Conditional_Content\\Black_Friday' => __DIR__ . '/../..' . '/src/Tribe/Admin/Conditional_Content/Black_Friday.php',
180
  'Tribe\\Admin\\Conditional_Content\\Datetime_Conditional_Abstract' => __DIR__ . '/../..' . '/src/Tribe/Admin/Conditional_Content/Datetime_Conditional_Abstract.php',
181
  'Tribe\\Admin\\Conditional_Content\\End_Of_Year_Sale' => __DIR__ . '/../..' . '/src/Tribe/Admin/Conditional_Content/End_Of_Year_Sale.php',
267
  public static function getInitializer(ClassLoader $loader)
268
  {
269
  return \Closure::bind(function () use ($loader) {
270
+ $loader->prefixLengthsPsr4 = ComposerStaticInitdf0abf50cee040bbccac7a34e7e7442d::$prefixLengthsPsr4;
271
+ $loader->prefixDirsPsr4 = ComposerStaticInitdf0abf50cee040bbccac7a34e7e7442d::$prefixDirsPsr4;
272
+ $loader->prefixesPsr0 = ComposerStaticInitdf0abf50cee040bbccac7a34e7e7442d::$prefixesPsr0;
273
+ $loader->classMap = ComposerStaticInitdf0abf50cee040bbccac7a34e7e7442d::$classMap;
274
 
275
  }, null, ClassLoader::class);
276
  }
lang/the-events-calendar-ar.mo CHANGED
Binary file
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-hr.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_BE.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
@@ -2,42 +2,46 @@
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.14.0.4\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/the-events-"
7
  "calendar\n"
8
- "POT-Creation-Date: 2022-03-16 15:17:45+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-03-16 15:17\n"
13
  "Last-Translator: \n"
14
  "Language-Team: \n"
15
 
16
- #: src/Tribe/API.php:793
 
 
 
 
17
  msgid ""
18
  "An event having a post meta value of `%s` meridian is not valid. Make sure "
19
  "it is either `am` or `pm`, or remove it entirely if using the 24-hour format."
20
  msgstr ""
21
 
22
- #: src/Tribe/API.php:821
23
  msgid ""
24
  "An event having a post meta value of `%s` hour (am/pm) is not valid. Make "
25
  "sure it is from 1 to 12."
26
  msgstr ""
27
 
28
- #: src/Tribe/API.php:838
29
  msgid ""
30
  "An event having a post meta value of `%s` hour (12-hour) is not valid. Make "
31
  "sure it is from 1 to 12."
32
  msgstr ""
33
 
34
- #: src/Tribe/API.php:845
35
  msgid ""
36
  "An event having a post meta value of `%s` hour (24-hour) is not valid. Make "
37
  "sure it is from 0 to 23."
38
  msgstr ""
39
 
40
- #: src/Tribe/API.php:875 src/Tribe/API.php:886
41
  msgid ""
42
  "An event having a post meta value of `%s` minutes is not valid. Make sure it "
43
  "is from 0 to 59."
@@ -47,7 +51,7 @@ msgstr ""
47
  msgid "%s"
48
  msgstr ""
49
 
50
- #: src/Tribe/Admin/Bar/Default_Configurator.php:45 src/Tribe/Main.php:4396
51
  #: src/Tribe/Views/V2/Views/Widgets/Widget_View.php:61
52
  #: src/admin-views/tribe-options-upgrade.php:20
53
  msgid "View Calendar"
@@ -58,8 +62,8 @@ msgid "Add %s"
58
  msgstr ""
59
 
60
  #: src/Tribe/Admin/Bar/Default_Configurator.php:62
61
- #: src/Tribe/Linked_Posts/Chooser_Meta_Box.php:210 src/Tribe/Main.php:2166
62
- #: src/Tribe/Main.php:5504 src/Tribe/Main.php:5551 src/Tribe/Organizer.php:93
63
  #: src/Tribe/Venue.php:129
64
  msgid "Edit %s"
65
  msgstr ""
@@ -70,7 +74,7 @@ msgstr ""
70
  msgid "Import"
71
  msgstr ""
72
 
73
- #: src/Tribe/Admin/Bar/Default_Configurator.php:89 src/Tribe/Main.php:4444
74
  msgid "Settings"
75
  msgstr ""
76
 
@@ -163,7 +167,7 @@ msgid ""
163
  "refresh and try again."
164
  msgstr ""
165
 
166
- #: src/Tribe/Admin_List.php:299 src/Tribe/Main.php:2218
167
  msgid "%s Categories"
168
  msgstr ""
169
 
@@ -1725,7 +1729,7 @@ msgstr ""
1725
  msgid "Renew your Event Aggregator Facebook token"
1726
  msgstr ""
1727
 
1728
- #: src/Tribe/Amalgamator.php:261 src/admin-views/tribe-options-general.php:172
1729
  msgid "Merge Duplicates"
1730
  msgstr ""
1731
 
@@ -2144,15 +2148,15 @@ msgstr ""
2144
  #: src/Tribe/Template/Single_Event.php:123
2145
  #: src/Tribe/Views/V2/Template_Bootstrap.php:141
2146
  #: src/Tribe/Views/V2/Template_Bootstrap.php:181
2147
- #: src/Tribe/Views/V2/Template_Bootstrap.php:502
2148
  msgid "This %s has passed."
2149
  msgstr ""
2150
 
2151
- #: src/Tribe/Editor.php:286 src/Tribe/Editor.php:329
2152
  msgid "Add Description..."
2153
  msgstr ""
2154
 
2155
- #: src/Tribe/Editor.php:660 src/Tribe/Editor.php:693
2156
  msgid "Event Blocks"
2157
  msgstr ""
2158
 
@@ -2501,106 +2505,110 @@ msgid "Event Cost"
2501
  msgstr ""
2502
 
2503
  #: src/Tribe/Importer/Column_Mapper.php:79
2504
- msgid "Event Currency Symbol"
2505
  msgstr ""
2506
 
2507
  #: src/Tribe/Importer/Column_Mapper.php:80
2508
- msgid "Event Currency Position"
2509
  msgstr ""
2510
 
2511
  #: src/Tribe/Importer/Column_Mapper.php:81
2512
- msgid "Event Category"
2513
  msgstr ""
2514
 
2515
  #: src/Tribe/Importer/Column_Mapper.php:82
2516
- msgid "Event Tags"
2517
  msgstr ""
2518
 
2519
  #: src/Tribe/Importer/Column_Mapper.php:83
2520
- msgid "Event Website"
2521
  msgstr ""
2522
 
2523
  #: src/Tribe/Importer/Column_Mapper.php:84
2524
- msgid "Event Featured Image"
2525
  msgstr ""
2526
 
2527
  #: src/Tribe/Importer/Column_Mapper.php:85
2528
- msgid "Event Allow Comments"
2529
  msgstr ""
2530
 
2531
  #: src/Tribe/Importer/Column_Mapper.php:86
 
 
 
 
2532
  msgid "Event Allow Trackbacks and Pingbacks"
2533
  msgstr ""
2534
 
2535
- #: src/Tribe/Importer/Column_Mapper.php:99
2536
  msgid "Venue Name"
2537
  msgstr ""
2538
 
2539
- #: src/Tribe/Importer/Column_Mapper.php:100
2540
  msgid "Venue Description"
2541
  msgstr ""
2542
 
2543
- #: src/Tribe/Importer/Column_Mapper.php:101
2544
  #: src/admin-views/create-venue-fields.php:120
2545
  msgid "Venue Country"
2546
  msgstr ""
2547
 
2548
- #: src/Tribe/Importer/Column_Mapper.php:102
2549
  #: src/admin-views/create-venue-fields.php:82
2550
  msgid "Venue Address"
2551
  msgstr ""
2552
 
2553
- #: src/Tribe/Importer/Column_Mapper.php:103
2554
  msgid "Venue Address 2"
2555
  msgstr ""
2556
 
2557
- #: src/Tribe/Importer/Column_Mapper.php:104
2558
  #: src/admin-views/create-venue-fields.php:95
2559
  msgid "Venue City"
2560
  msgstr ""
2561
 
2562
- #: src/Tribe/Importer/Column_Mapper.php:105
2563
  msgid "Venue State/Province"
2564
  msgstr ""
2565
 
2566
- #: src/Tribe/Importer/Column_Mapper.php:106
2567
  msgid "Venue Zip"
2568
  msgstr ""
2569
 
2570
- #: src/Tribe/Importer/Column_Mapper.php:107
2571
  #: src/admin-views/create-venue-fields.php:190
2572
  msgid "Venue Phone"
2573
  msgstr ""
2574
 
2575
- #: src/Tribe/Importer/Column_Mapper.php:108
2576
  msgid "Venue Website"
2577
  msgstr ""
2578
 
2579
- #: src/Tribe/Importer/Column_Mapper.php:109
2580
  msgid "Venue Featured Image"
2581
  msgstr ""
2582
 
2583
- #: src/Tribe/Importer/Column_Mapper.php:122
2584
  msgid "Organizer Name"
2585
  msgstr ""
2586
 
2587
- #: src/Tribe/Importer/Column_Mapper.php:123
2588
  msgid "Organizer Description"
2589
  msgstr ""
2590
 
2591
- #: src/Tribe/Importer/Column_Mapper.php:124
2592
  msgid "Organizer Email"
2593
  msgstr ""
2594
 
2595
- #: src/Tribe/Importer/Column_Mapper.php:125
2596
  msgid "Organizer Website"
2597
  msgstr ""
2598
 
2599
- #: src/Tribe/Importer/Column_Mapper.php:126
2600
  msgid "Organizer Phone"
2601
  msgstr ""
2602
 
2603
- #: src/Tribe/Importer/Column_Mapper.php:127
2604
  msgid "Organizer Featured Image"
2605
  msgstr ""
2606
 
@@ -2778,205 +2786,205 @@ msgstr ""
2778
  msgid "Upcoming Events"
2779
  msgstr ""
2780
 
2781
- #. #-#-#-#-# the-events-calendar.pot (The Events Calendar 5.14.0.4) #-#-#-#-#
2782
  #. Plugin Name of the plugin/theme
2783
- #. #-#-#-#-# the-events-calendar.pot (The Events Calendar 5.14.0.4) #-#-#-#-#
2784
  #. Author of the plugin/theme
2785
- #: src/Tribe/Main.php:1007 src/Tribe/Main.php:1511 src/Tribe/Privacy.php:29
2786
  #: src/admin-views/admin-welcome-message.php:29
2787
  #: src/functions/template-tags/general.php:1533 the-events-calendar.php:55
2788
  msgid "The Events Calendar"
2789
  msgstr ""
2790
 
2791
- #: src/Tribe/Main.php:1014
2792
  msgid "month"
2793
  msgstr ""
2794
 
2795
- #: src/Tribe/Main.php:1015
2796
  msgid "list"
2797
  msgstr ""
2798
 
2799
- #: src/Tribe/Main.php:1016
2800
  msgid "upcoming"
2801
  msgstr ""
2802
 
2803
- #: src/Tribe/Main.php:1017
2804
  msgid "past"
2805
  msgstr ""
2806
 
2807
- #: src/Tribe/Main.php:1018
2808
  msgid "day"
2809
  msgstr ""
2810
 
2811
- #: src/Tribe/Main.php:1019
2812
  msgid "today"
2813
  msgstr ""
2814
 
2815
- #: src/Tribe/Main.php:1020
2816
  msgctxt "featured events slug"
2817
  msgid "featured"
2818
  msgstr ""
2819
 
2820
- #: src/Tribe/Main.php:1021
2821
  msgctxt "all events slug"
2822
  msgid "all"
2823
  msgstr ""
2824
 
2825
- #: src/Tribe/Main.php:1047
2826
  msgid "Initializing Tribe Events on %s"
2827
  msgstr ""
2828
 
2829
- #: src/Tribe/Main.php:1106 src/Tribe/Main.php:1108
2830
  msgid "Welcome to The Events Calendar!"
2831
  msgstr ""
2832
 
2833
- #: src/Tribe/Main.php:1257
2834
  msgid ""
2835
  "The %3$s \"%1$s\" uses the \"/%2$s\" slug: the Events Calendar plugin will "
2836
  "show its calendar in place of the page."
2837
  msgstr ""
2838
 
2839
- #: src/Tribe/Main.php:1260
2840
  msgid "Ask the site administrator to edit the %s slug"
2841
  msgstr ""
2842
 
2843
- #: src/Tribe/Main.php:1262
2844
  msgid "Edit the %s slug"
2845
  msgstr ""
2846
 
2847
- #: src/Tribe/Main.php:1266
2848
  msgid " ask the site administrator to set a different Events URL slug."
2849
  msgstr ""
2850
 
2851
- #: src/Tribe/Main.php:1271
2852
  msgid "edit Events settings."
2853
  msgstr ""
2854
 
2855
- #: src/Tribe/Main.php:1274
2856
  msgid "%1$s or %2$s"
2857
  msgstr ""
2858
 
2859
- #: src/Tribe/Main.php:1343
2860
  msgid "Upgrade your calendar views"
2861
  msgstr ""
2862
 
2863
- #: src/Tribe/Main.php:1380
2864
  msgid "Upgrade"
2865
  msgstr ""
2866
 
2867
- #: src/Tribe/Main.php:1431
2868
  msgid "New User Primer"
2869
  msgstr ""
2870
 
2871
- #: src/Tribe/Main.php:1433
2872
  msgid ""
2873
  "We are committed to helping make your calendar spectacular and have a wealth "
2874
  "of resources available, including a handy %s to get your calendar up and "
2875
  "running."
2876
  msgstr ""
2877
 
2878
- #: src/Tribe/Main.php:1444
2879
  msgid "Support for The Events Calendar"
2880
  msgstr ""
2881
 
2882
- #: src/Tribe/Main.php:1450
2883
  msgid ""
2884
  "%s: A thorough walkthrough of The Events Calendar and the settings that are "
2885
  "available to you."
2886
  msgstr ""
2887
 
2888
- #: src/Tribe/Main.php:1454
2889
  msgid "Settings overview"
2890
  msgstr ""
2891
 
2892
- #: src/Tribe/Main.php:1458
2893
  msgid ""
2894
  "%s: A complete look at the features you can expect to see right out of the "
2895
  "box as well as how to use them."
2896
  msgstr ""
2897
 
2898
- #: src/Tribe/Main.php:1462
2899
  msgid "Features overview"
2900
  msgstr ""
2901
 
2902
- #: src/Tribe/Main.php:1466
2903
  msgid ""
2904
  "%s: Our most comprehensive outline for customizing the calendar to suit your "
2905
  "needs, including custom layouts and styles."
2906
  msgstr ""
2907
 
2908
- #: src/Tribe/Main.php:1470
2909
  msgid "Themer's Guide"
2910
  msgstr ""
2911
 
2912
- #: src/Tribe/Main.php:1474
2913
  msgid ""
2914
  "%s: An overview of the default templates and styles that are included in the "
2915
  "plugin, as well as how to change them."
2916
  msgstr ""
2917
 
2918
- #: src/Tribe/Main.php:1478
2919
  msgid "Using stylesheets and page templates"
2920
  msgstr ""
2921
 
2922
- #: src/Tribe/Main.php:1482
2923
  msgid ""
2924
  "%s: Do you see an issue with your calendar? Go here first to find where it’s "
2925
  "coming from and how to fix it."
2926
  msgstr ""
2927
 
2928
- #: src/Tribe/Main.php:1486
2929
  msgid "Troubleshooting common problems"
2930
  msgstr ""
2931
 
2932
- #: src/Tribe/Main.php:1490
2933
  msgid ""
2934
  "%s: Code and guides for customizing your calendar in useful and interesting "
2935
  "ways."
2936
  msgstr ""
2937
 
2938
- #: src/Tribe/Main.php:1494
2939
  msgid "Customizing the Events plugins"
2940
  msgstr ""
2941
 
2942
- #: src/Tribe/Main.php:1512
2943
  msgid "Events Tickets"
2944
  msgstr ""
2945
 
2946
- #: src/Tribe/Main.php:1513
2947
  msgid ""
2948
  "If you have tried the above steps and are still having trouble, you can post "
2949
  "a new thread to our WordPress.org forums for %1$s or %2$s. Our support staff "
2950
  "monitors these forums once a week and would be happy to assist you there. "
2951
  msgstr ""
2952
 
2953
- #: src/Tribe/Main.php:1515 src/Tribe/Main.php:1523
2954
  msgid "premium support on our website"
2955
  msgstr ""
2956
 
2957
- #: src/Tribe/Main.php:1516
2958
  msgid ""
2959
  "<strong>Looking for more immediate support?</strong> We offer %s with the "
2960
  "purchase of any of our premium plugins. Pick up a license and you can post "
2961
  "there directly and expect a response within 24-48 hours during weekdays"
2962
  msgstr ""
2963
 
2964
- #: src/Tribe/Main.php:1520
2965
  msgid "open-source forum on WordPress.org"
2966
  msgstr ""
2967
 
2968
- #: src/Tribe/Main.php:1521
2969
  msgid ""
2970
  "If you have tried the above steps and are still having trouble, you can post "
2971
  "a new thread to our %s. Our support staff monitors these forums once a week "
2972
  "and would be happy to assist you there."
2973
  msgstr ""
2974
 
2975
- #: src/Tribe/Main.php:1524
2976
  msgid "Events Calendar PRO"
2977
  msgstr ""
2978
 
2979
- #: src/Tribe/Main.php:1525
2980
  msgid ""
2981
  "<strong>Looking for more immediate support?</strong> We offer %1$s with the "
2982
  "purchase of any of our premium plugins (like %2$s). Pick up a license and "
@@ -2984,113 +2992,113 @@ msgid ""
2984
  "weekdays."
2985
  msgstr ""
2986
 
2987
- #: src/Tribe/Main.php:1529
2988
  msgid "post a thread"
2989
  msgstr ""
2990
 
2991
- #: src/Tribe/Main.php:1530
2992
  msgid ""
2993
  "If you have a valid license for one of our paid plugins, you can %s in our "
2994
  "premium support forums. Our support team monitors the forums and will "
2995
  "respond to your thread within 24-48 hours (during the week)."
2996
  msgstr ""
2997
 
2998
- #: src/Tribe/Main.php:1573
2999
  #: src/deprecated/Tribe__Events__Importer__Admin_Page.php:208
3000
  #: src/functions/template-tags/general.php:137
3001
  msgid "Events"
3002
  msgstr ""
3003
 
3004
- #: src/Tribe/Main.php:1581 src/admin-views/aggregator/tabs/import-form.php:227
3005
  #: src/admin-views/aggregator/tabs/import-form.php:239
3006
  #: src/functions/template-tags/general.php:81
3007
  msgid "Event"
3008
  msgstr ""
3009
 
3010
- #: src/Tribe/Main.php:1799
3011
  msgid ""
3012
  "Sorry, The Events Calendar requires WordPress %s or higher. Please upgrade "
3013
  "your WordPress install."
3014
  msgstr ""
3015
 
3016
- #: src/Tribe/Main.php:1802
3017
  msgid ""
3018
  "Sorry, The Events Calendar requires PHP %s or higher. Talk to your Web host "
3019
  "about moving you to a newer version of PHP."
3020
  msgstr ""
3021
 
3022
- #: src/Tribe/Main.php:1837
3023
  msgid ""
3024
  "To continue using The Events Calendar, please install the latest version of"
3025
  msgstr ""
3026
 
3027
- #: src/Tribe/Main.php:1839 src/Tribe/Main.php:1840
3028
  msgid "Event Tickets"
3029
  msgstr ""
3030
 
3031
- #: src/Tribe/Main.php:1875
3032
  msgid ""
3033
  "It appears as if the tribe-common libraries cannot be found! The directory "
3034
  "should be in the \"common/\" directory in the events calendar plugin."
3035
  msgstr ""
3036
 
3037
- #: src/Tribe/Main.php:2112 src/Tribe/Main.php:2664
3038
  msgid "category"
3039
  msgstr ""
3040
 
3041
- #: src/Tribe/Main.php:2126 src/Tribe/Main.php:2663
3042
  msgid "tag"
3043
  msgstr ""
3044
 
3045
- #: src/Tribe/Main.php:2161 src/Tribe/Organizer.php:91 src/Tribe/Venue.php:127
3046
  msgid "Add New"
3047
  msgstr ""
3048
 
3049
- #: src/Tribe/Main.php:2163 src/Tribe/Main.php:2370 src/Tribe/Main.php:2371
3050
  #: src/Tribe/Organizer.php:92 src/Tribe/Venue.php:128
3051
  msgid "Add New %s"
3052
  msgstr ""
3053
 
3054
- #: src/Tribe/Main.php:2169 src/Tribe/Organizer.php:94 src/Tribe/Venue.php:130
3055
  msgid "New %s"
3056
  msgstr ""
3057
 
3058
- #: src/Tribe/Main.php:2172 src/Tribe/Organizer.php:95 src/Tribe/Venue.php:131
3059
  #: src/views/month/single-day.php:31
3060
  msgid "View %s"
3061
  msgstr ""
3062
 
3063
- #: src/Tribe/Main.php:2175 src/Tribe/Organizer.php:96 src/Tribe/Venue.php:132
3064
  msgid "Search %s"
3065
  msgstr ""
3066
 
3067
- #: src/Tribe/Main.php:2178 src/Tribe/Organizer.php:97 src/Tribe/Venue.php:133
3068
  msgid "No %s found"
3069
  msgstr ""
3070
 
3071
- #: src/Tribe/Main.php:2181 src/Tribe/Organizer.php:98 src/Tribe/Venue.php:134
3072
  msgid "No %s found in Trash"
3073
  msgstr ""
3074
 
3075
- #: src/Tribe/Main.php:2184 src/Tribe/Main.php:2323 src/Tribe/Main.php:2345
3076
  #: src/Tribe/Organizer.php:99 src/Tribe/Venue.php:135
3077
  msgid "%s published."
3078
  msgstr ""
3079
 
3080
- #: src/Tribe/Main.php:2187 src/Tribe/Organizer.php:100 src/Tribe/Venue.php:136
3081
  msgid "%s published privately."
3082
  msgstr ""
3083
 
3084
- #: src/Tribe/Main.php:2190 src/Tribe/Organizer.php:101 src/Tribe/Venue.php:137
3085
  msgid "%s reverted to draft."
3086
  msgstr ""
3087
 
3088
- #: src/Tribe/Main.php:2193 src/Tribe/Organizer.php:102 src/Tribe/Venue.php:138
3089
  msgid "%s scheduled."
3090
  msgstr ""
3091
 
3092
- #: src/Tribe/Main.php:2196 src/Tribe/Main.php:2279 src/Tribe/Main.php:2315
3093
- #: src/Tribe/Main.php:2318 src/Tribe/Main.php:2337 src/Tribe/Main.php:2340
3094
  #: src/Tribe/Organizer.php:103 src/Tribe/Venue.php:139
3095
  msgid "%s updated."
3096
  msgstr ""
@@ -3098,334 +3106,333 @@ msgstr ""
3098
  #. Translators: %s: Event singular.
3099
  #. Translators: %s: Organizer singular.
3100
  #. Translators: %s: Venue singular.
3101
- #: src/Tribe/Main.php:2200 src/Tribe/Organizer.php:106 src/Tribe/Venue.php:142
3102
  msgid "%s Link"
3103
  msgstr ""
3104
 
3105
  #. Translators: %s: Event singular.
3106
  #. Translators: %s: Organizer singular.
3107
  #. Translators: %s: Venue singular.
3108
- #: src/Tribe/Main.php:2204 src/Tribe/Organizer.php:110 src/Tribe/Venue.php:146
3109
  msgid "A link to a particular %s."
3110
  msgstr ""
3111
 
3112
- #: src/Tribe/Main.php:2221
3113
  msgid "%s Category"
3114
  msgstr ""
3115
 
3116
- #: src/Tribe/Main.php:2224
3117
  msgid "Search %s Categories"
3118
  msgstr ""
3119
 
3120
- #: src/Tribe/Main.php:2227
3121
  msgid "All %s Categories"
3122
  msgstr ""
3123
 
3124
- #: src/Tribe/Main.php:2230
3125
  msgid "Parent %s Category"
3126
  msgstr ""
3127
 
3128
- #: src/Tribe/Main.php:2233
3129
  msgid "Parent %s Category:"
3130
  msgstr ""
3131
 
3132
- #: src/Tribe/Main.php:2236
3133
  msgid "Edit %s Category"
3134
  msgstr ""
3135
 
3136
- #: src/Tribe/Main.php:2239
3137
  msgid "Update %s Category"
3138
  msgstr ""
3139
 
3140
- #: src/Tribe/Main.php:2242
3141
  msgid "Add New %s Category"
3142
  msgstr ""
3143
 
3144
- #: src/Tribe/Main.php:2245
3145
  msgid "New %s Category Name"
3146
  msgstr ""
3147
 
3148
  #. Translators: %s: Event singular.
3149
- #: src/Tribe/Main.php:2249
3150
  msgid "%s Category Link"
3151
  msgstr ""
3152
 
3153
  #. Translators: %s: Event singular.
3154
- #: src/Tribe/Main.php:2253
3155
  msgid "A link to a particular %s category."
3156
  msgstr ""
3157
 
3158
- #: src/Tribe/Main.php:2272
3159
  msgid "%1$s updated. %2$sView %1$s%3$s"
3160
  msgstr ""
3161
 
3162
- #: src/Tribe/Main.php:2277 src/Tribe/Main.php:2316 src/Tribe/Main.php:2338
3163
  msgid "Custom field updated."
3164
  msgstr ""
3165
 
3166
- #: src/Tribe/Main.php:2278 src/Tribe/Main.php:2317 src/Tribe/Main.php:2339
3167
  msgid "Custom field deleted."
3168
  msgstr ""
3169
 
3170
  #. translators: %s: date and time of the revision
3171
- #: src/Tribe/Main.php:2282 src/Tribe/Main.php:2321
3172
  msgid "%1$s restored to revision from %2$s"
3173
  msgstr ""
3174
 
3175
- #: src/Tribe/Main.php:2285
3176
  msgid "%1$s published. %2$sView %3$s"
3177
  msgstr ""
3178
 
3179
- #: src/Tribe/Main.php:2290 src/Tribe/Main.php:2324 src/Tribe/Main.php:2346
3180
  msgid "%s saved."
3181
  msgstr ""
3182
 
3183
- #: src/Tribe/Main.php:2292
3184
  msgid "%1$s submitted. %2$sPreview %3$s"
3185
  msgstr ""
3186
 
3187
- #: src/Tribe/Main.php:2298
3188
  msgid "%1$s scheduled for: %2$s. %3$sPreview %4$s"
3189
  msgstr ""
3190
 
3191
  #. translators: Publish box date format, see http://php.net/date
3192
- #: src/Tribe/Main.php:2301 src/Tribe/Main.php:2330 src/Tribe/Main.php:2352
3193
  msgid "M j, Y @ G:i"
3194
  msgstr ""
3195
 
3196
- #: src/Tribe/Main.php:2306
3197
  msgid "%1$s draft updated. %2$sPreview %3$s"
3198
  msgstr ""
3199
 
3200
- #: src/Tribe/Main.php:2325 src/Tribe/Main.php:2347
3201
  msgid "%s submitted."
3202
  msgstr ""
3203
 
3204
- #: src/Tribe/Main.php:2327 src/Tribe/Main.php:2349
3205
  msgid "%1$s scheduled for: %2$s."
3206
  msgstr ""
3207
 
3208
- #: src/Tribe/Main.php:2332 src/Tribe/Main.php:2355
3209
  msgid "%s draft updated."
3210
  msgstr ""
3211
 
3212
  #. translators: %s: date and time of the revision
3213
- #: src/Tribe/Main.php:2343
3214
  msgid "%s restored to revision from %s"
3215
  msgstr ""
3216
 
3217
- #: src/Tribe/Main.php:2400
3218
  msgid ""
3219
  "Without a defined location your event will not display a %sGoogle Rich "
3220
  "Snippet%s on the search results."
3221
  msgstr ""
3222
 
3223
- #: src/Tribe/Main.php:2665
3224
  msgid "page"
3225
  msgstr ""
3226
 
3227
- #: src/Tribe/Main.php:2666 src/functions/template-tags/general.php:109
3228
  msgid "event"
3229
  msgstr ""
3230
 
3231
- #: src/Tribe/Main.php:2667 src/functions/template-tags/general.php:165
3232
  msgid "events"
3233
  msgstr ""
3234
 
3235
- #: src/Tribe/Main.php:2668
3236
  msgid "all"
3237
  msgstr ""
3238
 
3239
- #: src/Tribe/Main.php:3057
3240
- #: src/Tribe/Views/V2/iCalendar/Links/Google_Calendar.php:222
3241
  msgid " (View Full %1$s Description Here: %2$s)"
3242
  msgstr ""
3243
 
3244
- #: src/Tribe/Main.php:3850 src/Tribe/Main.php:3885
3245
  #: src/functions/template-tags/day.php:157
3246
  #: src/functions/template-tags/day.php:178
3247
  msgid "Date out of range."
3248
  msgstr ""
3249
 
3250
- #: src/Tribe/Main.php:3915
3251
  msgid "%s Options"
3252
  msgstr ""
3253
 
3254
- #: src/Tribe/Main.php:4268
3255
  msgid "Support"
3256
  msgstr ""
3257
 
3258
- #: src/Tribe/Main.php:4271
3259
  msgid "View All Add-Ons"
3260
  msgstr ""
3261
 
3262
- #: src/Tribe/Main.php:4292
3263
  msgid "News from The Events Calendar"
3264
  msgstr ""
3265
 
3266
- #: src/Tribe/Main.php:4338
3267
  msgid "Additional Functionality"
3268
  msgstr ""
3269
 
3270
- #: src/Tribe/Main.php:4343
3271
  msgid ""
3272
  "Looking for additional functionality including recurring events, ticket "
3273
  "sales, publicly submitted events, new views and more?"
3274
  msgstr ""
3275
 
3276
- #: src/Tribe/Main.php:4344
3277
  msgid "Check out the %savailable add-ons%s."
3278
  msgstr ""
3279
 
3280
- #: src/Tribe/Main.php:4445
3281
  msgid "Calendar"
3282
  msgstr ""
3283
 
3284
- #: src/Tribe/Main.php:4461
3285
  msgid "List"
3286
  msgstr ""
3287
 
3288
- #: src/Tribe/Main.php:4479
3289
  msgid "Month"
3290
  msgstr ""
3291
 
3292
- #: src/Tribe/Main.php:4496 src/admin-views/aggregator/fields/schedule.php:43
3293
  #: src/admin-views/aggregator/fields/schedule.php:61
3294
  msgid "Day"
3295
  msgstr ""
3296
 
3297
- #: src/Tribe/Main.php:4519
3298
  msgid "Search for %s by Keyword."
3299
  msgstr ""
3300
 
3301
- #: src/Tribe/Main.php:4522
3302
  #: src/views/v2/components/events-bar/search-button.php:24
3303
  msgid "Search"
3304
  msgstr ""
3305
 
3306
- #: src/Tribe/Main.php:4523
3307
  msgid "Keyword"
3308
  msgstr ""
3309
 
3310
- #: src/Tribe/Main.php:4540
3311
  msgid "4 digit year hyphen 2 digit month hyphen 2 digit day"
3312
  msgstr ""
3313
 
3314
- #: src/Tribe/Main.php:4541
3315
  msgid "1 digit month slash 1 digit day slash 4 digit year"
3316
  msgstr ""
3317
 
3318
- #: src/Tribe/Main.php:4542
3319
  msgid "2 digit month slash 2 digit day slash 4 digit year"
3320
  msgstr ""
3321
 
3322
- #: src/Tribe/Main.php:4543
3323
  msgid "1 digit day slash 1 digit month slash 4 digit year"
3324
  msgstr ""
3325
 
3326
- #: src/Tribe/Main.php:4544
3327
  msgid "2 digit day slash 2 digit month slash 4 digit year"
3328
  msgstr ""
3329
 
3330
- #: src/Tribe/Main.php:4545
3331
  msgid "1 digit month hyphen 1 digit day hyphen 4 digit year"
3332
  msgstr ""
3333
 
3334
- #: src/Tribe/Main.php:4546
3335
  msgid "1 digit month hyphen 2 digit day hyphen 4 digit year"
3336
  msgstr ""
3337
 
3338
- #: src/Tribe/Main.php:4547
3339
  msgid "1 digit day hyphen 1 digit month hyphen 4 digit year"
3340
  msgstr ""
3341
 
3342
- #: src/Tribe/Main.php:4548
3343
  msgid "2 digit day hyphen 2 digit month hyphen 4 digit year"
3344
  msgstr ""
3345
 
3346
- #: src/Tribe/Main.php:4549
3347
  msgid "4 digit year dot 2 digit month dot 2 digit day"
3348
  msgstr ""
3349
 
3350
- #: src/Tribe/Main.php:4550
3351
  msgid "2 digit month dot 2 digit day dot 4 digit year"
3352
  msgstr ""
3353
 
3354
- #: src/Tribe/Main.php:4551
3355
  msgid "2 digit day dot 2 digit month dot 4 digit year"
3356
  msgstr ""
3357
 
3358
- #: src/Tribe/Main.php:4555
3359
  msgid "4 digit year hyphen 2 digit month"
3360
  msgstr ""
3361
 
3362
- #: src/Tribe/Main.php:4556 src/Tribe/Main.php:4558
3363
  msgid "1 digit month slash 4 digit year"
3364
  msgstr ""
3365
 
3366
- #: src/Tribe/Main.php:4557 src/Tribe/Main.php:4559
3367
  msgid "2 digit month slash 4 digit year"
3368
  msgstr ""
3369
 
3370
- #: src/Tribe/Main.php:4560 src/Tribe/Main.php:4561 src/Tribe/Main.php:4562
3371
  msgid "1 digit month hyphen 4 digit year"
3372
  msgstr ""
3373
 
3374
- #: src/Tribe/Main.php:4563
3375
  msgid "2 digit month hyphen 4 digit year"
3376
  msgstr ""
3377
 
3378
- #: src/Tribe/Main.php:4564
3379
  msgid "4 digit year dot 2 digit month"
3380
  msgstr ""
3381
 
3382
- #: src/Tribe/Main.php:4565 src/Tribe/Main.php:4566
3383
  msgid "2 digit month dot 4 digit year"
3384
  msgstr ""
3385
 
3386
- #: src/Tribe/Main.php:4595 src/Tribe/Main.php:4632
3387
  #: src/admin-views/aggregator/origins/refine.php:7
3388
  msgid "Date"
3389
  msgstr ""
3390
 
3391
- #: src/Tribe/Main.php:4597
3392
  msgid "Search for %s by Date. Please use the format %s."
3393
  msgstr ""
3394
 
3395
- #: src/Tribe/Main.php:4610
3396
  msgid "%s In"
3397
  msgstr ""
3398
 
3399
- #: src/Tribe/Main.php:4612
3400
  msgid "Search for %s by month. Please use the format %s."
3401
  msgstr ""
3402
 
3403
- #: src/Tribe/Main.php:4615
3404
  msgid "%s From"
3405
  msgstr ""
3406
 
3407
- #: src/Tribe/Main.php:4618
3408
  msgid "Day Of"
3409
  msgstr ""
3410
 
3411
- #: src/Tribe/Main.php:4698
3412
  msgid "Once Every 30 Mins"
3413
  msgstr ""
3414
 
3415
- #: src/Tribe/Main.php:5436
3416
  msgid ""
3417
  "Your version of The Events Calendar is not up-to-date with one of your The "
3418
  "Events Calendar add-ons. Please %supdate now.%s"
3419
  msgstr ""
3420
 
3421
- #: src/Tribe/Main.php:5449
3422
  msgid ""
3423
  "The following plugins are out of date: %1$s. All add-ons contain "
3424
  "dependencies on The Events Calendar and will not function properly unless "
3425
  "paired with the right version. %2$sLearn More%3$s."
3426
  msgstr ""
3427
 
3428
- #: src/Tribe/Main.php:5488 src/Tribe/Main.php:5545
3429
  msgid "Use Saved %s:"
3430
  msgstr ""
3431
 
@@ -5149,38 +5156,38 @@ msgstr ""
5149
  msgid "Custom Color"
5150
  msgstr ""
5151
 
5152
- #: src/Tribe/Views/V2/Hooks.php:543
5153
  msgid "We recommend a 16:9 aspect ratio for featured images."
5154
  msgstr ""
5155
 
5156
- #: src/Tribe/Views/V2/Hooks.php:620
5157
  msgid "Recommended for all sites using the updated calendar views."
5158
  msgstr ""
5159
 
5160
- #: src/Tribe/Views/V2/Hooks.php:635
5161
  msgid "The Events Calendar - View V2"
5162
  msgstr ""
5163
 
5164
- #: src/Tribe/Views/V2/Hooks.php:916
5165
  msgctxt "Capitalized label for the event website link."
5166
  msgid "View %s Website"
5167
  msgstr ""
5168
 
5169
- #: src/Tribe/Views/V2/Hooks.php:944
5170
  msgctxt "Capitalized label for the venue website link."
5171
  msgid "View %s Website"
5172
  msgstr ""
5173
 
5174
- #: src/Tribe/Views/V2/Hooks.php:972
5175
  msgctxt "Capitalized label for the organizer website link."
5176
  msgid "View %s Website"
5177
  msgstr ""
5178
 
5179
- #: src/Tribe/Views/V2/Hooks.php:1110
5180
  msgid "Enabled"
5181
  msgstr ""
5182
 
5183
- #: src/Tribe/Views/V2/Hooks.php:1110
5184
  #: src/admin-views/tribe-options-general.php:182
5185
  #: src/admin-views/tribe-options-general.php:200
5186
  msgid "Disabled"
@@ -5260,7 +5267,7 @@ msgctxt "day_view"
5260
  msgid "%1$s for %2$s"
5261
  msgstr ""
5262
 
5263
- #: src/Tribe/Views/V2/View.php:1996 src/views/v2/day/event/date/featured.php:27
5264
  #: src/views/v2/day/event/date/featured.php:32
5265
  #: src/views/v2/latest-past/event/date/featured.php:27
5266
  #: src/views/v2/latest-past/event/date/featured.php:32
@@ -5309,7 +5316,7 @@ msgid "Upcoming"
5309
  msgstr ""
5310
 
5311
  #. translators: 1: opening href tag 2: event label plural 3: closing href tag
5312
- #: src/Tribe/Views/V2/Views/Traits/With_Fast_Forward_Link.php:57
5313
  msgid "Jump to the %1$snext upcoming %2$s%3$s."
5314
  msgstr ""
5315
 
@@ -5371,6 +5378,12 @@ msgctxt "The label for the option to enable JSON-LD in the List Widget."
5371
  msgid "Generate JSON-LD data"
5372
  msgstr ""
5373
 
 
 
 
 
 
 
5374
  #: src/Tribe/Views/V2/iCalendar/Links/iCalendar_Export.php:31
5375
  msgid "Export .ics file"
5376
  msgstr ""
@@ -7082,49 +7095,11 @@ msgid ""
7082
  "to third-party APIs and manage your integrations."
7083
  msgstr ""
7084
 
7085
- #: src/admin-views/tribe-options-display.php:5
7086
- msgid "Default Events Template"
7087
- msgstr ""
7088
-
7089
- #: src/admin-views/tribe-options-display.php:6
7090
- msgid "Default Page Template"
7091
- msgstr ""
7092
-
7093
- #: src/admin-views/tribe-options-display.php:15
7094
- msgid "Skeleton Styles"
7095
- msgstr ""
7096
-
7097
- #: src/admin-views/tribe-options-display.php:17
7098
- msgid ""
7099
- "Only includes enough css to achieve complex layouts like calendar and week "
7100
- "view."
7101
- msgstr ""
7102
-
7103
- #: src/admin-views/tribe-options-display.php:22
7104
- msgid "Full Styles"
7105
- msgstr ""
7106
-
7107
- #: src/admin-views/tribe-options-display.php:24
7108
- msgid "More detailed styling, tries to grab styles from your theme."
7109
- msgstr ""
7110
-
7111
- #: src/admin-views/tribe-options-display.php:29
7112
- msgid "Tribe Events Styles"
7113
- msgstr ""
7114
-
7115
- #: src/admin-views/tribe-options-display.php:31
7116
- msgid "A fully designed and styled theme for your events pages."
7117
- msgstr ""
7118
-
7119
- #: src/admin-views/tribe-options-display.php:46
7120
- msgid "Default stylesheet used for events templates"
7121
- msgstr ""
7122
-
7123
- #: src/admin-views/tribe-options-display.php:100
7124
  msgid "Display Settings"
7125
  msgstr ""
7126
 
7127
- #: src/admin-views/tribe-options-display.php:105
7128
  msgid ""
7129
  "The settings below control the display of your calendar. If things don't "
7130
  "look right, try switching between the three style sheet options or pick a "
@@ -7133,153 +7108,191 @@ msgstr ""
7133
 
7134
  #. translators: %s: URL to knowledgebase. Please also use &#37; for % to avoid
7135
  #. PHP warnings.
7136
- #: src/admin-views/tribe-options-display.php:109
7137
  msgid ""
7138
  "There are going to be situations where no out-of-the-box template is "
7139
  "100&#37; perfect. Check out our <a href=\"%s\">our themer's guide</a> for "
7140
  "instructions on custom modifications."
7141
  msgstr ""
7142
 
7143
- #: src/admin-views/tribe-options-display.php:128
7144
  msgid "Date with year"
7145
  msgstr ""
7146
 
7147
- #: src/admin-views/tribe-options-display.php:129
7148
  msgid ""
7149
  "Enter the format to use for displaying dates with the year. Used when "
7150
  "displaying a date in a future year."
7151
  msgstr ""
7152
 
7153
- #: src/admin-views/tribe-options-display.php:136
7154
  msgid "Date time separator"
7155
  msgstr ""
7156
 
7157
- #: src/admin-views/tribe-options-display.php:137
7158
  msgid ""
7159
  "Enter the separator that will be placed between the date and time, when both "
7160
  "are shown."
7161
  msgstr ""
7162
 
7163
- #: src/admin-views/tribe-options-display.php:151
7164
  msgid "Date without year"
7165
  msgstr ""
7166
 
7167
- #: src/admin-views/tribe-options-display.php:152
7168
  msgid ""
7169
  "Enter the format to use for displaying dates without a year. Used when "
7170
  "showing an event from the current year."
7171
  msgstr ""
7172
 
7173
- #: src/admin-views/tribe-options-display.php:159
7174
  msgid "Month and year format"
7175
  msgstr ""
7176
 
7177
- #: src/admin-views/tribe-options-display.php:160
7178
  msgid ""
7179
  "Enter the format to use for dates that show a month and year only. Used on "
7180
  "month view."
7181
  msgstr ""
7182
 
7183
- #: src/admin-views/tribe-options-display.php:174
7184
  msgid "Time range separator"
7185
  msgstr ""
7186
 
7187
- #: src/admin-views/tribe-options-display.php:175
7188
  msgid ""
7189
  "Enter the separator that will be used between the start and end time of an "
7190
  "event."
7191
  msgstr ""
7192
 
7193
- #: src/admin-views/tribe-options-display.php:183
7194
  msgid "You must select at least one view."
7195
  msgstr ""
7196
 
7197
- #: src/admin-views/tribe-options-display.php:187
7198
  msgid ""
7199
  "Please note that you are using The Events Calendar's default Google Maps API "
7200
  "key, which will limit the Map View's functionality. Visit %sthe API Settings "
7201
  "page%s to learn more and add your own Google Maps API key."
7202
  msgstr ""
7203
 
7204
- #: src/admin-views/tribe-options-display.php:199
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7205
  msgid "Basic Template Settings"
7206
  msgstr ""
7207
 
7208
- #: src/admin-views/tribe-options-display.php:205
 
 
 
 
 
 
 
 
7209
  msgid "Events template"
7210
  msgstr ""
7211
 
7212
- #: src/admin-views/tribe-options-display.php:206
7213
  msgid ""
7214
  "Choose a page template to control the appearance of your calendar and event "
7215
  "content."
7216
  msgstr ""
7217
 
7218
- #: src/admin-views/tribe-options-display.php:214
7219
  msgid "Enable event views"
7220
  msgstr ""
7221
 
7222
- #: src/admin-views/tribe-options-display.php:230
7223
  msgid "Use updated calendar designs"
7224
  msgstr ""
7225
 
7226
- #: src/admin-views/tribe-options-display.php:231
7227
  msgid "Enable updated designs for all calendar views"
7228
  msgstr ""
7229
 
7230
- #: src/admin-views/tribe-options-display.php:245
7231
  msgid "Default view"
7232
  msgstr ""
7233
 
7234
- #: src/admin-views/tribe-options-display.php:253
7235
  msgid "Disable the Event Search Bar"
7236
  msgstr ""
7237
 
7238
- #: src/admin-views/tribe-options-display.php:254
7239
  msgid "Check this to use the classic header."
7240
  msgstr ""
7241
 
7242
- #: src/admin-views/tribe-options-display.php:260
7243
  msgid "Month view events per day"
7244
  msgstr ""
7245
 
7246
- #: src/admin-views/tribe-options-display.php:261
7247
  msgid ""
7248
  "Change the default 3 events per day in month view. To impose no limit, you "
7249
  "may specify -1. Please note there may be performance issues if you allow too "
7250
  "many events per day. <a href=\"%s\">Read more</a>."
7251
  msgstr ""
7252
 
7253
- #: src/admin-views/tribe-options-display.php:268
7254
  msgid "Enable the Month View Cache"
7255
  msgstr ""
7256
 
7257
- #: src/admin-views/tribe-options-display.php:269
7258
  msgid ""
7259
  "Check this to cache your month view HTML in transients, which can help "
7260
  "improve calendar speed on sites with many events. <a href=\"%s\">Read more</"
7261
  "a>."
7262
  msgstr ""
7263
 
7264
- #: src/admin-views/tribe-options-display.php:282
7265
  msgid "Advanced Template Settings"
7266
  msgstr ""
7267
 
7268
- #: src/admin-views/tribe-options-display.php:286
7269
  msgid "Add HTML before event content"
7270
  msgstr ""
7271
 
7272
- #: src/admin-views/tribe-options-display.php:287
7273
  msgid ""
7274
  "If you are familiar with HTML, you can add additional code before the event "
7275
  "template. Some themes may require this to help with styling or layout."
7276
  msgstr ""
7277
 
7278
- #: src/admin-views/tribe-options-display.php:292
7279
  msgid "Add HTML after event content"
7280
  msgstr ""
7281
 
7282
- #: src/admin-views/tribe-options-display.php:293
7283
  msgid ""
7284
  "If you are familiar with HTML, you can add additional code after the event "
7285
  "template. Some themes may require this to help with styling or layout."
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.14.2\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/the-events-"
7
  "calendar\n"
8
+ "POT-Creation-Date: 2022-04-26 21:14:36+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-04-26 21:14\n"
13
  "Last-Translator: \n"
14
  "Language-Team: \n"
15
 
16
+ #: src/Events/Editor/Full_Site/Templates.php:87
17
+ msgid "Events Archive"
18
+ msgstr ""
19
+
20
+ #: src/Tribe/API.php:798
21
  msgid ""
22
  "An event having a post meta value of `%s` meridian is not valid. Make sure "
23
  "it is either `am` or `pm`, or remove it entirely if using the 24-hour format."
24
  msgstr ""
25
 
26
+ #: src/Tribe/API.php:826
27
  msgid ""
28
  "An event having a post meta value of `%s` hour (am/pm) is not valid. Make "
29
  "sure it is from 1 to 12."
30
  msgstr ""
31
 
32
+ #: src/Tribe/API.php:843
33
  msgid ""
34
  "An event having a post meta value of `%s` hour (12-hour) is not valid. Make "
35
  "sure it is from 1 to 12."
36
  msgstr ""
37
 
38
+ #: src/Tribe/API.php:850
39
  msgid ""
40
  "An event having a post meta value of `%s` hour (24-hour) is not valid. Make "
41
  "sure it is from 0 to 23."
42
  msgstr ""
43
 
44
+ #: src/Tribe/API.php:880 src/Tribe/API.php:891
45
  msgid ""
46
  "An event having a post meta value of `%s` minutes is not valid. Make sure it "
47
  "is from 0 to 59."
51
  msgid "%s"
52
  msgstr ""
53
 
54
+ #: src/Tribe/Admin/Bar/Default_Configurator.php:45 src/Tribe/Main.php:4398
55
  #: src/Tribe/Views/V2/Views/Widgets/Widget_View.php:61
56
  #: src/admin-views/tribe-options-upgrade.php:20
57
  msgid "View Calendar"
62
  msgstr ""
63
 
64
  #: src/Tribe/Admin/Bar/Default_Configurator.php:62
65
+ #: src/Tribe/Linked_Posts/Chooser_Meta_Box.php:210 src/Tribe/Main.php:2168
66
+ #: src/Tribe/Main.php:5506 src/Tribe/Main.php:5553 src/Tribe/Organizer.php:93
67
  #: src/Tribe/Venue.php:129
68
  msgid "Edit %s"
69
  msgstr ""
74
  msgid "Import"
75
  msgstr ""
76
 
77
+ #: src/Tribe/Admin/Bar/Default_Configurator.php:89 src/Tribe/Main.php:4446
78
  msgid "Settings"
79
  msgstr ""
80
 
167
  "refresh and try again."
168
  msgstr ""
169
 
170
+ #: src/Tribe/Admin_List.php:299 src/Tribe/Main.php:2220
171
  msgid "%s Categories"
172
  msgstr ""
173
 
1729
  msgid "Renew your Event Aggregator Facebook token"
1730
  msgstr ""
1731
 
1732
+ #: src/Tribe/Amalgamator.php:453 src/admin-views/tribe-options-general.php:172
1733
  msgid "Merge Duplicates"
1734
  msgstr ""
1735
 
2148
  #: src/Tribe/Template/Single_Event.php:123
2149
  #: src/Tribe/Views/V2/Template_Bootstrap.php:141
2150
  #: src/Tribe/Views/V2/Template_Bootstrap.php:181
2151
+ #: src/Tribe/Views/V2/Template_Bootstrap.php:506
2152
  msgid "This %s has passed."
2153
  msgstr ""
2154
 
2155
+ #: src/Tribe/Editor.php:287 src/Tribe/Editor.php:330
2156
  msgid "Add Description..."
2157
  msgstr ""
2158
 
2159
+ #: src/Tribe/Editor.php:661 src/Tribe/Editor.php:694
2160
  msgid "Event Blocks"
2161
  msgstr ""
2162
 
2505
  msgstr ""
2506
 
2507
  #: src/Tribe/Importer/Column_Mapper.php:79
2508
+ msgid "Event ISO Currency Code"
2509
  msgstr ""
2510
 
2511
  #: src/Tribe/Importer/Column_Mapper.php:80
2512
+ msgid "Event Currency Symbol"
2513
  msgstr ""
2514
 
2515
  #: src/Tribe/Importer/Column_Mapper.php:81
2516
+ msgid "Event Currency Position"
2517
  msgstr ""
2518
 
2519
  #: src/Tribe/Importer/Column_Mapper.php:82
2520
+ msgid "Event Category"
2521
  msgstr ""
2522
 
2523
  #: src/Tribe/Importer/Column_Mapper.php:83
2524
+ msgid "Event Tags"
2525
  msgstr ""
2526
 
2527
  #: src/Tribe/Importer/Column_Mapper.php:84
2528
+ msgid "Event Website"
2529
  msgstr ""
2530
 
2531
  #: src/Tribe/Importer/Column_Mapper.php:85
2532
+ msgid "Event Featured Image"
2533
  msgstr ""
2534
 
2535
  #: src/Tribe/Importer/Column_Mapper.php:86
2536
+ msgid "Event Allow Comments"
2537
+ msgstr ""
2538
+
2539
+ #: src/Tribe/Importer/Column_Mapper.php:87
2540
  msgid "Event Allow Trackbacks and Pingbacks"
2541
  msgstr ""
2542
 
2543
+ #: src/Tribe/Importer/Column_Mapper.php:100
2544
  msgid "Venue Name"
2545
  msgstr ""
2546
 
2547
+ #: src/Tribe/Importer/Column_Mapper.php:101
2548
  msgid "Venue Description"
2549
  msgstr ""
2550
 
2551
+ #: src/Tribe/Importer/Column_Mapper.php:102
2552
  #: src/admin-views/create-venue-fields.php:120
2553
  msgid "Venue Country"
2554
  msgstr ""
2555
 
2556
+ #: src/Tribe/Importer/Column_Mapper.php:103
2557
  #: src/admin-views/create-venue-fields.php:82
2558
  msgid "Venue Address"
2559
  msgstr ""
2560
 
2561
+ #: src/Tribe/Importer/Column_Mapper.php:104
2562
  msgid "Venue Address 2"
2563
  msgstr ""
2564
 
2565
+ #: src/Tribe/Importer/Column_Mapper.php:105
2566
  #: src/admin-views/create-venue-fields.php:95
2567
  msgid "Venue City"
2568
  msgstr ""
2569
 
2570
+ #: src/Tribe/Importer/Column_Mapper.php:106
2571
  msgid "Venue State/Province"
2572
  msgstr ""
2573
 
2574
+ #: src/Tribe/Importer/Column_Mapper.php:107
2575
  msgid "Venue Zip"
2576
  msgstr ""
2577
 
2578
+ #: src/Tribe/Importer/Column_Mapper.php:108
2579
  #: src/admin-views/create-venue-fields.php:190
2580
  msgid "Venue Phone"
2581
  msgstr ""
2582
 
2583
+ #: src/Tribe/Importer/Column_Mapper.php:109
2584
  msgid "Venue Website"
2585
  msgstr ""
2586
 
2587
+ #: src/Tribe/Importer/Column_Mapper.php:110
2588
  msgid "Venue Featured Image"
2589
  msgstr ""
2590
 
2591
+ #: src/Tribe/Importer/Column_Mapper.php:123
2592
  msgid "Organizer Name"
2593
  msgstr ""
2594
 
2595
+ #: src/Tribe/Importer/Column_Mapper.php:124
2596
  msgid "Organizer Description"
2597
  msgstr ""
2598
 
2599
+ #: src/Tribe/Importer/Column_Mapper.php:125
2600
  msgid "Organizer Email"
2601
  msgstr ""
2602
 
2603
+ #: src/Tribe/Importer/Column_Mapper.php:126
2604
  msgid "Organizer Website"
2605
  msgstr ""
2606
 
2607
+ #: src/Tribe/Importer/Column_Mapper.php:127
2608
  msgid "Organizer Phone"
2609
  msgstr ""
2610
 
2611
+ #: src/Tribe/Importer/Column_Mapper.php:128
2612
  msgid "Organizer Featured Image"
2613
  msgstr ""
2614
 
2786
  msgid "Upcoming Events"
2787
  msgstr ""
2788
 
2789
+ #. #-#-#-#-# the-events-calendar.pot (The Events Calendar 5.14.2) #-#-#-#-#
2790
  #. Plugin Name of the plugin/theme
2791
+ #. #-#-#-#-# the-events-calendar.pot (The Events Calendar 5.14.2) #-#-#-#-#
2792
  #. Author of the plugin/theme
2793
+ #: src/Tribe/Main.php:1009 src/Tribe/Main.php:1513 src/Tribe/Privacy.php:29
2794
  #: src/admin-views/admin-welcome-message.php:29
2795
  #: src/functions/template-tags/general.php:1533 the-events-calendar.php:55
2796
  msgid "The Events Calendar"
2797
  msgstr ""
2798
 
2799
+ #: src/Tribe/Main.php:1016
2800
  msgid "month"
2801
  msgstr ""
2802
 
2803
+ #: src/Tribe/Main.php:1017
2804
  msgid "list"
2805
  msgstr ""
2806
 
2807
+ #: src/Tribe/Main.php:1018
2808
  msgid "upcoming"
2809
  msgstr ""
2810
 
2811
+ #: src/Tribe/Main.php:1019
2812
  msgid "past"
2813
  msgstr ""
2814
 
2815
+ #: src/Tribe/Main.php:1020
2816
  msgid "day"
2817
  msgstr ""
2818
 
2819
+ #: src/Tribe/Main.php:1021
2820
  msgid "today"
2821
  msgstr ""
2822
 
2823
+ #: src/Tribe/Main.php:1022
2824
  msgctxt "featured events slug"
2825
  msgid "featured"
2826
  msgstr ""
2827
 
2828
+ #: src/Tribe/Main.php:1023
2829
  msgctxt "all events slug"
2830
  msgid "all"
2831
  msgstr ""
2832
 
2833
+ #: src/Tribe/Main.php:1049
2834
  msgid "Initializing Tribe Events on %s"
2835
  msgstr ""
2836
 
2837
+ #: src/Tribe/Main.php:1108 src/Tribe/Main.php:1110
2838
  msgid "Welcome to The Events Calendar!"
2839
  msgstr ""
2840
 
2841
+ #: src/Tribe/Main.php:1259
2842
  msgid ""
2843
  "The %3$s \"%1$s\" uses the \"/%2$s\" slug: the Events Calendar plugin will "
2844
  "show its calendar in place of the page."
2845
  msgstr ""
2846
 
2847
+ #: src/Tribe/Main.php:1262
2848
  msgid "Ask the site administrator to edit the %s slug"
2849
  msgstr ""
2850
 
2851
+ #: src/Tribe/Main.php:1264
2852
  msgid "Edit the %s slug"
2853
  msgstr ""
2854
 
2855
+ #: src/Tribe/Main.php:1268
2856
  msgid " ask the site administrator to set a different Events URL slug."
2857
  msgstr ""
2858
 
2859
+ #: src/Tribe/Main.php:1273
2860
  msgid "edit Events settings."
2861
  msgstr ""
2862
 
2863
+ #: src/Tribe/Main.php:1276
2864
  msgid "%1$s or %2$s"
2865
  msgstr ""
2866
 
2867
+ #: src/Tribe/Main.php:1345
2868
  msgid "Upgrade your calendar views"
2869
  msgstr ""
2870
 
2871
+ #: src/Tribe/Main.php:1382
2872
  msgid "Upgrade"
2873
  msgstr ""
2874
 
2875
+ #: src/Tribe/Main.php:1433
2876
  msgid "New User Primer"
2877
  msgstr ""
2878
 
2879
+ #: src/Tribe/Main.php:1435
2880
  msgid ""
2881
  "We are committed to helping make your calendar spectacular and have a wealth "
2882
  "of resources available, including a handy %s to get your calendar up and "
2883
  "running."
2884
  msgstr ""
2885
 
2886
+ #: src/Tribe/Main.php:1446
2887
  msgid "Support for The Events Calendar"
2888
  msgstr ""
2889
 
2890
+ #: src/Tribe/Main.php:1452
2891
  msgid ""
2892
  "%s: A thorough walkthrough of The Events Calendar and the settings that are "
2893
  "available to you."
2894
  msgstr ""
2895
 
2896
+ #: src/Tribe/Main.php:1456
2897
  msgid "Settings overview"
2898
  msgstr ""
2899
 
2900
+ #: src/Tribe/Main.php:1460
2901
  msgid ""
2902
  "%s: A complete look at the features you can expect to see right out of the "
2903
  "box as well as how to use them."
2904
  msgstr ""
2905
 
2906
+ #: src/Tribe/Main.php:1464
2907
  msgid "Features overview"
2908
  msgstr ""
2909
 
2910
+ #: src/Tribe/Main.php:1468
2911
  msgid ""
2912
  "%s: Our most comprehensive outline for customizing the calendar to suit your "
2913
  "needs, including custom layouts and styles."
2914
  msgstr ""
2915
 
2916
+ #: src/Tribe/Main.php:1472
2917
  msgid "Themer's Guide"
2918
  msgstr ""
2919
 
2920
+ #: src/Tribe/Main.php:1476
2921
  msgid ""
2922
  "%s: An overview of the default templates and styles that are included in the "
2923
  "plugin, as well as how to change them."
2924
  msgstr ""
2925
 
2926
+ #: src/Tribe/Main.php:1480
2927
  msgid "Using stylesheets and page templates"
2928
  msgstr ""
2929
 
2930
+ #: src/Tribe/Main.php:1484
2931
  msgid ""
2932
  "%s: Do you see an issue with your calendar? Go here first to find where it’s "
2933
  "coming from and how to fix it."
2934
  msgstr ""
2935
 
2936
+ #: src/Tribe/Main.php:1488
2937
  msgid "Troubleshooting common problems"
2938
  msgstr ""
2939
 
2940
+ #: src/Tribe/Main.php:1492
2941
  msgid ""
2942
  "%s: Code and guides for customizing your calendar in useful and interesting "
2943
  "ways."
2944
  msgstr ""
2945
 
2946
+ #: src/Tribe/Main.php:1496
2947
  msgid "Customizing the Events plugins"
2948
  msgstr ""
2949
 
2950
+ #: src/Tribe/Main.php:1514
2951
  msgid "Events Tickets"
2952
  msgstr ""
2953
 
2954
+ #: src/Tribe/Main.php:1515
2955
  msgid ""
2956
  "If you have tried the above steps and are still having trouble, you can post "
2957
  "a new thread to our WordPress.org forums for %1$s or %2$s. Our support staff "
2958
  "monitors these forums once a week and would be happy to assist you there. "
2959
  msgstr ""
2960
 
2961
+ #: src/Tribe/Main.php:1517 src/Tribe/Main.php:1525
2962
  msgid "premium support on our website"
2963
  msgstr ""
2964
 
2965
+ #: src/Tribe/Main.php:1518
2966
  msgid ""
2967
  "<strong>Looking for more immediate support?</strong> We offer %s with the "
2968
  "purchase of any of our premium plugins. Pick up a license and you can post "
2969
  "there directly and expect a response within 24-48 hours during weekdays"
2970
  msgstr ""
2971
 
2972
+ #: src/Tribe/Main.php:1522
2973
  msgid "open-source forum on WordPress.org"
2974
  msgstr ""
2975
 
2976
+ #: src/Tribe/Main.php:1523
2977
  msgid ""
2978
  "If you have tried the above steps and are still having trouble, you can post "
2979
  "a new thread to our %s. Our support staff monitors these forums once a week "
2980
  "and would be happy to assist you there."
2981
  msgstr ""
2982
 
2983
+ #: src/Tribe/Main.php:1526
2984
  msgid "Events Calendar PRO"
2985
  msgstr ""
2986
 
2987
+ #: src/Tribe/Main.php:1527
2988
  msgid ""
2989
  "<strong>Looking for more immediate support?</strong> We offer %1$s with the "
2990
  "purchase of any of our premium plugins (like %2$s). Pick up a license and "
2992
  "weekdays."
2993
  msgstr ""
2994
 
2995
+ #: src/Tribe/Main.php:1531
2996
  msgid "post a thread"
2997
  msgstr ""
2998
 
2999
+ #: src/Tribe/Main.php:1532
3000
  msgid ""
3001
  "If you have a valid license for one of our paid plugins, you can %s in our "
3002
  "premium support forums. Our support team monitors the forums and will "
3003
  "respond to your thread within 24-48 hours (during the week)."
3004
  msgstr ""
3005
 
3006
+ #: src/Tribe/Main.php:1575
3007
  #: src/deprecated/Tribe__Events__Importer__Admin_Page.php:208
3008
  #: src/functions/template-tags/general.php:137
3009
  msgid "Events"
3010
  msgstr ""
3011
 
3012
+ #: src/Tribe/Main.php:1583 src/admin-views/aggregator/tabs/import-form.php:227
3013
  #: src/admin-views/aggregator/tabs/import-form.php:239
3014
  #: src/functions/template-tags/general.php:81
3015
  msgid "Event"
3016
  msgstr ""
3017
 
3018
+ #: src/Tribe/Main.php:1801
3019
  msgid ""
3020
  "Sorry, The Events Calendar requires WordPress %s or higher. Please upgrade "
3021
  "your WordPress install."
3022
  msgstr ""
3023
 
3024
+ #: src/Tribe/Main.php:1804
3025
  msgid ""
3026
  "Sorry, The Events Calendar requires PHP %s or higher. Talk to your Web host "
3027
  "about moving you to a newer version of PHP."
3028
  msgstr ""
3029
 
3030
+ #: src/Tribe/Main.php:1839
3031
  msgid ""
3032
  "To continue using The Events Calendar, please install the latest version of"
3033
  msgstr ""
3034
 
3035
+ #: src/Tribe/Main.php:1841 src/Tribe/Main.php:1842
3036
  msgid "Event Tickets"
3037
  msgstr ""
3038
 
3039
+ #: src/Tribe/Main.php:1877
3040
  msgid ""
3041
  "It appears as if the tribe-common libraries cannot be found! The directory "
3042
  "should be in the \"common/\" directory in the events calendar plugin."
3043
  msgstr ""
3044
 
3045
+ #: src/Tribe/Main.php:2114 src/Tribe/Main.php:2666
3046
  msgid "category"
3047
  msgstr ""
3048
 
3049
+ #: src/Tribe/Main.php:2128 src/Tribe/Main.php:2665
3050
  msgid "tag"
3051
  msgstr ""
3052
 
3053
+ #: src/Tribe/Main.php:2163 src/Tribe/Organizer.php:91 src/Tribe/Venue.php:127
3054
  msgid "Add New"
3055
  msgstr ""
3056
 
3057
+ #: src/Tribe/Main.php:2165 src/Tribe/Main.php:2372 src/Tribe/Main.php:2373
3058
  #: src/Tribe/Organizer.php:92 src/Tribe/Venue.php:128
3059
  msgid "Add New %s"
3060
  msgstr ""
3061
 
3062
+ #: src/Tribe/Main.php:2171 src/Tribe/Organizer.php:94 src/Tribe/Venue.php:130
3063
  msgid "New %s"
3064
  msgstr ""
3065
 
3066
+ #: src/Tribe/Main.php:2174 src/Tribe/Organizer.php:95 src/Tribe/Venue.php:131
3067
  #: src/views/month/single-day.php:31
3068
  msgid "View %s"
3069
  msgstr ""
3070
 
3071
+ #: src/Tribe/Main.php:2177 src/Tribe/Organizer.php:96 src/Tribe/Venue.php:132
3072
  msgid "Search %s"
3073
  msgstr ""
3074
 
3075
+ #: src/Tribe/Main.php:2180 src/Tribe/Organizer.php:97 src/Tribe/Venue.php:133
3076
  msgid "No %s found"
3077
  msgstr ""
3078
 
3079
+ #: src/Tribe/Main.php:2183 src/Tribe/Organizer.php:98 src/Tribe/Venue.php:134
3080
  msgid "No %s found in Trash"
3081
  msgstr ""
3082
 
3083
+ #: src/Tribe/Main.php:2186 src/Tribe/Main.php:2325 src/Tribe/Main.php:2347
3084
  #: src/Tribe/Organizer.php:99 src/Tribe/Venue.php:135
3085
  msgid "%s published."
3086
  msgstr ""
3087
 
3088
+ #: src/Tribe/Main.php:2189 src/Tribe/Organizer.php:100 src/Tribe/Venue.php:136
3089
  msgid "%s published privately."
3090
  msgstr ""
3091
 
3092
+ #: src/Tribe/Main.php:2192 src/Tribe/Organizer.php:101 src/Tribe/Venue.php:137
3093
  msgid "%s reverted to draft."
3094
  msgstr ""
3095
 
3096
+ #: src/Tribe/Main.php:2195 src/Tribe/Organizer.php:102 src/Tribe/Venue.php:138
3097
  msgid "%s scheduled."
3098
  msgstr ""
3099
 
3100
+ #: src/Tribe/Main.php:2198 src/Tribe/Main.php:2281 src/Tribe/Main.php:2317
3101
+ #: src/Tribe/Main.php:2320 src/Tribe/Main.php:2339 src/Tribe/Main.php:2342
3102
  #: src/Tribe/Organizer.php:103 src/Tribe/Venue.php:139
3103
  msgid "%s updated."
3104
  msgstr ""
3106
  #. Translators: %s: Event singular.
3107
  #. Translators: %s: Organizer singular.
3108
  #. Translators: %s: Venue singular.
3109
+ #: src/Tribe/Main.php:2202 src/Tribe/Organizer.php:106 src/Tribe/Venue.php:142
3110
  msgid "%s Link"
3111
  msgstr ""
3112
 
3113
  #. Translators: %s: Event singular.
3114
  #. Translators: %s: Organizer singular.
3115
  #. Translators: %s: Venue singular.
3116
+ #: src/Tribe/Main.php:2206 src/Tribe/Organizer.php:110 src/Tribe/Venue.php:146
3117
  msgid "A link to a particular %s."
3118
  msgstr ""
3119
 
3120
+ #: src/Tribe/Main.php:2223
3121
  msgid "%s Category"
3122
  msgstr ""
3123
 
3124
+ #: src/Tribe/Main.php:2226
3125
  msgid "Search %s Categories"
3126
  msgstr ""
3127
 
3128
+ #: src/Tribe/Main.php:2229
3129
  msgid "All %s Categories"
3130
  msgstr ""
3131
 
3132
+ #: src/Tribe/Main.php:2232
3133
  msgid "Parent %s Category"
3134
  msgstr ""
3135
 
3136
+ #: src/Tribe/Main.php:2235
3137
  msgid "Parent %s Category:"
3138
  msgstr ""
3139
 
3140
+ #: src/Tribe/Main.php:2238
3141
  msgid "Edit %s Category"
3142
  msgstr ""
3143
 
3144
+ #: src/Tribe/Main.php:2241
3145
  msgid "Update %s Category"
3146
  msgstr ""
3147
 
3148
+ #: src/Tribe/Main.php:2244
3149
  msgid "Add New %s Category"
3150
  msgstr ""
3151
 
3152
+ #: src/Tribe/Main.php:2247
3153
  msgid "New %s Category Name"
3154
  msgstr ""
3155
 
3156
  #. Translators: %s: Event singular.
3157
+ #: src/Tribe/Main.php:2251
3158
  msgid "%s Category Link"
3159
  msgstr ""
3160
 
3161
  #. Translators: %s: Event singular.
3162
+ #: src/Tribe/Main.php:2255
3163
  msgid "A link to a particular %s category."
3164
  msgstr ""
3165
 
3166
+ #: src/Tribe/Main.php:2274
3167
  msgid "%1$s updated. %2$sView %1$s%3$s"
3168
  msgstr ""
3169
 
3170
+ #: src/Tribe/Main.php:2279 src/Tribe/Main.php:2318 src/Tribe/Main.php:2340
3171
  msgid "Custom field updated."
3172
  msgstr ""
3173
 
3174
+ #: src/Tribe/Main.php:2280 src/Tribe/Main.php:2319 src/Tribe/Main.php:2341
3175
  msgid "Custom field deleted."
3176
  msgstr ""
3177
 
3178
  #. translators: %s: date and time of the revision
3179
+ #: src/Tribe/Main.php:2284 src/Tribe/Main.php:2323
3180
  msgid "%1$s restored to revision from %2$s"
3181
  msgstr ""
3182
 
3183
+ #: src/Tribe/Main.php:2287
3184
  msgid "%1$s published. %2$sView %3$s"
3185
  msgstr ""
3186
 
3187
+ #: src/Tribe/Main.php:2292 src/Tribe/Main.php:2326 src/Tribe/Main.php:2348
3188
  msgid "%s saved."
3189
  msgstr ""
3190
 
3191
+ #: src/Tribe/Main.php:2294
3192
  msgid "%1$s submitted. %2$sPreview %3$s"
3193
  msgstr ""
3194
 
3195
+ #: src/Tribe/Main.php:2300
3196
  msgid "%1$s scheduled for: %2$s. %3$sPreview %4$s"
3197
  msgstr ""
3198
 
3199
  #. translators: Publish box date format, see http://php.net/date
3200
+ #: src/Tribe/Main.php:2303 src/Tribe/Main.php:2332 src/Tribe/Main.php:2354
3201
  msgid "M j, Y @ G:i"
3202
  msgstr ""
3203
 
3204
+ #: src/Tribe/Main.php:2308
3205
  msgid "%1$s draft updated. %2$sPreview %3$s"
3206
  msgstr ""
3207
 
3208
+ #: src/Tribe/Main.php:2327 src/Tribe/Main.php:2349
3209
  msgid "%s submitted."
3210
  msgstr ""
3211
 
3212
+ #: src/Tribe/Main.php:2329 src/Tribe/Main.php:2351
3213
  msgid "%1$s scheduled for: %2$s."
3214
  msgstr ""
3215
 
3216
+ #: src/Tribe/Main.php:2334 src/Tribe/Main.php:2357
3217
  msgid "%s draft updated."
3218
  msgstr ""
3219
 
3220
  #. translators: %s: date and time of the revision
3221
+ #: src/Tribe/Main.php:2345
3222
  msgid "%s restored to revision from %s"
3223
  msgstr ""
3224
 
3225
+ #: src/Tribe/Main.php:2402
3226
  msgid ""
3227
  "Without a defined location your event will not display a %sGoogle Rich "
3228
  "Snippet%s on the search results."
3229
  msgstr ""
3230
 
3231
+ #: src/Tribe/Main.php:2667
3232
  msgid "page"
3233
  msgstr ""
3234
 
3235
+ #: src/Tribe/Main.php:2668 src/functions/template-tags/general.php:109
3236
  msgid "event"
3237
  msgstr ""
3238
 
3239
+ #: src/Tribe/Main.php:2669 src/functions/template-tags/general.php:165
3240
  msgid "events"
3241
  msgstr ""
3242
 
3243
+ #: src/Tribe/Main.php:2670
3244
  msgid "all"
3245
  msgstr ""
3246
 
3247
+ #: src/Tribe/Main.php:3059
 
3248
  msgid " (View Full %1$s Description Here: %2$s)"
3249
  msgstr ""
3250
 
3251
+ #: src/Tribe/Main.php:3852 src/Tribe/Main.php:3887
3252
  #: src/functions/template-tags/day.php:157
3253
  #: src/functions/template-tags/day.php:178
3254
  msgid "Date out of range."
3255
  msgstr ""
3256
 
3257
+ #: src/Tribe/Main.php:3917
3258
  msgid "%s Options"
3259
  msgstr ""
3260
 
3261
+ #: src/Tribe/Main.php:4270
3262
  msgid "Support"
3263
  msgstr ""
3264
 
3265
+ #: src/Tribe/Main.php:4273
3266
  msgid "View All Add-Ons"
3267
  msgstr ""
3268
 
3269
+ #: src/Tribe/Main.php:4294
3270
  msgid "News from The Events Calendar"
3271
  msgstr ""
3272
 
3273
+ #: src/Tribe/Main.php:4340
3274
  msgid "Additional Functionality"
3275
  msgstr ""
3276
 
3277
+ #: src/Tribe/Main.php:4345
3278
  msgid ""
3279
  "Looking for additional functionality including recurring events, ticket "
3280
  "sales, publicly submitted events, new views and more?"
3281
  msgstr ""
3282
 
3283
+ #: src/Tribe/Main.php:4346
3284
  msgid "Check out the %savailable add-ons%s."
3285
  msgstr ""
3286
 
3287
+ #: src/Tribe/Main.php:4447
3288
  msgid "Calendar"
3289
  msgstr ""
3290
 
3291
+ #: src/Tribe/Main.php:4463
3292
  msgid "List"
3293
  msgstr ""
3294
 
3295
+ #: src/Tribe/Main.php:4481
3296
  msgid "Month"
3297
  msgstr ""
3298
 
3299
+ #: src/Tribe/Main.php:4498 src/admin-views/aggregator/fields/schedule.php:43
3300
  #: src/admin-views/aggregator/fields/schedule.php:61
3301
  msgid "Day"
3302
  msgstr ""
3303
 
3304
+ #: src/Tribe/Main.php:4521
3305
  msgid "Search for %s by Keyword."
3306
  msgstr ""
3307
 
3308
+ #: src/Tribe/Main.php:4524
3309
  #: src/views/v2/components/events-bar/search-button.php:24
3310
  msgid "Search"
3311
  msgstr ""
3312
 
3313
+ #: src/Tribe/Main.php:4525
3314
  msgid "Keyword"
3315
  msgstr ""
3316
 
3317
+ #: src/Tribe/Main.php:4542
3318
  msgid "4 digit year hyphen 2 digit month hyphen 2 digit day"
3319
  msgstr ""
3320
 
3321
+ #: src/Tribe/Main.php:4543
3322
  msgid "1 digit month slash 1 digit day slash 4 digit year"
3323
  msgstr ""
3324
 
3325
+ #: src/Tribe/Main.php:4544
3326
  msgid "2 digit month slash 2 digit day slash 4 digit year"
3327
  msgstr ""
3328
 
3329
+ #: src/Tribe/Main.php:4545
3330
  msgid "1 digit day slash 1 digit month slash 4 digit year"
3331
  msgstr ""
3332
 
3333
+ #: src/Tribe/Main.php:4546
3334
  msgid "2 digit day slash 2 digit month slash 4 digit year"
3335
  msgstr ""
3336
 
3337
+ #: src/Tribe/Main.php:4547
3338
  msgid "1 digit month hyphen 1 digit day hyphen 4 digit year"
3339
  msgstr ""
3340
 
3341
+ #: src/Tribe/Main.php:4548
3342
  msgid "1 digit month hyphen 2 digit day hyphen 4 digit year"
3343
  msgstr ""
3344
 
3345
+ #: src/Tribe/Main.php:4549
3346
  msgid "1 digit day hyphen 1 digit month hyphen 4 digit year"
3347
  msgstr ""
3348
 
3349
+ #: src/Tribe/Main.php:4550
3350
  msgid "2 digit day hyphen 2 digit month hyphen 4 digit year"
3351
  msgstr ""
3352
 
3353
+ #: src/Tribe/Main.php:4551
3354
  msgid "4 digit year dot 2 digit month dot 2 digit day"
3355
  msgstr ""
3356
 
3357
+ #: src/Tribe/Main.php:4552
3358
  msgid "2 digit month dot 2 digit day dot 4 digit year"
3359
  msgstr ""
3360
 
3361
+ #: src/Tribe/Main.php:4553
3362
  msgid "2 digit day dot 2 digit month dot 4 digit year"
3363
  msgstr ""
3364
 
3365
+ #: src/Tribe/Main.php:4557
3366
  msgid "4 digit year hyphen 2 digit month"
3367
  msgstr ""
3368
 
3369
+ #: src/Tribe/Main.php:4558 src/Tribe/Main.php:4560
3370
  msgid "1 digit month slash 4 digit year"
3371
  msgstr ""
3372
 
3373
+ #: src/Tribe/Main.php:4559 src/Tribe/Main.php:4561
3374
  msgid "2 digit month slash 4 digit year"
3375
  msgstr ""
3376
 
3377
+ #: src/Tribe/Main.php:4562 src/Tribe/Main.php:4563 src/Tribe/Main.php:4564
3378
  msgid "1 digit month hyphen 4 digit year"
3379
  msgstr ""
3380
 
3381
+ #: src/Tribe/Main.php:4565
3382
  msgid "2 digit month hyphen 4 digit year"
3383
  msgstr ""
3384
 
3385
+ #: src/Tribe/Main.php:4566
3386
  msgid "4 digit year dot 2 digit month"
3387
  msgstr ""
3388
 
3389
+ #: src/Tribe/Main.php:4567 src/Tribe/Main.php:4568
3390
  msgid "2 digit month dot 4 digit year"
3391
  msgstr ""
3392
 
3393
+ #: src/Tribe/Main.php:4597 src/Tribe/Main.php:4634
3394
  #: src/admin-views/aggregator/origins/refine.php:7
3395
  msgid "Date"
3396
  msgstr ""
3397
 
3398
+ #: src/Tribe/Main.php:4599
3399
  msgid "Search for %s by Date. Please use the format %s."
3400
  msgstr ""
3401
 
3402
+ #: src/Tribe/Main.php:4612
3403
  msgid "%s In"
3404
  msgstr ""
3405
 
3406
+ #: src/Tribe/Main.php:4614
3407
  msgid "Search for %s by month. Please use the format %s."
3408
  msgstr ""
3409
 
3410
+ #: src/Tribe/Main.php:4617
3411
  msgid "%s From"
3412
  msgstr ""
3413
 
3414
+ #: src/Tribe/Main.php:4620
3415
  msgid "Day Of"
3416
  msgstr ""
3417
 
3418
+ #: src/Tribe/Main.php:4700
3419
  msgid "Once Every 30 Mins"
3420
  msgstr ""
3421
 
3422
+ #: src/Tribe/Main.php:5438
3423
  msgid ""
3424
  "Your version of The Events Calendar is not up-to-date with one of your The "
3425
  "Events Calendar add-ons. Please %supdate now.%s"
3426
  msgstr ""
3427
 
3428
+ #: src/Tribe/Main.php:5451
3429
  msgid ""
3430
  "The following plugins are out of date: %1$s. All add-ons contain "
3431
  "dependencies on The Events Calendar and will not function properly unless "
3432
  "paired with the right version. %2$sLearn More%3$s."
3433
  msgstr ""
3434
 
3435
+ #: src/Tribe/Main.php:5490 src/Tribe/Main.php:5547
3436
  msgid "Use Saved %s:"
3437
  msgstr ""
3438
 
5156
  msgid "Custom Color"
5157
  msgstr ""
5158
 
5159
+ #: src/Tribe/Views/V2/Hooks.php:547
5160
  msgid "We recommend a 16:9 aspect ratio for featured images."
5161
  msgstr ""
5162
 
5163
+ #: src/Tribe/Views/V2/Hooks.php:624
5164
  msgid "Recommended for all sites using the updated calendar views."
5165
  msgstr ""
5166
 
5167
+ #: src/Tribe/Views/V2/Hooks.php:639
5168
  msgid "The Events Calendar - View V2"
5169
  msgstr ""
5170
 
5171
+ #: src/Tribe/Views/V2/Hooks.php:920
5172
  msgctxt "Capitalized label for the event website link."
5173
  msgid "View %s Website"
5174
  msgstr ""
5175
 
5176
+ #: src/Tribe/Views/V2/Hooks.php:948
5177
  msgctxt "Capitalized label for the venue website link."
5178
  msgid "View %s Website"
5179
  msgstr ""
5180
 
5181
+ #: src/Tribe/Views/V2/Hooks.php:976
5182
  msgctxt "Capitalized label for the organizer website link."
5183
  msgid "View %s Website"
5184
  msgstr ""
5185
 
5186
+ #: src/Tribe/Views/V2/Hooks.php:1114
5187
  msgid "Enabled"
5188
  msgstr ""
5189
 
5190
+ #: src/Tribe/Views/V2/Hooks.php:1114
5191
  #: src/admin-views/tribe-options-general.php:182
5192
  #: src/admin-views/tribe-options-general.php:200
5193
  msgid "Disabled"
5267
  msgid "%1$s for %2$s"
5268
  msgstr ""
5269
 
5270
+ #: src/Tribe/Views/V2/View.php:1998 src/views/v2/day/event/date/featured.php:27
5271
  #: src/views/v2/day/event/date/featured.php:32
5272
  #: src/views/v2/latest-past/event/date/featured.php:27
5273
  #: src/views/v2/latest-past/event/date/featured.php:32
5316
  msgstr ""
5317
 
5318
  #. translators: 1: opening href tag 2: event label plural 3: closing href tag
5319
+ #: src/Tribe/Views/V2/Views/Traits/With_Fast_Forward_Link.php:75
5320
  msgid "Jump to the %1$snext upcoming %2$s%3$s."
5321
  msgstr ""
5322
 
5378
  msgid "Generate JSON-LD data"
5379
  msgstr ""
5380
 
5381
+ #: src/Tribe/Views/V2/iCalendar/Links/Google_Calendar.php:230
5382
+ msgctxt ""
5383
+ "Link to full description. %1$s: pre=translated event term. %2$s: event url."
5384
+ msgid " (View Full %1$s Description Here: %2$s)"
5385
+ msgstr ""
5386
+
5387
  #: src/Tribe/Views/V2/iCalendar/Links/iCalendar_Export.php:31
5388
  msgid "Export .ics file"
5389
  msgstr ""
7095
  "to third-party APIs and manage your integrations."
7096
  msgstr ""
7097
 
7098
+ #: src/admin-views/tribe-options-display.php:43
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7099
  msgid "Display Settings"
7100
  msgstr ""
7101
 
7102
+ #: src/admin-views/tribe-options-display.php:48
7103
  msgid ""
7104
  "The settings below control the display of your calendar. If things don't "
7105
  "look right, try switching between the three style sheet options or pick a "
7108
 
7109
  #. translators: %s: URL to knowledgebase. Please also use &#37; for % to avoid
7110
  #. PHP warnings.
7111
+ #: src/admin-views/tribe-options-display.php:52
7112
  msgid ""
7113
  "There are going to be situations where no out-of-the-box template is "
7114
  "100&#37; perfect. Check out our <a href=\"%s\">our themer's guide</a> for "
7115
  "instructions on custom modifications."
7116
  msgstr ""
7117
 
7118
+ #: src/admin-views/tribe-options-display.php:71
7119
  msgid "Date with year"
7120
  msgstr ""
7121
 
7122
+ #: src/admin-views/tribe-options-display.php:72
7123
  msgid ""
7124
  "Enter the format to use for displaying dates with the year. Used when "
7125
  "displaying a date in a future year."
7126
  msgstr ""
7127
 
7128
+ #: src/admin-views/tribe-options-display.php:79
7129
  msgid "Date time separator"
7130
  msgstr ""
7131
 
7132
+ #: src/admin-views/tribe-options-display.php:80
7133
  msgid ""
7134
  "Enter the separator that will be placed between the date and time, when both "
7135
  "are shown."
7136
  msgstr ""
7137
 
7138
+ #: src/admin-views/tribe-options-display.php:95
7139
  msgid "Date without year"
7140
  msgstr ""
7141
 
7142
+ #: src/admin-views/tribe-options-display.php:96
7143
  msgid ""
7144
  "Enter the format to use for displaying dates without a year. Used when "
7145
  "showing an event from the current year."
7146
  msgstr ""
7147
 
7148
+ #: src/admin-views/tribe-options-display.php:103
7149
  msgid "Month and year format"
7150
  msgstr ""
7151
 
7152
+ #: src/admin-views/tribe-options-display.php:104
7153
  msgid ""
7154
  "Enter the format to use for dates that show a month and year only. Used on "
7155
  "month view."
7156
  msgstr ""
7157
 
7158
+ #: src/admin-views/tribe-options-display.php:119
7159
  msgid "Time range separator"
7160
  msgstr ""
7161
 
7162
+ #: src/admin-views/tribe-options-display.php:120
7163
  msgid ""
7164
  "Enter the separator that will be used between the start and end time of an "
7165
  "event."
7166
  msgstr ""
7167
 
7168
+ #: src/admin-views/tribe-options-display.php:129
7169
  msgid "You must select at least one view."
7170
  msgstr ""
7171
 
7172
+ #: src/admin-views/tribe-options-display.php:133
7173
  msgid ""
7174
  "Please note that you are using The Events Calendar's default Google Maps API "
7175
  "key, which will limit the Map View's functionality. Visit %sthe API Settings "
7176
  "page%s to learn more and add your own Google Maps API key."
7177
  msgstr ""
7178
 
7179
+ #: src/admin-views/tribe-options-display.php:140
7180
+ msgid "Skeleton Styles"
7181
+ msgstr ""
7182
+
7183
+ #: src/admin-views/tribe-options-display.php:142
7184
+ msgid ""
7185
+ "Only includes enough css to achieve complex layouts like calendar and week "
7186
+ "view."
7187
+ msgstr ""
7188
+
7189
+ #: src/admin-views/tribe-options-display.php:147
7190
+ msgid "Tribe Events Styles"
7191
+ msgstr ""
7192
+
7193
+ #: src/admin-views/tribe-options-display.php:149
7194
+ msgid "A fully designed and styled theme for your events pages."
7195
+ msgstr ""
7196
+
7197
+ #: src/admin-views/tribe-options-display.php:159
7198
+ msgid "Full Styles"
7199
+ msgstr ""
7200
+
7201
+ #: src/admin-views/tribe-options-display.php:161
7202
+ msgid "More detailed styling, tries to grab styles from your theme."
7203
+ msgstr ""
7204
+
7205
+ #: src/admin-views/tribe-options-display.php:170
7206
+ msgid "Default stylesheet used for events templates"
7207
+ msgstr ""
7208
+
7209
+ #: src/admin-views/tribe-options-display.php:187
7210
  msgid "Basic Template Settings"
7211
  msgstr ""
7212
 
7213
+ #: src/admin-views/tribe-options-display.php:196
7214
+ msgid "Default Events Template"
7215
+ msgstr ""
7216
+
7217
+ #: src/admin-views/tribe-options-display.php:197
7218
+ msgid "Default Page Template"
7219
+ msgstr ""
7220
+
7221
+ #: src/admin-views/tribe-options-display.php:207
7222
  msgid "Events template"
7223
  msgstr ""
7224
 
7225
+ #: src/admin-views/tribe-options-display.php:208
7226
  msgid ""
7227
  "Choose a page template to control the appearance of your calendar and event "
7228
  "content."
7229
  msgstr ""
7230
 
7231
+ #: src/admin-views/tribe-options-display.php:218
7232
  msgid "Enable event views"
7233
  msgstr ""
7234
 
7235
+ #: src/admin-views/tribe-options-display.php:238
7236
  msgid "Use updated calendar designs"
7237
  msgstr ""
7238
 
7239
+ #: src/admin-views/tribe-options-display.php:239
7240
  msgid "Enable updated designs for all calendar views"
7241
  msgstr ""
7242
 
7243
+ #: src/admin-views/tribe-options-display.php:253
7244
  msgid "Default view"
7245
  msgstr ""
7246
 
7247
+ #: src/admin-views/tribe-options-display.php:261
7248
  msgid "Disable the Event Search Bar"
7249
  msgstr ""
7250
 
7251
+ #: src/admin-views/tribe-options-display.php:262
7252
  msgid "Check this to use the classic header."
7253
  msgstr ""
7254
 
7255
+ #: src/admin-views/tribe-options-display.php:268
7256
  msgid "Month view events per day"
7257
  msgstr ""
7258
 
7259
+ #: src/admin-views/tribe-options-display.php:269
7260
  msgid ""
7261
  "Change the default 3 events per day in month view. To impose no limit, you "
7262
  "may specify -1. Please note there may be performance issues if you allow too "
7263
  "many events per day. <a href=\"%s\">Read more</a>."
7264
  msgstr ""
7265
 
7266
+ #: src/admin-views/tribe-options-display.php:276
7267
  msgid "Enable the Month View Cache"
7268
  msgstr ""
7269
 
7270
+ #: src/admin-views/tribe-options-display.php:277
7271
  msgid ""
7272
  "Check this to cache your month view HTML in transients, which can help "
7273
  "improve calendar speed on sites with many events. <a href=\"%s\">Read more</"
7274
  "a>."
7275
  msgstr ""
7276
 
7277
+ #: src/admin-views/tribe-options-display.php:290
7278
  msgid "Advanced Template Settings"
7279
  msgstr ""
7280
 
7281
+ #: src/admin-views/tribe-options-display.php:294
7282
  msgid "Add HTML before event content"
7283
  msgstr ""
7284
 
7285
+ #: src/admin-views/tribe-options-display.php:295
7286
  msgid ""
7287
  "If you are familiar with HTML, you can add additional code before the event "
7288
  "template. Some themes may require this to help with styling or layout."
7289
  msgstr ""
7290
 
7291
+ #: src/admin-views/tribe-options-display.php:300
7292
  msgid "Add HTML after event content"
7293
  msgstr ""
7294
 
7295
+ #: src/admin-views/tribe-options-display.php:301
7296
  msgid ""
7297
  "If you are familiar with HTML, you can add additional code after the event "
7298
  "template. Some themes may require this to help with styling or layout."
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.14.1
8
- Tested up to: 5.9.2
9
  Requires PHP: 7.1
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -223,6 +223,22 @@ Remember to always make a backup of your database and files before updating!
223
 
224
  == Changelog ==
225
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
226
  = [5.14.1] 2022-03-17 =
227
 
228
  * Tweak - Update the backend block editor UI for a single event to look similar to its frontend version in order to create a true WYSIWYG experience when using the block editor. [TEC-4250]
@@ -328,8 +344,8 @@ Remember to always make a backup of your database and files before updating!
328
 
329
  * Feature - Add new subscribe options to the "Export Events" link at the bottom of calendar views and single Event view [TEC-4131]
330
  * Fix - Bypass caching of the event when dealing with the admin event list table. [TEC-4156]
331
- * Fix - Event List Widget will not print the H3 tag related to the title when that is empty. [BTRIA-1075]
332
- * Tweak - Allow bypassing of the Aggregator logging function by using the `tec_aggregator_records_should_log_error` filter. [BTRIA-1074]
333
  * Tweak - Removed the `tribe_events_force_filtered_ical_link` filter and the associated js function that recreates the subscribe link on v1 and Single Event views. [TEC-4131]
334
  * Language - 4 new strings added, 52 updated, 0 fuzzied, and 2 obsoleted
335
 
@@ -473,7 +489,7 @@ Remember to always make a backup of your database and files before updating!
473
  = [5.6.0] 2021-04-29 =
474
 
475
  * Version - The Events Calendar 5.6.0 is only compatible with Events Calendar PRO 5.6.0 and higher
476
- * Fix - Correct implementation of filters in Views/V2/Hooks.php to avoid fatals. [BTRIA-791]
477
  * Fix - Ensure when saving on Blocks editor Organizer and Venue IDs don't throw notices for failed deletion. [TEC-3844]
478
  * Fix - Resolve compatibility problem between The Events Calendar and other plugins using Select2. [TEC-3748]
479
  * Fix - Enqueue full styles for v2 event single only when using full styles. [TEC-3848]
@@ -510,7 +526,7 @@ Remember to always make a backup of your database and files before updating!
510
 
511
  = [5.4.0.1] 2021-03-04 =
512
 
513
- * Fix - Prevent fatals happening with PHP 5.6 due to duplicated class for templates [BTRIA-767]
514
 
515
  = [5.4.0] 2021-02-24 =
516
 
@@ -536,7 +552,7 @@ Remember to always make a backup of your database and files before updating!
536
  * Feature - Add customizer support for custom location pins on single events when Views V2 is active. [TEC-3276]
537
  * Fix - Use dynamic label for fast-forward link on the month view. [TEC-3452]
538
  * Fix - Correctly filter `locale` in the `Tribe\Events\I18n` class to avoid errors.
539
- * Fix - Prevent heartbeat warning when null data param is passed on Cron and AJAX requests [BTRIA-687]
540
  * Fix - Increase the minimum width of the datetime dropdown when editing an event with the block editor. [TEC-3126]
541
  * Fix - Ordering with an Array when using `Tribe__Repository` now properly ignores the global order passed as the default. [ECP-598]
542
  * Fix - Resolve PHP 8.0 incompatibility with `__wakeup` and `__clone` visibility on Extension class.
@@ -719,7 +735,7 @@ Remember to always make a backup of your database and files before updating!
719
  * Fix - Correct a few incorrect and/or typoed text domains [TEC-3390]
720
  * Fix - Ensure we pass search keywords when changing views and in the top-bar nav [TEC-3282]
721
  * Fix - Prevent Blocks editor from throwing browser alert when leaving the page without any changes applied to the edited post.
722
- * Fix - Several strings have been adjusted for consistency and better translatability [BTRIA-307]
723
  * Hook - Add the `tribe_events_blocks_editor_is_on` filter; returning a falsy value from this filter will prevent the Blocks Editor to ever be active on Events; else the settings from Events > Settings will apply [TEC-3349]
724
  * Tweak - Add some filters for better control of link targets, standardize the way we create those links [TEC-3402]
725
  * Language - 4 new strings added, 286 updated, 1 fuzzied, and 2 obsoleted
@@ -736,7 +752,7 @@ Remember to always make a backup of your database and files before updating!
736
  * Tweak - Remove "(beta)" label from URL source type of import. [TEC-3289]
737
  * Tweak - Reword the Filter Activation setting's labels for better clarity. [FBAR-79]
738
  * Fix - Ensure that any values for `liveFilterUpdate` that are not `automatic` or `manual` get converted. [FBAR-83]
739
- * Fix - Breakpoint code compatibility with the latest version of jQuery 3.4.1 [BTRIA-154]
740
  * Fix - Remove numbers from listed events in event list widget for Genesis theme. [TEC-2957]
741
  * Fix - Customizer accent color affects featured line and text. [TEC-3277]
742
  * Fix - Resolve conflict between datepicker holding consistent size when navigating and flexibility on small screen sizes. [TEC-3322]
4
  Tags: events, calendar, event, schedule, organizer
5
  Donate link: https://evnt.is/29
6
  Requires at least: 5.6
7
+ Stable tag: 5.14.2
8
+ Tested up to: 5.9.3
9
  Requires PHP: 7.1
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
223
 
224
  == Changelog ==
225
 
226
+ = [5.14.2] 2022-04-28 =
227
+
228
+ * Feature - Add support to CSV import for the ISO Currency Code field. [TEC-4341]
229
+ * Feature - First iteration of changes for Full Site Editor compatibility. [TEC-4262]
230
+ * Tweak - Added filters `tribe_merge_identical_organizers_enabled`, `tribe_merge_identical_venues_enabled`, `tribe_merge_identical_organizers_fields`, `tribe_merge_identical_venues_fields`, `tribe_amalgamate_venues_keep_venue`, `tribe_amalgamate_organizers_keep_organizer` for better control of the merge duplicate venues and organizers functionality. [TEC-4225]
231
+ * Tweak - Added filter `tribe_events_views_v2_ff_link_next_event` to allow better control of the fast-forward link target. [ECP-957]
232
+ * Tweak - Allow filtering of the "next event" query in the fast-forward link. [ECP-957]
233
+ * Tweak - Added filters: `tribe_merge_identical_organizers_enabled`, `tribe_merge_identical_venues_enabled`, `tribe_merge_identical_organizers_fields`, `tribe_merge_identical_venues_fields`, `tribe_amalgamate_venues_keep_venue`, `tribe_amalgamate_organizers_keep_organizer`, `tribe_events_views_v2_ff_link_next_event`.
234
+ * Tweak - Changed views: `blocks/archive-events`.
235
+ * Fix - Correctly calculate Event duration when the Event crosses the daylight saving date and time. [TEC-4336]
236
+ * Fix - Don't try to validate "raw" as a date. [TEC-4254]
237
+ * Fix - Ensure the Views don't try to do math with strings. [TEC-4322]
238
+ * Fix - Enable more than 5 csv entries to be imported when using 8.0.15 to 8.0.17 or 8.1.2 to 8.1.4. [TEC-4312]
239
+ * Fix - Ensure Google Calendar links include the event description if it exists. [TEC-4315]
240
+ * Language - 3 new strings added, 232 updated, 0 fuzzied, and 0 obsoleted.
241
+
242
  = [5.14.1] 2022-03-17 =
243
 
244
  * Tweak - Update the backend block editor UI for a single event to look similar to its frontend version in order to create a true WYSIWYG experience when using the block editor. [TEC-4250]
344
 
345
  * Feature - Add new subscribe options to the "Export Events" link at the bottom of calendar views and single Event view [TEC-4131]
346
  * Fix - Bypass caching of the event when dealing with the admin event list table. [TEC-4156]
347
+ * Fix - Event List Widget will not print the H3 tag related to the title when that is empty. [TEC-4160]
348
+ * Tweak - Allow bypassing of the Aggregator logging function by using the `tec_aggregator_records_should_log_error` filter. [TEC-4159]
349
  * Tweak - Removed the `tribe_events_force_filtered_ical_link` filter and the associated js function that recreates the subscribe link on v1 and Single Event views. [TEC-4131]
350
  * Language - 4 new strings added, 52 updated, 0 fuzzied, and 2 obsoleted
351
 
489
  = [5.6.0] 2021-04-29 =
490
 
491
  * Version - The Events Calendar 5.6.0 is only compatible with Events Calendar PRO 5.6.0 and higher
492
+ * Fix - Correct implementation of filters in Views/V2/Hooks.php to avoid fatals. [ECP-761]
493
  * Fix - Ensure when saving on Blocks editor Organizer and Venue IDs don't throw notices for failed deletion. [TEC-3844]
494
  * Fix - Resolve compatibility problem between The Events Calendar and other plugins using Select2. [TEC-3748]
495
  * Fix - Enqueue full styles for v2 event single only when using full styles. [TEC-3848]
526
 
527
  = [5.4.0.1] 2021-03-04 =
528
 
529
+ * Fix - Prevent fatals happening with PHP 5.6 due to duplicated class for templates [TEC-3799]
530
 
531
  = [5.4.0] 2021-02-24 =
532
 
552
  * Feature - Add customizer support for custom location pins on single events when Views V2 is active. [TEC-3276]
553
  * Fix - Use dynamic label for fast-forward link on the month view. [TEC-3452]
554
  * Fix - Correctly filter `locale` in the `Tribe\Events\I18n` class to avoid errors.
555
+ * Fix - Prevent heartbeat warning when null data param is passed on Cron and AJAX requests [TEC-3745]
556
  * Fix - Increase the minimum width of the datetime dropdown when editing an event with the block editor. [TEC-3126]
557
  * Fix - Ordering with an Array when using `Tribe__Repository` now properly ignores the global order passed as the default. [ECP-598]
558
  * Fix - Resolve PHP 8.0 incompatibility with `__wakeup` and `__clone` visibility on Extension class.
735
  * Fix - Correct a few incorrect and/or typoed text domains [TEC-3390]
736
  * Fix - Ensure we pass search keywords when changing views and in the top-bar nav [TEC-3282]
737
  * Fix - Prevent Blocks editor from throwing browser alert when leaving the page without any changes applied to the edited post.
738
+ * Fix - Several strings have been adjusted for consistency and better translatability [TEC-3417]
739
  * Hook - Add the `tribe_events_blocks_editor_is_on` filter; returning a falsy value from this filter will prevent the Blocks Editor to ever be active on Events; else the settings from Events > Settings will apply [TEC-3349]
740
  * Tweak - Add some filters for better control of link targets, standardize the way we create those links [TEC-3402]
741
  * Language - 4 new strings added, 286 updated, 1 fuzzied, and 2 obsoleted
752
  * Tweak - Remove "(beta)" label from URL source type of import. [TEC-3289]
753
  * Tweak - Reword the Filter Activation setting's labels for better clarity. [FBAR-79]
754
  * Fix - Ensure that any values for `liveFilterUpdate` that are not `automatic` or `manual` get converted. [FBAR-83]
755
+ * Fix - Breakpoint code compatibility with the latest version of jQuery 3.4.1 [TEC-3251]
756
  * Fix - Remove numbers from listed events in event list widget for Genesis theme. [TEC-2957]
757
  * Fix - Customizer accent color affects featured line and text. [TEC-3277]
758
  * Fix - Resolve conflict between datepicker holding consistent size when navigating and flexibility on small screen sizes. [TEC-3322]
src/Events/Editor/Full_Site/Hooks.php ADDED
@@ -0,0 +1,137 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace TEC\Events\Editor\Full_Site;
4
+
5
+ use Tribe\Events\Editor\Blocks\Archive_Events;
6
+
7
+ /**
8
+ * Class Hooks
9
+ *
10
+ * @since 5.14.2
11
+ *
12
+ * @package TEC\Events\Editor\Full_Site
13
+ */
14
+ class Hooks extends \tad_DI52_ServiceProvider {
15
+
16
+ /**
17
+ * Binds and sets up implementations.
18
+ *
19
+ * @since 5.14.2
20
+ */
21
+ public function register() {
22
+ $this->add_filters();
23
+ $this->add_actions();
24
+ }
25
+
26
+ /**
27
+ * Adds the filters required by the FSE components.
28
+ *
29
+ * @since 5.14.2
30
+ */
31
+ protected function add_filters() {
32
+ add_filter( 'get_block_templates', [ $this, 'filter_include_templates' ], 25, 3 );
33
+ add_filter( 'tribe_get_option_tribeEventsTemplate', [ $this, 'filter_events_template_setting_option' ] );
34
+ add_filter( 'tribe_get_single_option', [ $this, 'filter_tribe_get_single_option' ], 10, 3 );
35
+ add_filter( 'tribe_settings_save_option_array', [ $this, 'filter_tribe_save_template_option'], 10, 2 );
36
+ }
37
+
38
+ /**
39
+ * Adds the actions required by the FSE components.
40
+ *
41
+ * @since 5.14.2
42
+ */
43
+ protected function add_actions() {
44
+ add_action( 'tribe_editor_register_blocks', [ $this, 'action_register_archive_template' ] );
45
+ }
46
+
47
+ /**
48
+ * Registers the Events Archive template.
49
+ *
50
+ * @since 5.14.2
51
+ */
52
+ public function action_register_archive_template() {
53
+ return $this->container->make( Archive_Events::class )->register();
54
+ }
55
+
56
+ /**
57
+ * Adds the archive template to the array of block templates.
58
+ *
59
+ * @since 5.14.2
60
+ *
61
+
62
+ * @param WP_Block_Template[] $query_result Array of found block templates.
63
+ * @param array $query {
64
+ * Optional. Arguments to retrieve templates.
65
+ *
66
+ * @type array $slug__in List of slugs to include.
67
+ * @type int $wp_id Post ID of customized template.
68
+ * }
69
+ *
70
+ *
71
+ * @return array The modified $query.
72
+ */
73
+ public function filter_include_templates( $query_result, $query, $template_type ) {
74
+ // Don't load this template in the admin - so it's not editable by users.
75
+ if ( is_admin() ) {
76
+ return $query_result;
77
+ }
78
+
79
+ return $this->container->make( Templates::class )->add_events_archive( $query_result, $query, $template_type );
80
+ }
81
+
82
+ /**
83
+ * If we're using a FSE theme, we always use the full styling.
84
+ *
85
+ * @since 5.14.2
86
+
87
+ *
88
+ * @param string $value The value of the option.
89
+ * @return string $value The original value, or an empty string if FSE is active.
90
+ */
91
+ public function filter_events_template_setting_option( $value ) {
92
+ return tec_is_full_site_editor() ? '' : $value;
93
+ }
94
+
95
+
96
+ /**
97
+ * Override the get_single_option to return the default event template when FSE is active.
98
+ *
99
+ * @since 5.14.2
100
+ *
101
+ * @param mixed $option Results of option query.
102
+ * @param string $default The default value.
103
+ * @param string $option_name Name of the option.
104
+ *
105
+ * @return mixed results of option query.
106
+ */
107
+ public function filter_tribe_get_single_option( $option, $default, $option_name ) {
108
+ if ( 'tribeEventsTemplate' !== $option_name ) {
109
+ return $option;
110
+ }
111
+
112
+ if ( tec_is_full_site_editor() ) {
113
+ return '';
114
+ }
115
+
116
+ return $option;
117
+ }
118
+
119
+ /**
120
+ * Overwrite the template option on save if FSE is active.
121
+ * We only support the default events template for now.
122
+ *
123
+ * @since 5.14.2
124
+ *
125
+ * @param array<string, mixed> $options The array of values to save. In the format option key => value.
126
+ * @param string $option_id The main option ID.
127
+ *
128
+ * @return array<string, mixed> $options The array of values to save. In the format option key => value.
129
+ */
130
+ public function filter_tribe_save_template_option( $options, $option_id ) {
131
+ if ( tec_is_full_site_editor() ) {
132
+ $options[ 'tribeEventsTemplate' ] = '';
133
+ }
134
+
135
+ return $options;
136
+ }
137
+ }
src/Events/Editor/Full_Site/Provider.php ADDED
@@ -0,0 +1,101 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace TEC\Events\Editor\Full_Site;
4
+
5
+ use Tribe\Events\Editor\Blocks\Archive_Events;
6
+ use \Tribe__Events__Main as Events_Main;
7
+
8
+ /**
9
+ * Class Provider
10
+ *
11
+ * @since 5.14.2
12
+ *
13
+ * @package TEC\Events\Editor\Full_Site
14
+ */
15
+ class Provider extends \tad_DI52_ServiceProvider {
16
+ /**
17
+ * Register the provider singletons.
18
+ *
19
+ * @since 5.14.2
20
+ */
21
+ public function register() {
22
+ if ( ! tec_is_full_site_editor() ) {
23
+ return;
24
+ }
25
+
26
+ $this->container->singleton( Templates::class );
27
+
28
+ // Register singletons.
29
+ $this->register_singletons();
30
+
31
+ // Register the Service Provider for Hooks.
32
+ $this->container->register( Hooks::class );
33
+
34
+ // Register the Service Provider for Assets.
35
+ $this->register_assets();
36
+
37
+ // Register the service provider itself on the container.
38
+ $this->container->singleton( static::class, $this );
39
+ }
40
+
41
+ /**
42
+ * Registers any requires singletons.
43
+ *
44
+ * @since 5.14.2
45
+ *
46
+ */
47
+ private function register_singletons() {
48
+ $this->container->singleton( Archive_Events::class, Archive_Events::class, [ 'load' ] );
49
+ }
50
+
51
+ /**
52
+ * Binds and sets up implementations.
53
+ *
54
+ * @since 5.14.2
55
+ */
56
+ public function register_assets() {
57
+ $plugin = Events_Main::instance();
58
+
59
+ tribe_asset(
60
+ $plugin,
61
+ 'tec-events-full-site',
62
+ 'app/full-site.js',
63
+ [
64
+ 'react',
65
+ 'react-dom',
66
+ 'wp-components',
67
+ 'wp-api',
68
+ 'wp-api-request',
69
+ 'wp-blocks',
70
+ 'wp-i18n',
71
+ 'wp-element',
72
+ 'wp-editor',
73
+ 'tribe-common-gutenberg-data',
74
+ 'tribe-common-gutenberg-utils',
75
+ 'tribe-common-gutenberg-store',
76
+ 'tribe-common-gutenberg-icons',
77
+ 'tribe-common-gutenberg-hoc',
78
+ 'tribe-common-gutenberg-elements',
79
+ 'tribe-common-gutenberg-components',
80
+ ],
81
+ 'enqueue_block_editor_assets',
82
+ [
83
+ 'in_footer' => false,
84
+ 'localize' => [],
85
+ 'conditionals' => [ $this, 'is_full_site_editor' ],
86
+ 'priority' => 106,
87
+ ]
88
+ );
89
+ }
90
+
91
+ /**
92
+ * Internal FSE function for asset conditional testing.
93
+ *
94
+ * @since 5.14.2
95
+ *
96
+ * @return boolean Whether The current theme supports full-site editing or not.
97
+ */
98
+ public function is_full_site_editor() {
99
+ return tec_is_full_site_editor();
100
+ }
101
+ }
src/Events/Editor/Full_Site/Templates.php ADDED
@@ -0,0 +1,94 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace TEC\Events\Editor\Full_Site;
4
+
5
+ use Tribe__Events__Main;
6
+
7
+ use TEC\Common\Editor\Full_Site\Template_Utils;
8
+
9
+ use WP_Block_Template;
10
+
11
+ /**
12
+ * Class Templates
13
+ *
14
+ * @since 5.14.2
15
+ *
16
+ * @package TEC\Events\Editor\Full_Site
17
+ */
18
+ class Templates {
19
+
20
+ /**
21
+ * The archive slug.
22
+ *
23
+ * @since 5.14.2
24
+ *
25
+ * @var string The archive slug.
26
+ */
27
+ public static $archive_slug = 'archive-' . Tribe__Events__Main::POSTTYPE;
28
+
29
+ /**
30
+ * Modify the available Templates so that people can edit the template.
31
+ *
32
+ * @since 5.14.2
33
+ *
34
+ * @param WP_Block_Template[] $query_result Array of found block templates.
35
+ * @param array $query {
36
+ * Optional. Arguments to retrieve templates.
37
+ *
38
+ * @type array $slug__in List of slugs to include.
39
+ * @type int $wp_id Post ID of customized template.
40
+ * }
41
+ * @param string $template_type wp_template or wp_template_part.
42
+ *
43
+ * @return array
44
+ */
45
+ public function add_events_archive( array $query_result, $query, string $template_type ) {
46
+ if ( is_admin() ) {
47
+ return $query_result;
48
+ }
49
+
50
+ if ( 'wp_template' !== $template_type ) {
51
+ return $query_result;
52
+ }
53
+
54
+ // If we are not querying for all or the specific one we want we bail.
55
+ if (
56
+ ! empty( $query['slug__in'] )
57
+ && ! in_array( static::$archive_slug, $query['slug__in'], true )
58
+ ) {
59
+ return $query_result;
60
+ }
61
+
62
+ $query_result[] = $this->get_template_events_archive();
63
+
64
+ return $query_result;
65
+ }
66
+
67
+ /**
68
+ * Returns the constructed template object for the query.
69
+ *
70
+ * @since 5.14.2
71
+ *
72
+ * @return WP_Block_Template A reference to the template object for the query.
73
+ */
74
+ public function get_template_events_archive() {
75
+ $template_content = file_get_contents(
76
+ dirname( \Tribe__Main::instance()->plugin_path ) . '/src/Events/Editor/Full_Site/Templates/archive-events.html'
77
+ );
78
+
79
+ $template = new WP_Block_Template();
80
+ $template->id = 'the-events-calendar//archive-events';
81
+ $template->theme = 'The Events Calendar';
82
+ $template->content = Template_Utils::inject_theme_attribute_in_content( $template_content );
83
+ $template->slug = static::$archive_slug;
84
+ $template->source = 'custom';
85
+ $template->theme = 'The Events Calendar';
86
+ $template->type = 'wp_template';
87
+ $template->title = esc_html__( 'Events Archive', 'the-events-calendar' );
88
+ $template->status = 'publish';
89
+ $template->has_theme_file = true;
90
+ $template->is_custom = true;
91
+
92
+ return $template;
93
+ }
94
+ }
src/Events/Editor/Full_Site/Templates/archive-events.html ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ <!-- wp:template-part {"slug":"header","tagName":"header"} /-->
2
+ <!-- wp:tribe/archive-events {} /-->
3
+ <!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->
src/Tribe/API.php CHANGED
@@ -8,6 +8,9 @@ if ( ! defined( 'ABSPATH' ) ) {
8
  die( '-1' );
9
  }
10
 
 
 
 
11
  if ( ! class_exists( 'Tribe__Events__API' ) ) {
12
  class Tribe__Events__API {
13
  public static $valid_venue_keys = [
@@ -459,14 +462,16 @@ if ( ! class_exists( 'Tribe__Events__API' ) ) {
459
  }
460
 
461
  // sanity check that start date < end date
462
- $start_timestamp = strtotime( $data['EventStartDate'] );
463
- $end_timestamp = strtotime( $data['EventEndDate'] );
 
464
 
465
  if ( $start_timestamp > $end_timestamp ) {
466
  $data['EventEndDate'] = $data['EventStartDate'];
 
467
  }
468
 
469
- $data['EventDuration'] = strtotime( $data['EventEndDate'] ) - $start_timestamp;
470
 
471
  return $data;
472
  }//end prepare_event_date_meta
8
  die( '-1' );
9
  }
10
 
11
+ use Tribe__Date_Utils as Dates;
12
+ use Tribe__Timezones as Timezones;
13
+
14
  if ( ! class_exists( 'Tribe__Events__API' ) ) {
15
  class Tribe__Events__API {
16
  public static $valid_venue_keys = [
462
  }
463
 
464
  // sanity check that start date < end date
465
+ $timezone = Timezones::build_timezone_object( $data['EventTimezone'] );
466
+ $start_timestamp = Dates::build_date_object( $data['EventStartDate'], $timezone )->getTimestamp();
467
+ $end_timestamp = Dates::build_date_object( $data['EventEndDate'], $timezone )->getTimestamp();
468
 
469
  if ( $start_timestamp > $end_timestamp ) {
470
  $data['EventEndDate'] = $data['EventStartDate'];
471
+ $end_timestamp = Dates::build_date_object( $data['EventStartDate'], $timezone )->getTimestamp();
472
  }
473
 
474
+ $data['EventDuration'] = $end_timestamp - $start_timestamp;
475
 
476
  return $data;
477
  }//end prepare_event_date_meta
src/Tribe/Amalgamator.php CHANGED
@@ -27,8 +27,31 @@ class Tribe__Events__Amalgamator {
27
  *
28
  */
29
  public function merge_duplicates() {
30
- $this->merge_identical_organizers();
31
- $this->merge_identical_venues();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
32
 
33
  $events = Tribe__Events__Main::instance();
34
  wp_cache_flush();
@@ -56,6 +79,16 @@ class Tribe__Events__Amalgamator {
56
  '_OrganizerEmail' => get_post_meta( $id, '_OrganizerEmail', true ),
57
  ];
58
 
 
 
 
 
 
 
 
 
 
 
59
  $hash = md5( serialize( $data ) );
60
 
61
  if ( ! isset( $buckets[ $hash ] ) ) {
@@ -104,6 +137,15 @@ class Tribe__Events__Amalgamator {
104
  '_VenueURL' => get_post_meta( $id, '_VenueURL', true ),
105
  ];
106
 
 
 
 
 
 
 
 
 
 
107
  $hash = md5( serialize( $data ) );
108
 
109
  if ( ! isset( $buckets[ $hash ] ) ) {
@@ -161,20 +203,96 @@ class Tribe__Events__Amalgamator {
161
  /**
162
  * Merge all venues in the given list into one post (keeping the first)
163
  *
164
- * @param array $venue_ids
165
  *
 
166
  */
167
- private function amalgamate_venues( $venue_ids ) {
168
  if ( empty( $venue_ids ) || count( $venue_ids ) < 2 ) {
169
  return;
170
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
171
  global $wpdb;
172
- array_map( 'intval', $venue_ids );
173
- $keep = array_shift( $venue_ids );
174
- $old_ids = implode( ',', $venue_ids );
175
- $sql = "UPDATE {$wpdb->postmeta} SET meta_value=%d WHERE meta_key=%s AND meta_value IN($old_ids)";
176
- $sql = $wpdb->prepare( $sql, $keep, '_EventVenueID' );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
177
  $wpdb->query( $sql );
 
178
  $this->update_default_venues( $keep, $venue_ids );
179
  $this->delete_posts( $venue_ids );
180
  }
@@ -189,12 +307,86 @@ class Tribe__Events__Amalgamator {
189
  if ( empty( $organizer_ids ) || count( $organizer_ids ) < 2 ) {
190
  return;
191
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
192
  global $wpdb;
193
- array_map( 'intval', $organizer_ids );
194
- $keep = array_shift( $organizer_ids );
195
- $old_ids = implode( ',', $organizer_ids );
196
- $sql = "UPDATE {$wpdb->postmeta} SET meta_value=%d WHERE meta_key=%s AND meta_value IN($old_ids)";
197
- $sql = $wpdb->prepare( $sql, $keep, '_EventOrganizerID' );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
198
  $wpdb->query( $sql );
199
  $this->update_default_organizers( $keep, $organizer_ids );
200
  $this->delete_posts( $organizer_ids );
27
  *
28
  */
29
  public function merge_duplicates() {
30
+ /**
31
+ * Whether duplicate organizers should be merged.
32
+ *
33
+ * @since 5.14.2
34
+ *
35
+ * @param boolean $merge_organizers Whether duplicate organizers should be merged, default true.
36
+ */
37
+ $merge_organizers = (bool) apply_filters( 'tribe_merge_identical_organizers_enabled', true );
38
+
39
+ if ( tribe_is_truthy( $merge_organizers ) ) {
40
+ $this->merge_identical_organizers();
41
+ }
42
+
43
+ /**
44
+ * Whether duplicate venues should be merged.
45
+ *
46
+ * @since 5.14.2
47
+ *
48
+ * @param boolean $merge_venues Whether duplicate venues should be merged, default true.
49
+ */
50
+ $merge_venues = (bool) apply_filters( 'tribe_merge_identical_venues_enabled', true );
51
+
52
+ if ( tribe_is_truthy( $merge_venues ) ) {
53
+ $this->merge_identical_venues();
54
+ }
55
 
56
  $events = Tribe__Events__Main::instance();
57
  wp_cache_flush();
79
  '_OrganizerEmail' => get_post_meta( $id, '_OrganizerEmail', true ),
80
  ];
81
 
82
+ /**
83
+ * Filter the fields that should be used for comparison when checking for duplicates.
84
+ *
85
+ * @since 5.14.2
86
+ *
87
+ * @param array<string|string> $data The array of fields with values to be checked.
88
+ * @param integer $id The post id of the organizer being merged.
89
+ */
90
+ $data = apply_filters( 'tribe_merge_identical_organizers_fields', $data, $id );
91
+
92
  $hash = md5( serialize( $data ) );
93
 
94
  if ( ! isset( $buckets[ $hash ] ) ) {
137
  '_VenueURL' => get_post_meta( $id, '_VenueURL', true ),
138
  ];
139
 
140
+ /**
141
+ * Filter the fields that should be used for comparison when checking for duplicates.
142
+ *
143
+ * @since 5.14.2
144
+ *
145
+ * @param array $data The array of fields with values to be checked.
146
+ */
147
+ $data = apply_filters( 'tribe_merge_identical_venues_fields', $data );
148
+
149
  $hash = md5( serialize( $data ) );
150
 
151
  if ( ! isset( $buckets[ $hash ] ) ) {
203
  /**
204
  * Merge all venues in the given list into one post (keeping the first)
205
  *
206
+ * @since 5.14.2 - Change to public method.
207
  *
208
+ * @param array<string|integer> $venue_ids An Array of venue ids to merge.
209
  */
210
+ public function amalgamate_venues( $venue_ids ) {
211
  if ( empty( $venue_ids ) || count( $venue_ids ) < 2 ) {
212
  return;
213
  }
214
+
215
+ $venue_ids = array_map( function ( $item ) {
216
+ return intval( absint( $item ) );
217
+ }, $venue_ids );
218
+
219
+ // Sort the array to get the lowest post id.
220
+ sort( $venue_ids );
221
+
222
+ /**
223
+ * Filter the venue ids that should be kept.
224
+ *
225
+ * @since 5.14.2
226
+ *
227
+ * @param array<string|integer> An Array of the post ids to keep or an empty array.
228
+ * @param array<string|integer> $venue_ids An Array of venue ids to merge.
229
+ */
230
+ $keep = (array) apply_filters( 'tribe_amalgamate_venues_keep_venue', [], $venue_ids );
231
+
232
+ // If not an array or empty, run the default venues amalgamate.
233
+ if ( ! is_array( $keep ) || empty( $keep ) ) {
234
+ $this->run_amalgamate_venues( $venue_ids, [] );
235
+
236
+ return;
237
+ }
238
+
239
+ // Check if any of the venue ids is in $keep.
240
+ $intersect = array_intersect( $keep, $venue_ids );
241
+ if ( empty( $intersect ) ) {
242
+ $this->run_amalgamate_venues( $venue_ids, [] );
243
+
244
+ return;
245
+ }
246
+
247
+ // Return all the venue ids that match.
248
+ $intersect_keys = array_flip( $intersect );
249
+ $venue_ids = array_filter( $venue_ids, function ( $venue_id ) use ( $intersect_keys ) {
250
+ return ! isset( $intersect_keys[ $venue_id ] );
251
+ } );
252
+
253
+ // Sort the array to get the lowest post id.
254
+ sort( $intersect );
255
+ // Get the first and lowest venue id as there can only be one venue that everything is amalgamates to.
256
+ $keep = array_shift( $intersect );
257
+
258
+ $this->run_amalgamate_venues( $venue_ids, $keep );
259
+ }
260
+
261
+ /**
262
+ * Run the Venue amalgamation, by default it keeps the lowest venue_id.
263
+ *
264
+ * @since 5.14.2
265
+ *
266
+ * @param array<string|integer> $venue_ids An Array of venue ids to merge.
267
+ * @param array<string|integer> $keep An Array of the post IDs to keep or an empty array.
268
+ */
269
+ public function run_amalgamate_venues( $venue_ids, $keep = [] ) {
270
  global $wpdb;
271
+
272
+ // If $venue_ids is empty, then return.
273
+ if ( empty( $venue_ids ) ) {
274
+ return;
275
+ }
276
+
277
+ // If $keep is empty, then use the first venue id in the array..
278
+ if ( empty( $keep ) ) {
279
+ $keep = array_shift( $venue_ids );
280
+ }
281
+
282
+ $merging_ids = array_map( static function ( $id ) use ( $wpdb ) {
283
+ return $wpdb->prepare( '%d', $id );
284
+ }, $venue_ids );
285
+
286
+ $sql = "
287
+ UPDATE {$wpdb->postmeta}
288
+ SET meta_value=%d
289
+ WHERE meta_key=%s
290
+ AND meta_value
291
+ IN(%s)
292
+ ";
293
+ $sql = $wpdb->prepare( $sql, $keep, '_EventVenueID', implode(',', $merging_ids) );
294
  $wpdb->query( $sql );
295
+
296
  $this->update_default_venues( $keep, $venue_ids );
297
  $this->delete_posts( $venue_ids );
298
  }
307
  if ( empty( $organizer_ids ) || count( $organizer_ids ) < 2 ) {
308
  return;
309
  }
310
+
311
+ $organizer_ids = array_map( function ( $item ) {
312
+ return intval( absint( $item ) );
313
+ }, $organizer_ids );
314
+
315
+ // Sort the array to get the lowest post id.
316
+ sort( $organizer_ids );
317
+
318
+ /**
319
+ * Filter the organizer IDs that should be kept.
320
+ *
321
+ * @since 5.14.2
322
+ *
323
+ * @param array<string|integer> An Array of the post IDs to keep or an empty array if not defined.
324
+ * @param array<string|integer> An Array of organizer ids to merge.
325
+ */
326
+ $keep = (array) apply_filters( 'tribe_amalgamate_organizers_keep_organizer', [], $organizer_ids );
327
+
328
+ // If not an array or empty, run the default venues amalgamate.
329
+ if ( ! is_array( $keep ) || empty( $keep ) ) {
330
+ $this->run_amalgamate_organizers( $organizer_ids, [] );
331
+
332
+ return;
333
+ }
334
+
335
+ // Check if any of the organizer ids is in $keep.
336
+ $intersect = array_intersect( $keep, $organizer_ids );
337
+ if ( empty( $intersect ) ) {
338
+ $this->run_amalgamate_organizers( $organizer_ids, [] );
339
+
340
+ return;
341
+ }
342
+
343
+ // Return all the organizer ids that match.
344
+ $intersect_keys = array_flip( $intersect );
345
+ $organizer_ids = array_filter( $organizer_ids, function ( $organizer_id ) use ( $intersect_keys ) {
346
+ return ! isset( $intersect_keys[ $organizer_id ] );
347
+ } );
348
+
349
+ // Sort the array to get the lowest post id.
350
+ sort( $intersect );
351
+ // Get the first and lowest organizer id as there can only be one organizer that everything is amalgamates to.
352
+ $keep = array_shift( $intersect );
353
+
354
+ $this->run_amalgamate_organizers( $organizer_ids, $keep );
355
+ }
356
+
357
+ /**
358
+ * Run the Venue amalgamation, by default it keeps the lowest venue_id.
359
+ *
360
+ * @since 5.14.2
361
+ *
362
+ * @param array<string|integer> $organizer_ids An Array of organizer ids to merge.
363
+ * @param array<string|integer> $keep An Array of the post IDs to keep or an empty array.
364
+ */
365
+ public function run_amalgamate_organizers( $organizer_ids, $keep = [] ) {
366
  global $wpdb;
367
+
368
+ // If $organizer_ids is empty, then return.
369
+ if ( empty( $organizer_ids ) ) {
370
+ return;
371
+ }
372
+
373
+ // If $keep is empty, then use the first venue id in the array..
374
+ if ( empty( $keep ) ) {
375
+ $keep = array_shift( $organizer_ids );
376
+ }
377
+
378
+ $merging_ids = array_map( static function ( $id ) use ( $wpdb ) {
379
+ return $wpdb->prepare( '%d', $id );
380
+ }, $organizer_ids );
381
+
382
+ $sql = "
383
+ UPDATE {$wpdb->postmeta}
384
+ SET meta_value=%d
385
+ WHERE meta_key=%s
386
+ AND meta_value
387
+ IN(%s)
388
+ ";
389
+ $sql = $wpdb->prepare( $sql, $keep, '_EventOrganizerID', implode(',', $merging_ids) );
390
  $wpdb->query( $sql );
391
  $this->update_default_organizers( $keep, $organizer_ids );
392
  $this->delete_posts( $organizer_ids );
src/Tribe/Editor.php CHANGED
@@ -122,9 +122,10 @@ class Tribe__Events__Editor extends Tribe__Editor {
122
  }
123
 
124
  /**
125
- * When Gutenberg is active do not care about custom-fields as a metabox, but as part o the Rest API
126
  *
127
- * Code is located at: https://github.com/moderntribe/the-events-calendar/blob/f8af49bc41048e8632372fc8da77202d9cb98d86/src/Tribe/Admin/Event_Meta_Box.php#L345
 
128
  *
129
  * @todo Block that option once the user has Gutenberg active
130
  *
122
  }
123
 
124
  /**
125
+ * When Gutenberg is active, we do not care about custom-fields as a metabox, but as part of the Rest API
126
  *
127
+ * Code is located at:
128
+ * https://github.com/moderntribe/the-events-calendar/blob/f8af49bc41048e8632372fc8da77202d9cb98d86/src/Tribe/Admin/Event_Meta_Box.php#L345
129
  *
130
  * @todo Block that option once the user has Gutenberg active
131
  *
src/Tribe/Editor/Blocks/Archive_Events.php ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace Tribe\Events\Editor\Blocks;
3
+
4
+ class Archive_Events extends \Tribe__Editor__Blocks__Abstract {
5
+
6
+ /**
7
+ * Returns the name/slug of this block.
8
+ *
9
+ * @since 5.14.2
10
+ *
11
+ * @return string The name/slug of this block.
12
+ */
13
+ public function slug() {
14
+ return 'archive-events';
15
+ }
16
+
17
+ /**
18
+ * Set the default attributes of this block.
19
+ *
20
+ * @since 5.14.2
21
+ *
22
+ * @return array<string,mixed> The array of default attributes.
23
+ */
24
+ public function default_attributes() {
25
+ return [];
26
+ }
27
+
28
+ /**
29
+ * Since we are dealing with a Dynamic type of Block we need a PHP method to render it.
30
+ *
31
+ * @since 5.14.2
32
+ *
33
+ * @param array $attributes The block attributes.
34
+ *
35
+ * @return string The block HTML.
36
+ */
37
+ public function render( $attributes = [] ) {
38
+ $args['attributes'] = $this->attributes( $attributes );
39
+
40
+ // Add the rendering attributes into global context.
41
+ tribe( 'events.editor.template' )->add_template_globals( $args );
42
+
43
+ return tribe( 'events.editor.template' )->template( [ 'blocks', $this->slug() ], $args, false );
44
+ }
45
+ }
src/Tribe/Editor/Provider.php CHANGED
@@ -16,7 +16,7 @@ class Tribe__Events__Editor__Provider extends tad_DI52_ServiceProvider {
16
 
17
  tribe( 'events.editor' )->hook();
18
 
19
- if ( ! tribe( 'editor' )->should_load_blocks() ) {
20
  return;
21
  }
22
 
16
 
17
  tribe( 'events.editor' )->hook();
18
 
19
+ if ( ! tribe( 'editor' )->should_load_blocks() && ! tec_is_full_site_editor() ) {
20
  return;
21
  }
22
 
src/Tribe/Importer/Column_Mapper.php CHANGED
@@ -76,6 +76,7 @@ class Tribe__Events__Importer__Column_Mapper {
76
  'event_show_map_link' => esc_html__( 'Event Show Map Link', 'the-events-calendar' ),
77
  'event_show_map' => esc_html__( 'Event Show Map', 'the-events-calendar' ),
78
  'event_cost' => esc_html__( 'Event Cost', 'the-events-calendar' ),
 
79
  'event_currency_symbol' => esc_html__( 'Event Currency Symbol', 'the-events-calendar' ),
80
  'event_currency_position' => esc_html__( 'Event Currency Position', 'the-events-calendar' ),
81
  'event_category' => esc_html__( 'Event Category', 'the-events-calendar' ),
76
  'event_show_map_link' => esc_html__( 'Event Show Map Link', 'the-events-calendar' ),
77
  'event_show_map' => esc_html__( 'Event Show Map', 'the-events-calendar' ),
78
  'event_cost' => esc_html__( 'Event Cost', 'the-events-calendar' ),
79
+ 'event_currency_code' => esc_html__( 'Event ISO Currency Code', 'the-events-calendar' ),
80
  'event_currency_symbol' => esc_html__( 'Event Currency Symbol', 'the-events-calendar' ),
81
  'event_currency_position' => esc_html__( 'Event Currency Position', 'the-events-calendar' ),
82
  'event_category' => esc_html__( 'Event Category', 'the-events-calendar' ),
src/Tribe/Importer/File_Importer_Events.php CHANGED
@@ -261,6 +261,7 @@ class Tribe__Events__Importer__File_Importer_Events extends Tribe__Events__Impor
261
  'EventShowMapLink' => $this->get_boolean_value_by_key( $record, 'event_show_map_link', '1', '' ),
262
  'EventShowMap' => $this->get_boolean_value_by_key( $record, 'event_show_map', '1', '' ),
263
  'EventCost' => $this->get_value_by_key( $record, 'event_cost' ),
 
264
  'EventAllDay' => $this->get_boolean_value_by_key( $record, 'event_all_day', 'yes' ),
265
  'EventHideFromUpcoming' => $this->get_boolean_value_by_key( $record, 'event_hide', 'yes', '' ),
266
  'EventURL' => $this->get_value_by_key( $record, 'event_website' ),
261
  'EventShowMapLink' => $this->get_boolean_value_by_key( $record, 'event_show_map_link', '1', '' ),
262
  'EventShowMap' => $this->get_boolean_value_by_key( $record, 'event_show_map', '1', '' ),
263
  'EventCost' => $this->get_value_by_key( $record, 'event_cost' ),
264
+ 'EventCurrencyCode' => $this->get_value_by_key( $record, 'event_currency_code' ),
265
  'EventAllDay' => $this->get_boolean_value_by_key( $record, 'event_all_day', 'yes' ),
266
  'EventHideFromUpcoming' => $this->get_boolean_value_by_key( $record, 'event_hide', 'yes', '' ),
267
  'EventURL' => $this->get_value_by_key( $record, 'event_website' ),
src/Tribe/Importer/File_Reader.php CHANGED
@@ -9,14 +9,31 @@ class Tribe__Events__Importer__File_Reader {
9
  private $last_line_read = 0;
10
  public $lines;
11
 
 
 
 
 
 
 
 
12
  public function __construct( $file_path ) {
13
  ini_set( 'auto_detect_line_endings', true );
14
  $this->path = $file_path;
15
  $this->file = new SplFileObject( $this->path );
16
  $this->file->setFlags( SplFileObject::SKIP_EMPTY | SplFileObject::READ_CSV | SplFileObject::READ_AHEAD | SplFileObject::DROP_NEW_LINE );
17
  $this->set_csv_params( $this->get_csv_params() );
18
- $this->file->seek( $this->file->getSize() );
19
- $this->lines = $this->file->key();
 
 
 
 
 
 
 
 
 
 
20
  $this->file->rewind();
21
 
22
  add_filter( 'tribe_events_import_row', [ $this, 'sanitize_row' ] );
9
  private $last_line_read = 0;
10
  public $lines;
11
 
12
+ /**
13
+ * Construct for Tribe__Events__Importer__File_Reader.
14
+ *
15
+ * @since 5.14.2 - Fix for PHP 8.0.15 to 8.0.17 on getting the last line of the csv file.
16
+ *
17
+ * @param string $file_path The full path to the file.
18
+ */
19
  public function __construct( $file_path ) {
20
  ini_set( 'auto_detect_line_endings', true );
21
  $this->path = $file_path;
22
  $this->file = new SplFileObject( $this->path );
23
  $this->file->setFlags( SplFileObject::SKIP_EMPTY | SplFileObject::READ_CSV | SplFileObject::READ_AHEAD | SplFileObject::DROP_NEW_LINE );
24
  $this->set_csv_params( $this->get_csv_params() );
25
+ $this->file->seek( PHP_INT_MAX );
26
+ $total_lines = $this->file->key();
27
+ /*
28
+ * In PHP 8.0.15 to 8.0.17 or 8.1.2 to 8.1.4 the use of seek() and then key() returns 0 when using the flag SplFileObject::READ_CSV.
29
+ * This bug is fixed in PHP 8.0.18 and 8.1.5.
30
+ * @see https://github.com/php/php-src/issues/8236 - outlines the issue with seek()
31
+ * @see https://github.com/php/php-src/pull/8138 - PR to fix the issue
32
+ */
33
+ if ( 0 === $total_lines ) {
34
+ $total_lines = iterator_count( $this->file );
35
+ }
36
+ $this->lines = $total_lines;
37
  $this->file->rewind();
38
 
39
  add_filter( 'tribe_events_import_row', [ $this, 'sanitize_row' ] );
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.14.1';
36
 
37
  /**
38
  * Min Pro Addon
@@ -640,6 +640,8 @@ if ( ! class_exists( 'Tribe__Events__Main' ) ) {
640
  // Filter Bar upsell.
641
  tribe_register_provider( Tribe\Events\Admin\Filter_Bar\Provider::class );
642
 
 
 
643
  /**
644
  * Allows other plugins and services to override/change the bound implementations.
645
  *
32
  const VENUE_POST_TYPE = 'tribe_venue';
33
  const ORGANIZER_POST_TYPE = 'tribe_organizer';
34
 
35
+ const VERSION = '5.14.2';
36
 
37
  /**
38
  * Min Pro Addon
640
  // Filter Bar upsell.
641
  tribe_register_provider( Tribe\Events\Admin\Filter_Bar\Provider::class );
642
 
643
+ tribe_register_provider( TEC\Events\Editor\Full_Site\Provider::class );
644
+
645
  /**
646
  * Allows other plugins and services to override/change the bound implementations.
647
  *
src/Tribe/Models/Post_Types/Event.php CHANGED
@@ -113,7 +113,7 @@ class Event extends Base {
113
  $this_week_duration = null;
114
  $displays_on = [];
115
 
116
- if ( Dates::is_valid_date( $filter ) ) {
117
  list( $week_start, $week_end ) = Dates::get_week_start_end( $filter );
118
 
119
  $week_cache_key = $post_id . '_' . $week_start->format( Dates::DBDATEFORMAT ) . '_week';
113
  $this_week_duration = null;
114
  $displays_on = [];
115
 
116
+ if ( 'raw' !== $filter && Dates::is_valid_date( $filter ) ) {
117
  list( $week_start, $week_end ) = Dates::get_week_start_end( $filter );
118
 
119
  $week_cache_key = $post_id . '_' . $week_start->format( Dates::DBDATEFORMAT ) . '_week';
src/Tribe/Views/V2/Hooks.php CHANGED
@@ -231,6 +231,10 @@ class Hooks extends \tad_DI52_ServiceProvider {
231
  * @since 4.9.2
232
  */
233
  public function on_wp_head() {
 
 
 
 
234
  $this->container->make( Template\Page::class )->maybe_hijack_main_query();
235
  }
236
 
231
  * @since 4.9.2
232
  */
233
  public function on_wp_head() {
234
+ if ( tec_is_full_site_editor() ) {
235
+ return;
236
+ }
237
+
238
  $this->container->make( Template\Page::class )->maybe_hijack_main_query();
239
  }
240
 
src/Tribe/Views/V2/Template_Bootstrap.php CHANGED
@@ -355,6 +355,10 @@ class Template_Bootstrap {
355
  * @return string Path to the File that initializes the template
356
  */
357
  public function filter_template_include( $template ) {
 
 
 
 
358
  $query = tribe_get_global_query_object();
359
  $context = tribe_context();
360
 
355
  * @return string Path to the File that initializes the template
356
  */
357
  public function filter_template_include( $template ) {
358
+ if ( tec_is_full_site_editor() ) {
359
+ return $template;
360
+ }
361
+
362
  $query = tribe_get_global_query_object();
363
  $context = tribe_context();
364
 
src/Tribe/Views/V2/View.php CHANGED
@@ -1224,6 +1224,7 @@ class View implements View_Interface {
1224
  * This allows us to save a query when determining pagination for list-like views.
1225
  *
1226
  * @since 5.0.0
 
1227
  *
1228
  * @param null|int $offset_override Offset override value.
1229
  * @param \WP_Query $query WP Query object.
@@ -1238,11 +1239,12 @@ class View implements View_Interface {
1238
  $context = $this->get_context();
1239
 
1240
  $current_page = max(
1241
- $context->get( 'page' ),
1242
- $context->get( 'paged' ),
1243
  1
1244
  );
1245
- return ( $current_page - 1 ) * $this->get_context()->get( 'events_per_page' );
 
1246
  }
1247
 
1248
  /**
1224
  * This allows us to save a query when determining pagination for list-like views.
1225
  *
1226
  * @since 5.0.0
1227
+ * @since 5.15.2 Ensure our max() gets all ints, for math reasons.
1228
  *
1229
  * @param null|int $offset_override Offset override value.
1230
  * @param \WP_Query $query WP Query object.
1239
  $context = $this->get_context();
1240
 
1241
  $current_page = max(
1242
+ (int) $context->get( 'page' ),
1243
+ (int) $context->get( 'paged' ),
1244
  1
1245
  );
1246
+
1247
+ return ( $current_page - 1 ) * $context->get( 'events_per_page' );
1248
  }
1249
 
1250
  /**
src/Tribe/Views/V2/Views/Traits/With_Fast_Forward_Link.php CHANGED
@@ -11,6 +11,7 @@ namespace Tribe\Events\Views\V2\Views\Traits;
11
 
12
  use Tribe\Events\Views\V2\View_Interface;
13
  use Tribe__Date_Utils as Dates;
 
14
 
15
  /**
16
  * Class With_Fast_Forward_Link
@@ -43,7 +44,24 @@ trait With_Fast_Forward_Link {
43
  return $this->cached_urls[ $cache_key ];
44
  }
45
 
46
- $next_event = tribe_events()->where( 'starts_after', $date )->per_page( 1 )->first();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
47
 
48
  if ( ! $next_event instanceof \WP_Post ) {
49
  return '';
@@ -79,26 +97,19 @@ trait With_Fast_Forward_Link {
79
  public function use_ff_link( $canonical = false, array $passthru_vars = [] ) {
80
  // Default is true.
81
  $use_ff_link = true;
82
- $tax = $this->context->get( 'taxonomy' );
83
- $use_ff_link = empty( $tax );
84
 
85
  // Don't do filter checks if taxonomy check has failed.
86
- if ( $use_ff_link ) {
87
  // @todo [BTRIA-598]: @stephen Move this to Filterbar.
88
  $filters = array_filter( (array) $this->context->get( 'view_data' ) );
89
 
90
- if ( isset( $filters['url'] ) ) {
91
- unset( $filters['url'] );
92
- }
93
- if ( isset( $filters['form_submit'] ) ) {
94
- unset( $filters['form_submit'] );
95
- }
96
 
97
  $filters = \array_values( $filters );
98
  $use_ff_link = empty( $filters );
99
  }
100
 
101
-
102
  /**
103
  * Filters whether the fast-forward link should be used in Views or not whenever possible.
104
  *
11
 
12
  use Tribe\Events\Views\V2\View_Interface;
13
  use Tribe__Date_Utils as Dates;
14
+ use Tribe__Events__Main;
15
 
16
  /**
17
  * Class With_Fast_Forward_Link
44
  return $this->cached_urls[ $cache_key ];
45
  }
46
 
47
+ $next_event = tribe_events()->where( 'starts_after', $date );
48
+
49
+ $event_cat = isset( $this->repository_args[ Tribe__Events__Main::TAXONOMY ] ) ? $this->repository_args[ Tribe__Events__Main::TAXONOMY ] : null;
50
+ if ( ! empty( $event_cat ) ) {
51
+ $next_event = $next_event->where( 'category', (array) $event_cat );
52
+ }
53
+
54
+ /**
55
+ * Allows other plugins to modify the events repository for the fast-forward link.
56
+ *
57
+ * @since 5.14.2
58
+ *
59
+ * @param Tribe__Repository__Interface $next_event Current instance of the events repository class.
60
+ * @param View_Interface $view The View currently rendering.
61
+ */
62
+ $next_event = apply_filters( 'tribe_events_views_v2_ff_link_next_event', $next_event, $this );
63
+
64
+ $next_event = $next_event->first();
65
 
66
  if ( ! $next_event instanceof \WP_Post ) {
67
  return '';
97
  public function use_ff_link( $canonical = false, array $passthru_vars = [] ) {
98
  // Default is true.
99
  $use_ff_link = true;
 
 
100
 
101
  // Don't do filter checks if taxonomy check has failed.
102
+ if ( ! empty( $this->context->get( 'taxonomy' ) ) ) {
103
  // @todo [BTRIA-598]: @stephen Move this to Filterbar.
104
  $filters = array_filter( (array) $this->context->get( 'view_data' ) );
105
 
106
+ unset( $filters['url'] );
107
+ unset( $filters['form_submit'] );
 
 
 
 
108
 
109
  $filters = \array_values( $filters );
110
  $use_ff_link = empty( $filters );
111
  }
112
 
 
113
  /**
114
  * Filters whether the fast-forward link should be used in Views or not whenever possible.
115
  *
src/Tribe/Views/V2/iCalendar/Links/Google_Calendar.php CHANGED
@@ -115,7 +115,14 @@ class Google_Calendar extends Link_Abstract {
115
  return '';
116
  }
117
 
118
- $event_details = empty( $event->description ) ? urlencode( $event->description ) : '';
 
 
 
 
 
 
 
119
 
120
  if ( ! empty( $event_details ) ) {
121
  //Truncate Event Description and add permalink if greater than 996 characters
@@ -219,7 +226,11 @@ class Google_Calendar extends Link_Abstract {
219
  }
220
 
221
  // Append the "read more" link.
222
- $event_details .= sprintf( esc_html__( ' (View Full %1$s Description Here: %2$s)', 'the-events-calendar' ), $this->singular_event_label, $event_url );
 
 
 
 
223
 
224
  return $event_details;
225
  }
115
  return '';
116
  }
117
 
118
+ $event_details = '';
119
+ if ( ! empty( $event->description ) ) {
120
+ $event_details = $event->description;
121
+ } else if ( ! empty( $event->post_content ) ) {
122
+ $event_details = $event->post_content;
123
+ }
124
+
125
+ $event_details = urlencode( $event_details );
126
 
127
  if ( ! empty( $event_details ) ) {
128
  //Truncate Event Description and add permalink if greater than 996 characters
226
  }
227
 
228
  // Append the "read more" link.
229
+ $event_details .= sprintf(
230
+ esc_html_x( ' (View Full %1$s Description Here: %2$s)', 'Link to full description. %1$s: pre=translated event term. %2$s: event url.', 'the-events-calendar' ),
231
+ tribe_get_event_label_singular_lowercase(),
232
+ $event_url
233
+ );
234
 
235
  return $event_details;
236
  }
src/admin-views/create-venue-fields.php CHANGED
@@ -24,7 +24,7 @@ if ( ! $_POST && is_admin() ) {
24
 
25
  } else {
26
  $_VenuePhone = tribe_get_phone();
27
- $_VenueURL = strip_tags( tribe_get_venue_website_link( null, null ) );
28
  $_VenueAddress = tribe_get_address();
29
  $_VenueCity = tribe_get_city();
30
  $_VenueProvince = tribe_get_province();
24
 
25
  } else {
26
  $_VenuePhone = tribe_get_phone();
27
+ $_VenueURL = strip_tags( tribe_get_venue_link( null, false ) );
28
  $_VenueAddress = tribe_get_address();
29
  $_VenueCity = tribe_get_city();
30
  $_VenueProvince = tribe_get_province();
src/admin-views/tribe-options-display.php CHANGED
@@ -1,64 +1,6 @@
1
  <?php
2
  $tec = Tribe__Events__Main::instance();
3
 
4
- $template_options = [
5
- '' => esc_html__( 'Default Events Template', 'the-events-calendar' ),
6
- 'default' => esc_html__( 'Default Page Template', 'the-events-calendar' ),
7
- ];
8
- $templates = get_page_templates();
9
- ksort( $templates );
10
- foreach ( array_keys( $templates ) as $template ) {
11
- $template_options[ $templates[ $template ] ] = $template;
12
- }
13
-
14
- $stylesheet_choices = [
15
- 'skeleton' => __( 'Skeleton Styles', 'the-events-calendar' )
16
- . '<p class=\'description tribe-style-selection\'>'
17
- . __(
18
- 'Only includes enough css to achieve complex layouts like calendar and week view.',
19
- 'the-events-calendar'
20
- )
21
- .'</p>',
22
- 'full' => __( 'Full Styles', 'the-events-calendar' )
23
- . '<p class=\'description tribe-style-selection\'>'
24
- . __(
25
- 'More detailed styling, tries to grab styles from your theme.',
26
- 'the-events-calendar'
27
- )
28
- . '</p>',
29
- 'tribe' => __( 'Tribe Events Styles', 'the-events-calendar' )
30
- . '<p class=\'description tribe-style-selection\'>'
31
- . __(
32
- 'A fully designed and styled theme for your events pages.',
33
- 'the-events-calendar'
34
- )
35
- . '</p>',
36
- ];
37
-
38
-
39
- // If V2 is enabled, we don't show the (redundant) 'full' option
40
- if ( tribe_events_views_v2_is_enabled() ) {
41
- unset( $stylesheet_choices[ 'full' ] ) ;
42
- }
43
-
44
- $stylesheet_option = [
45
- 'type' => 'radio',
46
- 'label' => __( 'Default stylesheet used for events templates', 'the-events-calendar' ),
47
- 'default' => 'tribe',
48
- 'options' => $stylesheet_choices,
49
- 'validation_type' => 'options',
50
- ];
51
-
52
- $stylesheet_mode = [ 'type' => 'html'];
53
-
54
- // If V2 is enabled, we swap the options so we don't overwrite. For backwards compatibility.
55
- if ( tribe_events_views_v2_is_enabled() ) {
56
- $stylesheet_mode = $stylesheet_option;
57
- $stylesheet_option = [ 'type' => 'html' ];
58
- }
59
-
60
-
61
-
62
  /**
63
  * Filter the array of views that are registered for the tribe bar
64
  * @param array array() {
@@ -87,6 +29,7 @@ foreach ( $views as $view ) {
87
  $views_options[ $view['displaying'] ] = $view['anchor'];
88
  }
89
 
 
90
  $display_tab_fields = Tribe__Main::array_insert_before_key(
91
  'tribe-form-content-start',
92
  $display_tab_fields,
@@ -118,7 +61,7 @@ $display_tab_fields = Tribe__Main::array_insert_before_key(
118
  ]
119
  );
120
 
121
-
122
  $display_tab_fields = Tribe__Main::array_insert_before_key(
123
  'datepickerFormat',
124
  $display_tab_fields,
@@ -142,6 +85,7 @@ $display_tab_fields = Tribe__Main::array_insert_before_key(
142
  ]
143
  );
144
 
 
145
  $display_tab_fields = Tribe__Main::array_insert_after_key(
146
  'dateWithYearFormat',
147
  $display_tab_fields,
@@ -165,6 +109,7 @@ $display_tab_fields = Tribe__Main::array_insert_after_key(
165
  ]
166
  );
167
 
 
168
  $display_tab_fields = Tribe__Main::array_insert_after_key(
169
  'dateTimeSeparator',
170
  $display_tab_fields,
@@ -180,6 +125,7 @@ $display_tab_fields = Tribe__Main::array_insert_after_key(
180
  ]
181
  );
182
 
 
183
  $tribe_enable_views_tooltip = esc_html__( 'You must select at least one view.', 'the-events-calendar' );
184
 
185
  if ( tribe_is_using_basic_gmaps_api() && class_exists( 'Tribe__Events__Pro__Main' ) ) {
@@ -190,34 +136,96 @@ if ( tribe_is_using_basic_gmaps_api() && class_exists( 'Tribe__Events__Pro__Main
190
  );
191
  }
192
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
193
  $display_tab_fields = Tribe__Main::array_insert_before_key(
194
  'tribeEventsDateFormatSettingsTitle',
195
  $display_tab_fields,
196
- [
197
- 'tribeEventsBasicSettingsTitle' => [
198
- 'type' => 'html',
199
- 'html' => '<h3>' . __( 'Basic Template Settings', 'the-events-calendar' ) . '</h3>',
200
- ],
201
- 'stylesheetOption' => $stylesheet_option,
202
- 'stylesheet_mode' => $stylesheet_mode,
203
- 'tribeEventsTemplate' => [
204
- 'type' => 'dropdown',
205
- 'label' => __( 'Events template', 'the-events-calendar' ),
206
- 'tooltip' => __( 'Choose a page template to control the appearance of your calendar and event content.', 'the-events-calendar' ),
207
- 'validation_type' => 'options',
208
- 'size' => 'small',
209
- 'default' => 'default',
210
- 'options' => $template_options,
211
- ],
212
- 'tribeEnableViews' => [
213
- 'type' => 'checkbox_list',
214
- 'label' => __( 'Enable event views', 'the-events-calendar' ),
215
- 'tooltip' => $tribe_enable_views_tooltip,
216
- 'default' => array_keys( $views_options ),
217
- 'options' => $views_options,
218
- 'validation_type' => 'options_multi',
219
- ],
220
- ]
221
  );
222
 
223
  if ( tribe( 'tec.main' )->show_upgrade() ) {
1
  <?php
2
  $tec = Tribe__Events__Main::instance();
3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  /**
5
  * Filter the array of views that are registered for the tribe bar
6
  * @param array array() {
29
  $views_options[ $view['displaying'] ] = $view['anchor'];
30
  }
31
 
32
+ // Form start.
33
  $display_tab_fields = Tribe__Main::array_insert_before_key(
34
  'tribe-form-content-start',
35
  $display_tab_fields,
61
  ]
62
  );
63
 
64
+ // datepickerFormat
65
  $display_tab_fields = Tribe__Main::array_insert_before_key(
66
  'datepickerFormat',
67
  $display_tab_fields,
85
  ]
86
  );
87
 
88
+ // dateWithYearFormat
89
  $display_tab_fields = Tribe__Main::array_insert_after_key(
90
  'dateWithYearFormat',
91
  $display_tab_fields,
109
  ]
110
  );
111
 
112
+ // dateTimeSeparator
113
  $display_tab_fields = Tribe__Main::array_insert_after_key(
114
  'dateTimeSeparator',
115
  $display_tab_fields,
125
  ]
126
  );
127
 
128
+ // Views
129
  $tribe_enable_views_tooltip = esc_html__( 'You must select at least one view.', 'the-events-calendar' );
130
 
131
  if ( tribe_is_using_basic_gmaps_api() && class_exists( 'Tribe__Events__Pro__Main' ) ) {
136
  );
137
  }
138
 
139
+ $stylesheet_choices = [
140
+ 'skeleton' => __( 'Skeleton Styles', 'the-events-calendar' )
141
+ . '<p class=\'description tribe-style-selection\'>'
142
+ . __(
143
+ 'Only includes enough css to achieve complex layouts like calendar and week view.',
144
+ 'the-events-calendar'
145
+ )
146
+ .'</p>',
147
+ 'tribe' => __( 'Tribe Events Styles', 'the-events-calendar' )
148
+ . '<p class=\'description tribe-style-selection\'>'
149
+ . __(
150
+ 'A fully designed and styled theme for your events pages.',
151
+ 'the-events-calendar'
152
+ )
153
+ . '</p>',
154
+ ];
155
+
156
+
157
+ // If V2 is enabled, we don't show the (redundant) 'full' option
158
+ if ( ! tribe_events_views_v2_is_enabled() ) {
159
+ $stylesheet_choices[ 'full' ] = __( 'Full Styles', 'the-events-calendar' )
160
+ . '<p class=\'description tribe-style-selection\'>'
161
+ . __(
162
+ 'More detailed styling, tries to grab styles from your theme.',
163
+ 'the-events-calendar'
164
+ )
165
+ . '</p>';
166
+ }
167
+
168
+ $stylesheet_option = [
169
+ 'type' => 'radio',
170
+ 'label' => __( 'Default stylesheet used for events templates', 'the-events-calendar' ),
171
+ 'default' => 'tribe',
172
+ 'options' => $stylesheet_choices,
173
+ 'validation_type' => 'options',
174
+ ];
175
+
176
+ $stylesheet_mode = [ 'type' => 'html'];
177
+
178
+ // If V2 is enabled, we swap the options so we don't overwrite. For backwards compatibility.
179
+ if ( tribe_events_views_v2_is_enabled() ) {
180
+ $stylesheet_mode = $stylesheet_option;
181
+ $stylesheet_option = [ 'type' => 'html' ];
182
+ }
183
+
184
+ $styling_array = [
185
+ 'tribeEventsBasicSettingsTitle' => [
186
+ 'type' => 'html',
187
+ 'html' => '<h3>' . __( 'Basic Template Settings', 'the-events-calendar' ) . '</h3>',
188
+ ],
189
+ 'stylesheetOption' => $stylesheet_option,
190
+ 'stylesheet_mode' => $stylesheet_mode,
191
+ ];
192
+
193
+ if ( ! tec_is_full_site_editor() ) {
194
+
195
+ $template_options = [
196
+ '' => esc_html__( 'Default Events Template', 'the-events-calendar' ),
197
+ 'default' => esc_html__( 'Default Page Template', 'the-events-calendar' ),
198
+ ];
199
+ $templates = get_page_templates();
200
+ ksort( $templates );
201
+ foreach ( array_keys( $templates ) as $template ) {
202
+ $template_options[ $templates[ $template ] ] = $template;
203
+ }
204
+
205
+ $styling_array['tribeEventsTemplate'] = [
206
+ 'type' => 'dropdown',
207
+ 'label' => __( 'Events template', 'the-events-calendar' ),
208
+ 'tooltip' => __( 'Choose a page template to control the appearance of your calendar and event content.', 'the-events-calendar' ),
209
+ 'validation_type' => 'options',
210
+ 'size' => 'small',
211
+ 'default' => 'default',
212
+ 'options' => $template_options,
213
+ ];
214
+ }
215
+
216
+ $styling_array['tribeEnableViews'] = [
217
+ 'type' => 'checkbox_list',
218
+ 'label' => __( 'Enable event views', 'the-events-calendar' ),
219
+ 'tooltip' => $tribe_enable_views_tooltip,
220
+ 'default' => array_keys( $views_options ),
221
+ 'options' => $views_options,
222
+ 'validation_type' => 'options_multi',
223
+ ];
224
+
225
  $display_tab_fields = Tribe__Main::array_insert_before_key(
226
  'tribeEventsDateFormatSettingsTitle',
227
  $display_tab_fields,
228
+ $styling_array
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
229
  );
230
 
231
  if ( tribe( 'tec.main' )->show_upgrade() ) {
src/functions/template-tags/organizer.php CHANGED
@@ -437,13 +437,15 @@ if ( class_exists( 'Tribe__Events__Main' ) ) {
437
  $url = "http://$url";
438
  }
439
  }
 
440
  $html = sprintf(
441
- '<a href="%s" target="%s" rel="%s">%s</a>',
442
  esc_attr( esc_url( $url ) ),
443
  esc_attr( $target ),
444
  esc_attr( $rel ),
445
  esc_html( $label )
446
  );
 
447
  } else {
448
  $html = '';
449
  }
437
  $url = "http://$url";
438
  }
439
  }
440
+
441
  $html = sprintf(
442
+ '<a href="%1$s" target="%2$s" rel="%3$s">%4$s</a>',
443
  esc_attr( esc_url( $url ) ),
444
  esc_attr( $target ),
445
  esc_attr( $rel ),
446
  esc_html( $label )
447
  );
448
+
449
  } else {
450
  $html = '';
451
  }
src/functions/template-tags/venue.php CHANGED
@@ -773,7 +773,7 @@ if ( class_exists( 'Tribe__Events__Main' ) ) {
773
  $website_link_label = apply_filters( 'tribe_get_venue_website_link_label', esc_html( $label ), $post_id );
774
 
775
  $html = sprintf(
776
- '<a href="%s" target="%s" rel="%s">%s</a>',
777
  esc_attr( esc_url( $url ) ),
778
  esc_attr( $website_link_target ),
779
  esc_attr( $rel ),
773
  $website_link_label = apply_filters( 'tribe_get_venue_website_link_label', esc_html( $label ), $post_id );
774
 
775
  $html = sprintf(
776
+ '<a href="%1$s" target="%2$s" rel="%3$s">%4$s</a>',
777
  esc_attr( esc_url( $url ) ),
778
  esc_attr( $website_link_target ),
779
  esc_attr( $rel ),
src/views/blocks/archive-events.php ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * View: Default Template for the Archive of Events on FSE
4
+ *
5
+ * Override this template in your own theme by creating a file at:
6
+ * [your-theme]/tribe/events/blocks/archive-events.php
7
+ *
8
+ * See more documentation about our views templating system.
9
+ *
10
+ * @link http://evnt.is/1aiy
11
+ *
12
+ * @version 5.13.0
13
+ */
14
+
15
+ use Tribe\Events\Views\V2\Assets as Event_Assets;
16
+ use Tribe\Events\Views\V2\Template_Bootstrap;
17
+
18
+ tribe_asset_enqueue_group( Event_Assets::$group_key );
19
+ tribe_asset_enqueue( 'tec-events-iframe-content-resizer' );
20
+ ?>
21
+
22
+ <div class="tribe-block tribe-block__archive-events">
23
+ <?php echo tribe( Template_Bootstrap::class )->get_view_html(); ?>
24
+ </div>
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.14.1
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.14.2
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 ComposerAutoloaderInitea454cf07aa25b161d0005f2ad5530de::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit84a499d687b9037e98225e096e3c9b8e::getLoader();
vendor/composer/autoload_classmap.php CHANGED
@@ -6,6 +6,9 @@ $vendorDir = dirname(dirname(__FILE__));
6
  $baseDir = dirname($vendorDir);
7
 
8
  return array(
 
 
 
9
  'TEC\\Events\\Legacy\\Views\\V1\\Provider' => $baseDir . '/src/Events/Legacy/Views/V1/Provider.php',
10
  'Tribe\\Events\\Admin\\Filter_Bar\\Provider' => $baseDir . '/src/Tribe/Admin/Filter_Bar/Provider.php',
11
  'Tribe\\Events\\Admin\\Notice\\Full_Site_Editor' => $baseDir . '/src/Tribe/Admin/Notice/Full_Site_Editor.php',
@@ -13,6 +16,7 @@ return array(
13
  'Tribe\\Events\\Aggregator\\Processes\\Batch_Imports' => $baseDir . '/src/Tribe/Aggregator/Processes/Batch_Imports.php',
14
  'Tribe\\Events\\Aggregator\\Record\\Batch_Queue' => $baseDir . '/src/Tribe/Aggregator/Record/Batch_Queue.php',
15
  'Tribe\\Events\\Collections\\Lazy_Post_Collection' => $baseDir . '/src/Tribe/Collections/Lazy_Post_Collection.php',
 
16
  'Tribe\\Events\\Editor\\Hooks' => $baseDir . '/src/Tribe/Editor/Hooks.php',
17
  'Tribe\\Events\\Editor\\Objects\\Editor_Object_Interface' => $baseDir . '/src/Tribe/Editor/Objects/Editor_Object_Interface.php',
18
  'Tribe\\Events\\Editor\\Objects\\Event' => $baseDir . '/src/Tribe/Editor/Objects/Event.php',
6
  $baseDir = dirname($vendorDir);
7
 
8
  return array(
9
+ 'TEC\\Events\\Editor\\Full_Site\\Hooks' => $baseDir . '/src/Events/Editor/Full_Site/Hooks.php',
10
+ 'TEC\\Events\\Editor\\Full_Site\\Provider' => $baseDir . '/src/Events/Editor/Full_Site/Provider.php',
11
+ 'TEC\\Events\\Editor\\Full_Site\\Templates' => $baseDir . '/src/Events/Editor/Full_Site/Templates.php',
12
  'TEC\\Events\\Legacy\\Views\\V1\\Provider' => $baseDir . '/src/Events/Legacy/Views/V1/Provider.php',
13
  'Tribe\\Events\\Admin\\Filter_Bar\\Provider' => $baseDir . '/src/Tribe/Admin/Filter_Bar/Provider.php',
14
  'Tribe\\Events\\Admin\\Notice\\Full_Site_Editor' => $baseDir . '/src/Tribe/Admin/Notice/Full_Site_Editor.php',
16
  'Tribe\\Events\\Aggregator\\Processes\\Batch_Imports' => $baseDir . '/src/Tribe/Aggregator/Processes/Batch_Imports.php',
17
  'Tribe\\Events\\Aggregator\\Record\\Batch_Queue' => $baseDir . '/src/Tribe/Aggregator/Record/Batch_Queue.php',
18
  'Tribe\\Events\\Collections\\Lazy_Post_Collection' => $baseDir . '/src/Tribe/Collections/Lazy_Post_Collection.php',
19
+ 'Tribe\\Events\\Editor\\Blocks\\Archive_Events' => $baseDir . '/src/Tribe/Editor/Blocks/Archive_Events.php',
20
  'Tribe\\Events\\Editor\\Hooks' => $baseDir . '/src/Tribe/Editor/Hooks.php',
21
  'Tribe\\Events\\Editor\\Objects\\Editor_Object_Interface' => $baseDir . '/src/Tribe/Editor/Objects/Editor_Object_Interface.php',
22
  'Tribe\\Events\\Editor\\Objects\\Event' => $baseDir . '/src/Tribe/Editor/Objects/Event.php',
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInitea454cf07aa25b161d0005f2ad5530de
6
  {
7
  private static $loader;
8
 
@@ -19,15 +19,15 @@ class ComposerAutoloaderInitea454cf07aa25b161d0005f2ad5530de
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInitea454cf07aa25b161d0005f2ad5530de', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInitea454cf07aa25b161d0005f2ad5530de', '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\ComposerStaticInitea454cf07aa25b161d0005f2ad5530de::getInitializer($loader));
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 ComposerAutoloaderInit84a499d687b9037e98225e096e3c9b8e
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInit84a499d687b9037e98225e096e3c9b8e', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInit84a499d687b9037e98225e096e3c9b8e', '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\ComposerStaticInit84a499d687b9037e98225e096e3c9b8e::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 ComposerStaticInitea454cf07aa25b161d0005f2ad5530de
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'T' =>
@@ -26,6 +26,9 @@ class ComposerStaticInitea454cf07aa25b161d0005f2ad5530de
26
  );
27
 
28
  public static $classMap = array (
 
 
 
29
  'TEC\\Events\\Legacy\\Views\\V1\\Provider' => __DIR__ . '/../..' . '/src/Events/Legacy/Views/V1/Provider.php',
30
  'Tribe\\Events\\Admin\\Filter_Bar\\Provider' => __DIR__ . '/../..' . '/src/Tribe/Admin/Filter_Bar/Provider.php',
31
  'Tribe\\Events\\Admin\\Notice\\Full_Site_Editor' => __DIR__ . '/../..' . '/src/Tribe/Admin/Notice/Full_Site_Editor.php',
@@ -33,6 +36,7 @@ class ComposerStaticInitea454cf07aa25b161d0005f2ad5530de
33
  'Tribe\\Events\\Aggregator\\Processes\\Batch_Imports' => __DIR__ . '/../..' . '/src/Tribe/Aggregator/Processes/Batch_Imports.php',
34
  'Tribe\\Events\\Aggregator\\Record\\Batch_Queue' => __DIR__ . '/../..' . '/src/Tribe/Aggregator/Record/Batch_Queue.php',
35
  'Tribe\\Events\\Collections\\Lazy_Post_Collection' => __DIR__ . '/../..' . '/src/Tribe/Collections/Lazy_Post_Collection.php',
 
36
  'Tribe\\Events\\Editor\\Hooks' => __DIR__ . '/../..' . '/src/Tribe/Editor/Hooks.php',
37
  'Tribe\\Events\\Editor\\Objects\\Editor_Object_Interface' => __DIR__ . '/../..' . '/src/Tribe/Editor/Objects/Editor_Object_Interface.php',
38
  'Tribe\\Events\\Editor\\Objects\\Event' => __DIR__ . '/../..' . '/src/Tribe/Editor/Objects/Event.php',
@@ -141,9 +145,9 @@ class ComposerStaticInitea454cf07aa25b161d0005f2ad5530de
141
  public static function getInitializer(ClassLoader $loader)
142
  {
143
  return \Closure::bind(function () use ($loader) {
144
- $loader->prefixLengthsPsr4 = ComposerStaticInitea454cf07aa25b161d0005f2ad5530de::$prefixLengthsPsr4;
145
- $loader->prefixDirsPsr4 = ComposerStaticInitea454cf07aa25b161d0005f2ad5530de::$prefixDirsPsr4;
146
- $loader->classMap = ComposerStaticInitea454cf07aa25b161d0005f2ad5530de::$classMap;
147
 
148
  }, null, ClassLoader::class);
149
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit84a499d687b9037e98225e096e3c9b8e
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'T' =>
26
  );
27
 
28
  public static $classMap = array (
29
+ 'TEC\\Events\\Editor\\Full_Site\\Hooks' => __DIR__ . '/../..' . '/src/Events/Editor/Full_Site/Hooks.php',
30
+ 'TEC\\Events\\Editor\\Full_Site\\Provider' => __DIR__ . '/../..' . '/src/Events/Editor/Full_Site/Provider.php',
31
+ 'TEC\\Events\\Editor\\Full_Site\\Templates' => __DIR__ . '/../..' . '/src/Events/Editor/Full_Site/Templates.php',
32
  'TEC\\Events\\Legacy\\Views\\V1\\Provider' => __DIR__ . '/../..' . '/src/Events/Legacy/Views/V1/Provider.php',
33
  'Tribe\\Events\\Admin\\Filter_Bar\\Provider' => __DIR__ . '/../..' . '/src/Tribe/Admin/Filter_Bar/Provider.php',
34
  'Tribe\\Events\\Admin\\Notice\\Full_Site_Editor' => __DIR__ . '/../..' . '/src/Tribe/Admin/Notice/Full_Site_Editor.php',
36
  'Tribe\\Events\\Aggregator\\Processes\\Batch_Imports' => __DIR__ . '/../..' . '/src/Tribe/Aggregator/Processes/Batch_Imports.php',
37
  'Tribe\\Events\\Aggregator\\Record\\Batch_Queue' => __DIR__ . '/../..' . '/src/Tribe/Aggregator/Record/Batch_Queue.php',
38
  'Tribe\\Events\\Collections\\Lazy_Post_Collection' => __DIR__ . '/../..' . '/src/Tribe/Collections/Lazy_Post_Collection.php',
39
+ 'Tribe\\Events\\Editor\\Blocks\\Archive_Events' => __DIR__ . '/../..' . '/src/Tribe/Editor/Blocks/Archive_Events.php',
40
  'Tribe\\Events\\Editor\\Hooks' => __DIR__ . '/../..' . '/src/Tribe/Editor/Hooks.php',
41
  'Tribe\\Events\\Editor\\Objects\\Editor_Object_Interface' => __DIR__ . '/../..' . '/src/Tribe/Editor/Objects/Editor_Object_Interface.php',
42
  'Tribe\\Events\\Editor\\Objects\\Event' => __DIR__ . '/../..' . '/src/Tribe/Editor/Objects/Event.php',
145
  public static function getInitializer(ClassLoader $loader)
146
  {
147
  return \Closure::bind(function () use ($loader) {
148
+ $loader->prefixLengthsPsr4 = ComposerStaticInit84a499d687b9037e98225e096e3c9b8e::$prefixLengthsPsr4;
149
+ $loader->prefixDirsPsr4 = ComposerStaticInit84a499d687b9037e98225e096e3c9b8e::$prefixDirsPsr4;
150
+ $loader->classMap = ComposerStaticInit84a499d687b9037e98225e096e3c9b8e::$classMap;
151
 
152
  }, null, ClassLoader::class);
153
  }