Version Description
Download this release
Release Info
Developer | moraleida.me |
Plugin | Event Tickets |
Version | 5.3.3 |
Comparing to | |
See all releases |
Code changes from version 5.3.2 to 5.3.3
- common/lang/tribe-common-af.mo +0 -0
- common/lang/tribe-common-bg_BG.mo +0 -0
- common/lang/tribe-common-ca.mo +0 -0
- common/lang/tribe-common-cs_CZ.mo +0 -0
- common/lang/tribe-common-da_DK.mo +0 -0
- common/lang/tribe-common-de_DE.mo +0 -0
- common/lang/tribe-common-el.mo +0 -0
- common/lang/tribe-common-en_GB.mo +0 -0
- common/lang/tribe-common-es_ES.mo +0 -0
- common/lang/tribe-common-et.mo +0 -0
- common/lang/tribe-common-fi.mo +0 -0
- common/lang/tribe-common-fr_CA.mo +0 -0
- common/lang/tribe-common-fr_FR.mo +0 -0
- common/lang/tribe-common-hu_HU.mo +0 -0
- common/lang/tribe-common-id_ID.mo +0 -0
- common/lang/tribe-common-is_IS.mo +0 -0
- common/lang/tribe-common-it_IT.mo +0 -0
- common/lang/tribe-common-ja.mo +0 -0
- common/lang/tribe-common-lt_LT.mo +0 -0
- common/lang/tribe-common-lv.mo +0 -0
- common/lang/tribe-common-nb_NO.mo +0 -0
- common/lang/tribe-common-nl_NL.mo +0 -0
- common/lang/tribe-common-pt_BR.mo +0 -0
- common/lang/tribe-common-pt_PT.mo +0 -0
- common/lang/tribe-common-ro_RO.mo +0 -0
- common/lang/tribe-common-ru_RU.mo +0 -0
- common/lang/tribe-common-sk_SK.mo +0 -0
- common/lang/tribe-common-sl_SI.mo +0 -0
- common/lang/tribe-common-sr_RS.mo +0 -0
- common/lang/tribe-common-sv_SE.mo +0 -0
- common/lang/tribe-common-tr_TR.mo +0 -0
- common/lang/tribe-common-zh_CN.mo +0 -0
- common/lang/tribe-common-zh_TW.mo +0 -0
- common/lang/tribe-common.pot +59 -55
- common/src/Common/Editor/Full_Site/Template_Utils.php +88 -0
- common/src/Tribe/Assets_Pipeline.php +5 -0
- common/src/Tribe/Customizer.php +4 -14
- common/src/Tribe/Editor/Compatibility/Classic_Editor.php +16 -10
- common/src/Tribe/Main.php +21 -4
- common/src/Tribe/Onboarding/README.md +3 -3
- common/src/Tribe/PUE/Checker.php +80 -6
- common/src/Tribe/Process/Queue.php +1 -1
- common/src/Tribe/Settings_Manager.php +1 -1
- common/src/Tribe/Widget/Widget_Abstract.php +11 -6
- common/src/admin-views/troubleshooting/ea-status.php +2 -0
- common/src/admin-views/troubleshooting/ea-status/current-status.php +41 -0
- common/src/functions/conditionals.php +2 -2
- common/src/functions/editor.php +20 -0
- common/vendor/autoload.php +1 -1
- common/vendor/autoload_52.php +1 -1
- common/vendor/composer/autoload_classmap.php +1 -0
- common/vendor/composer/autoload_psr4.php +1 -0
- common/vendor/composer/autoload_real.php +4 -4
- common/vendor/composer/autoload_real_52.php +3 -3
- common/vendor/composer/autoload_static.php +11 -5
- event-tickets.php +1 -1
- lang/event-tickets-da_DK.mo +0 -0
- lang/event-tickets-de_DE.mo +0 -0
- lang/event-tickets-es_ES.mo +0 -0
- lang/event-tickets-fr_CA.mo +0 -0
- lang/event-tickets-fr_FR.mo +0 -0
- lang/event-tickets-it_IT.mo +0 -0
- lang/event-tickets-nl_NL.mo +0 -0
- lang/event-tickets-ro_RO.mo +0 -0
- readme.txt +7 -2
- src/Tribe/Main.php +1 -1
- src/Tribe/Plugin_Register.php +1 -1
- vendor/autoload.php +1 -1
- vendor/composer/autoload_real.php +4 -4
- vendor/composer/autoload_static.php +4 -4
common/lang/tribe-common-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.
|
6 |
"Report-Msgid-Bugs-To: http://m.tri.be/191x\n"
|
7 |
-
"POT-Creation-Date: 2022-
|
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-
|
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.
|
62 |
#. Author of the plugin/theme
|
63 |
-
#: src/Tribe/Admin/Help_Page.php:82 src/Tribe/Customizer.php:
|
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:
|
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:
|
745 |
msgctxt "Page title for the TEC Customizer section."
|
746 |
msgid "Customize The Events Calendar"
|
747 |
msgstr ""
|
748 |
|
749 |
-
#: src/Tribe/Customizer.php:
|
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:
|
755 |
msgid "Customizer"
|
756 |
msgstr ""
|
757 |
|
758 |
-
#: src/Tribe/Customizer.php:
|
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:
|
764 |
msgctxt "Link text added to the TEC->Settings->Display tab."
|
765 |
msgid "%1$sCustomize The Events Calendar%2$s"
|
766 |
msgstr ""
|
@@ -2240,188 +2240,188 @@ msgstr ""
|
|
2240 |
msgid "Full debug (all events)"
|
2241 |
msgstr ""
|
2242 |
|
2243 |
-
#: src/Tribe/Main.php:
|
2244 |
msgid ": activate to sort column ascending"
|
2245 |
msgstr ""
|
2246 |
|
2247 |
-
#: src/Tribe/Main.php:
|
2248 |
msgid ": activate to sort column descending"
|
2249 |
msgstr ""
|
2250 |
|
2251 |
-
#: src/Tribe/Main.php:
|
2252 |
msgid "Show _MENU_ entries"
|
2253 |
msgstr ""
|
2254 |
|
2255 |
-
#: src/Tribe/Main.php:
|
2256 |
msgid "No data available in table"
|
2257 |
msgstr ""
|
2258 |
|
2259 |
-
#: src/Tribe/Main.php:
|
2260 |
msgid "Showing _START_ to _END_ of _TOTAL_ entries"
|
2261 |
msgstr ""
|
2262 |
|
2263 |
-
#: src/Tribe/Main.php:
|
2264 |
msgid "Showing 0 to 0 of 0 entries"
|
2265 |
msgstr ""
|
2266 |
|
2267 |
-
#: src/Tribe/Main.php:
|
2268 |
msgid "(filtered from _MAX_ total entries)"
|
2269 |
msgstr ""
|
2270 |
|
2271 |
-
#: src/Tribe/Main.php:
|
2272 |
msgid "No matching records found"
|
2273 |
msgstr ""
|
2274 |
|
2275 |
-
#: src/Tribe/Main.php:
|
2276 |
msgid "Search:"
|
2277 |
msgstr ""
|
2278 |
|
2279 |
-
#: src/Tribe/Main.php:
|
2280 |
msgid "All items on this page were selected. "
|
2281 |
msgstr ""
|
2282 |
|
2283 |
-
#: src/Tribe/Main.php:
|
2284 |
msgid "Select all pages"
|
2285 |
msgstr ""
|
2286 |
|
2287 |
-
#: src/Tribe/Main.php:
|
2288 |
msgid "Clear Selection."
|
2289 |
msgstr ""
|
2290 |
|
2291 |
-
#: src/Tribe/Main.php:
|
2292 |
msgid "All"
|
2293 |
msgstr ""
|
2294 |
|
2295 |
-
#: src/Tribe/Main.php:
|
2296 |
msgid "Next"
|
2297 |
msgstr ""
|
2298 |
|
2299 |
-
#: src/Tribe/Main.php:
|
2300 |
msgid "Previous"
|
2301 |
msgstr ""
|
2302 |
|
2303 |
-
#: src/Tribe/Main.php:
|
2304 |
msgid ": Selected %d rows"
|
2305 |
msgstr ""
|
2306 |
|
2307 |
-
#: src/Tribe/Main.php:
|
2308 |
msgid ": Selected 1 row"
|
2309 |
msgstr ""
|
2310 |
|
2311 |
-
#: src/Tribe/Main.php:
|
2312 |
msgid "Prev"
|
2313 |
msgstr ""
|
2314 |
|
2315 |
-
#: src/Tribe/Main.php:
|
2316 |
msgid "Today"
|
2317 |
msgstr ""
|
2318 |
|
2319 |
-
#: src/Tribe/Main.php:
|
2320 |
msgid "Done"
|
2321 |
msgstr ""
|
2322 |
|
2323 |
-
#: src/Tribe/Main.php:
|
2324 |
msgid "Clear"
|
2325 |
msgstr ""
|
2326 |
|
2327 |
-
#: src/Tribe/PUE/Checker.php:
|
2328 |
msgid "A valid license key is required for support and updates"
|
2329 |
msgstr ""
|
2330 |
|
2331 |
-
#: src/Tribe/PUE/Checker.php:
|
2332 |
msgid ""
|
2333 |
"%1$sBuy a license%2$s for the Event Aggregator service to access additional "
|
2334 |
"import features."
|
2335 |
msgstr ""
|
2336 |
|
2337 |
-
#: src/Tribe/PUE/Checker.php:
|
2338 |
#: src/admin-views/troubleshooting/ea-status/license-key.php:44
|
2339 |
msgid "License Key"
|
2340 |
msgstr ""
|
2341 |
|
2342 |
-
#: src/Tribe/PUE/Checker.php:
|
2343 |
msgid "License Key Status:"
|
2344 |
msgstr ""
|
2345 |
|
2346 |
-
#: src/Tribe/PUE/Checker.php:
|
2347 |
msgid "Override network license key"
|
2348 |
msgstr ""
|
2349 |
|
2350 |
-
#: src/Tribe/PUE/Checker.php:
|
2351 |
msgid ""
|
2352 |
"Check this box if you wish to override the network license key with your own"
|
2353 |
msgstr ""
|
2354 |
|
2355 |
-
#: src/Tribe/PUE/Checker.php:
|
2356 |
msgid "Site License Key"
|
2357 |
msgstr ""
|
2358 |
|
2359 |
-
#: src/Tribe/PUE/Checker.php:
|
2360 |
msgid "License key(s) updated."
|
2361 |
msgstr ""
|
2362 |
|
2363 |
-
#: src/Tribe/PUE/Checker.php:
|
2364 |
msgid ""
|
2365 |
"Hmmm... something's wrong with this validator. Please contact %ssupport%s."
|
2366 |
msgstr ""
|
2367 |
|
2368 |
-
#: src/Tribe/PUE/Checker.php:
|
2369 |
msgid "unknown date"
|
2370 |
msgstr ""
|
2371 |
|
2372 |
-
#: src/Tribe/PUE/Checker.php:
|
2373 |
msgid "Sorry, key validation server is not available."
|
2374 |
msgstr ""
|
2375 |
|
2376 |
-
#: src/Tribe/PUE/Checker.php:
|
2377 |
msgid "Valid Key! Expires on %s"
|
2378 |
msgstr ""
|
2379 |
|
2380 |
-
#: src/Tribe/PUE/Checker.php:
|
2381 |
msgid "Thanks for setting up a valid key. It will expire on %s"
|
2382 |
msgstr ""
|
2383 |
|
2384 |
-
#: src/Tribe/PUE/Checker.php:
|
2385 |
msgid "Renew Your License Now"
|
2386 |
msgstr ""
|
2387 |
|
2388 |
-
#: src/Tribe/PUE/Checker.php:
|
2389 |
msgid " (opens in a new window)"
|
2390 |
msgstr ""
|
2391 |
|
2392 |
-
#: src/Tribe/PUE/Checker.php:
|
2393 |
msgid "Please refresh the page and try your request again."
|
2394 |
msgstr ""
|
2395 |
|
2396 |
-
#: src/Tribe/PUE/Checker.php:
|
2397 |
msgid ""
|
2398 |
"There is an update for %s. You'll need to %scheck your license%s to have "
|
2399 |
"access to updates, downloads, and support."
|
2400 |
msgstr ""
|
2401 |
|
2402 |
-
#: src/Tribe/PUE/Checker.php:
|
2403 |
msgid ""
|
2404 |
"There is an update for %s. %sRenew your license%s to get access to bug "
|
2405 |
"fixes, security updates, and new features."
|
2406 |
msgstr ""
|
2407 |
|
2408 |
-
#: src/Tribe/PUE/Checker.php:
|
2409 |
msgid "Update now to version %s."
|
2410 |
msgstr ""
|
2411 |
|
2412 |
-
#: src/Tribe/PUE/Checker.php:
|
2413 |
msgid "There is a new version of %1$s available. %2$s"
|
2414 |
msgstr ""
|
2415 |
|
2416 |
-
#: src/Tribe/PUE/Checker.php:
|
2417 |
msgid "A valid license has been entered by your network administrator."
|
2418 |
msgstr ""
|
2419 |
|
2420 |
-
#: src/Tribe/PUE/Checker.php:
|
2421 |
msgid "No license entered. Consult your network administrator."
|
2422 |
msgstr ""
|
2423 |
|
2424 |
-
#: src/Tribe/PUE/Checker.php:
|
2425 |
msgid "Expired license. Consult your network administrator."
|
2426 |
msgstr ""
|
2427 |
|
@@ -3726,6 +3726,10 @@ msgstr ""
|
|
3726 |
msgid "Learn more"
|
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 "
|
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.19\n"
|
6 |
"Report-Msgid-Bugs-To: http://m.tri.be/191x\n"
|
7 |
+
"POT-Creation-Date: 2022-04-28 18:01:49+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-28 18:01\n"
|
12 |
"Last-Translator: \n"
|
13 |
"Language-Team: \n"
|
14 |
|
58 |
msgid "Status:"
|
59 |
msgstr ""
|
60 |
|
61 |
+
#. #-#-#-#-# tribe-common.pot (Tribe Common 4.14.19) #-#-#-#-#
|
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 |
|
2327 |
+
#: src/Tribe/PUE/Checker.php:605
|
2328 |
msgid "A valid license key is required for support and updates"
|
2329 |
msgstr ""
|
2330 |
|
2331 |
+
#: src/Tribe/PUE/Checker.php:608
|
2332 |
msgid ""
|
2333 |
"%1$sBuy a license%2$s for the Event Aggregator service to access additional "
|
2334 |
"import features."
|
2335 |
msgstr ""
|
2336 |
|
2337 |
+
#: src/Tribe/PUE/Checker.php:620 src/Tribe/PUE/Checker.php:631
|
2338 |
#: src/admin-views/troubleshooting/ea-status/license-key.php:44
|
2339 |
msgid "License Key"
|
2340 |
msgstr ""
|
2341 |
|
2342 |
+
#: src/Tribe/PUE/Checker.php:640 src/Tribe/PUE/Checker.php:674
|
2343 |
msgid "License Key Status:"
|
2344 |
msgstr ""
|
2345 |
|
2346 |
+
#: src/Tribe/PUE/Checker.php:649
|
2347 |
msgid "Override network license key"
|
2348 |
msgstr ""
|
2349 |
|
2350 |
+
#: src/Tribe/PUE/Checker.php:650
|
2351 |
msgid ""
|
2352 |
"Check this box if you wish to override the network license key with your own"
|
2353 |
msgstr ""
|
2354 |
|
2355 |
+
#: src/Tribe/PUE/Checker.php:661
|
2356 |
msgid "Site License Key"
|
2357 |
msgstr ""
|
2358 |
|
2359 |
+
#: src/Tribe/PUE/Checker.php:761
|
2360 |
msgid "License key(s) updated."
|
2361 |
msgstr ""
|
2362 |
|
2363 |
+
#: src/Tribe/PUE/Checker.php:1015
|
2364 |
msgid ""
|
2365 |
"Hmmm... something's wrong with this validator. Please contact %ssupport%s."
|
2366 |
msgstr ""
|
2367 |
|
2368 |
+
#: src/Tribe/PUE/Checker.php:1028
|
2369 |
msgid "unknown date"
|
2370 |
msgstr ""
|
2371 |
|
2372 |
+
#: src/Tribe/PUE/Checker.php:1034
|
2373 |
msgid "Sorry, key validation server is not available."
|
2374 |
msgstr ""
|
2375 |
|
2376 |
+
#: src/Tribe/PUE/Checker.php:1054
|
2377 |
msgid "Valid Key! Expires on %s"
|
2378 |
msgstr ""
|
2379 |
|
2380 |
+
#: src/Tribe/PUE/Checker.php:1059
|
2381 |
msgid "Thanks for setting up a valid key. It will expire on %s"
|
2382 |
msgstr ""
|
2383 |
|
2384 |
+
#: src/Tribe/PUE/Checker.php:1088 src/Tribe/PUE/Notices.php:342
|
2385 |
msgid "Renew Your License Now"
|
2386 |
msgstr ""
|
2387 |
|
2388 |
+
#: src/Tribe/PUE/Checker.php:1090 src/Tribe/PUE/Notices.php:344
|
2389 |
msgid " (opens in a new window)"
|
2390 |
msgstr ""
|
2391 |
|
2392 |
+
#: src/Tribe/PUE/Checker.php:1107
|
2393 |
msgid "Please refresh the page and try your request again."
|
2394 |
msgstr ""
|
2395 |
|
2396 |
+
#: src/Tribe/PUE/Checker.php:1127
|
2397 |
msgid ""
|
2398 |
"There is an update for %s. You'll need to %scheck your license%s to have "
|
2399 |
"access to updates, downloads, and support."
|
2400 |
msgstr ""
|
2401 |
|
2402 |
+
#: src/Tribe/PUE/Checker.php:1184
|
2403 |
msgid ""
|
2404 |
"There is an update for %s. %sRenew your license%s to get access to bug "
|
2405 |
"fixes, security updates, and new features."
|
2406 |
msgstr ""
|
2407 |
|
2408 |
+
#: src/Tribe/PUE/Checker.php:1214
|
2409 |
msgid "Update now to version %s."
|
2410 |
msgstr ""
|
2411 |
|
2412 |
+
#: src/Tribe/PUE/Checker.php:1225
|
2413 |
msgid "There is a new version of %1$s available. %2$s"
|
2414 |
msgstr ""
|
2415 |
|
2416 |
+
#: src/Tribe/PUE/Checker.php:1806
|
2417 |
msgid "A valid license has been entered by your network administrator."
|
2418 |
msgstr ""
|
2419 |
|
2420 |
+
#: src/Tribe/PUE/Checker.php:1807
|
2421 |
msgid "No license entered. Consult your network administrator."
|
2422 |
msgstr ""
|
2423 |
|
2424 |
+
#: src/Tribe/PUE/Checker.php:1808
|
2425 |
msgid "Expired license. Consult your network administrator."
|
2426 |
msgstr ""
|
2427 |
|
3726 |
msgid "Learn more"
|
3727 |
msgstr ""
|
3728 |
|
3729 |
+
#: src/admin-views/troubleshooting/ea-status/current-status.php:31
|
3730 |
+
msgid "Enabled"
|
3731 |
+
msgstr ""
|
3732 |
+
|
3733 |
#: src/admin-views/troubleshooting/ea-status/current-usage.php:18
|
3734 |
msgid ""
|
3735 |
"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 |
-
|
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 ( !
|
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 |
-
|
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 ( !
|
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 |
-
|
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 =
|
240 |
-
}
|
241 |
-
|
242 |
-
if ( static::get_classic_param() ) {
|
243 |
-
$should_load_blocks = false;
|
244 |
}
|
245 |
|
246 |
global $pagenow;
|
247 |
|
248 |
-
// The profile
|
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.17';
|
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
|
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.19';
|
|
|
|
|
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
|
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
|
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/PUE/Checker.php
CHANGED
@@ -90,12 +90,23 @@ if ( ! class_exists( 'Tribe__PUE__Checker' ) ) {
|
|
90 |
/**
|
91 |
* Where to store the temporary status info.
|
92 |
*
|
|
|
|
|
93 |
* @since 4.14.14
|
94 |
*
|
95 |
* @var string
|
96 |
*/
|
97 |
public $pue_key_status_transient_name;
|
98 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
99 |
/**
|
100 |
* used to hold the install_key if set (included here for addons that will extend PUE to use install key checks)
|
101 |
*
|
@@ -180,30 +191,93 @@ if ( ! class_exists( 'Tribe__PUE__Checker' ) ) {
|
|
180 |
$this->set_plugin_file( $plugin_file );
|
181 |
$this->set_options( $options );
|
182 |
$this->hooks();
|
183 |
-
$this->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
184 |
}
|
185 |
|
186 |
/**
|
187 |
* Creates a hash for the transient name that holds the current key status.
|
188 |
*
|
|
|
|
|
189 |
* @since 4.14.14
|
190 |
*/
|
191 |
public function set_key_status_transient_name() {
|
192 |
-
|
193 |
}
|
194 |
|
195 |
/**
|
196 |
-
* Sets the key status
|
197 |
*
|
198 |
-
* @since 4.14.
|
199 |
*
|
200 |
* @param int $valid 0 for invalid, 1 or 2 for valid.
|
201 |
*/
|
202 |
-
public function
|
203 |
$status = tribe_is_truthy( $valid ) ? 'valid' : 'invalid';
|
|
|
|
|
|
|
|
|
|
|
204 |
set_transient( $this->pue_key_status_transient_name, $status, $this->check_period * HOUR_IN_SECONDS );
|
205 |
}
|
206 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
207 |
/**
|
208 |
* Install the hooks required to run periodic update checks and inject update info
|
209 |
* into WP data structures.
|
@@ -1004,7 +1078,7 @@ if ( ! class_exists( 'Tribe__PUE__Checker' ) ) {
|
|
1004 |
|
1005 |
$response['message'] = wp_kses( $response['message'], 'data' );
|
1006 |
|
1007 |
-
$this->
|
1008 |
|
1009 |
return $response;
|
1010 |
}
|
90 |
/**
|
91 |
* Where to store the temporary status info.
|
92 |
*
|
93 |
+
* @todo remove transient in a major feature release where we release all plugins.
|
94 |
+
*
|
95 |
* @since 4.14.14
|
96 |
*
|
97 |
* @var string
|
98 |
*/
|
99 |
public $pue_key_status_transient_name;
|
100 |
|
101 |
+
/**
|
102 |
+
* Where to store the temporary status info.
|
103 |
+
*
|
104 |
+
* @since 4.14.9
|
105 |
+
*
|
106 |
+
* @var string
|
107 |
+
*/
|
108 |
+
public $pue_key_status_option_name;
|
109 |
+
|
110 |
/**
|
111 |
* used to hold the install_key if set (included here for addons that will extend PUE to use install key checks)
|
112 |
*
|
191 |
$this->set_plugin_file( $plugin_file );
|
192 |
$this->set_options( $options );
|
193 |
$this->hooks();
|
194 |
+
$this->set_key_status_name();
|
195 |
+
}
|
196 |
+
|
197 |
+
/**
|
198 |
+
* Gets whether the license key is valid or not.
|
199 |
+
*
|
200 |
+
* @since 4.14.9
|
201 |
+
*/
|
202 |
+
public function is_key_valid() {
|
203 |
+
// @todo remove transient in a major feature release where we release all plugins.
|
204 |
+
$status = get_transient( $this->pue_key_status_transient_name );
|
205 |
+
|
206 |
+
if ( empty( $status ) ) {
|
207 |
+
$status = get_option( $this->pue_key_status_option_name, 'invalid' );
|
208 |
+
}
|
209 |
+
|
210 |
+
return 'valid' === $status;
|
211 |
+
}
|
212 |
+
|
213 |
+
/**
|
214 |
+
* Gets whether or not the PUE key validation check is expired.
|
215 |
+
*
|
216 |
+
* @since 4.14.9
|
217 |
+
*/
|
218 |
+
public function is_key_validation_expired() {
|
219 |
+
// If we have a transient, then we're good. Not expired.
|
220 |
+
// @todo remove transient in a major feature release where we release all plugins.
|
221 |
+
if ( get_transient( $this->pue_key_status_transient_name ) ) {
|
222 |
+
return false;
|
223 |
+
}
|
224 |
+
|
225 |
+
$option_expiration = get_option( "{$this->pue_key_status_option_name}_timeout", null );
|
226 |
+
return is_null( $option_expiration ) || ( time() > $option_expiration );
|
227 |
+
}
|
228 |
+
|
229 |
+
/**
|
230 |
+
* Set the PUE key status property names.
|
231 |
+
*
|
232 |
+
* @since 4.14.9
|
233 |
+
*/
|
234 |
+
public function set_key_status_name() {
|
235 |
+
$this->pue_key_status_option_name = 'pue_key_status_' . $this->get_slug() . '_' . $this->get_site_domain();
|
236 |
+
|
237 |
+
// @todo remove transient in a major feature release where we release all plugins.
|
238 |
+
$this->pue_key_status_transient_name = md5( $this->get_slug() . $this->get_site_domain() );
|
239 |
}
|
240 |
|
241 |
/**
|
242 |
* Creates a hash for the transient name that holds the current key status.
|
243 |
*
|
244 |
+
* @todo remove transient in a major feature release where we release all plugins.
|
245 |
+
*
|
246 |
* @since 4.14.14
|
247 |
*/
|
248 |
public function set_key_status_transient_name() {
|
249 |
+
_deprecated_function( __METHOD__, '4.14.9', __CLASS__ . '::set_key_status_name()' );
|
250 |
}
|
251 |
|
252 |
/**
|
253 |
+
* Sets the key status based on the key validation check results.
|
254 |
*
|
255 |
+
* @since 4.14.9
|
256 |
*
|
257 |
* @param int $valid 0 for invalid, 1 or 2 for valid.
|
258 |
*/
|
259 |
+
public function set_key_status( $valid ) {
|
260 |
$status = tribe_is_truthy( $valid ) ? 'valid' : 'invalid';
|
261 |
+
update_option( $this->pue_key_status_option_name, $status );
|
262 |
+
update_option( "{$this->pue_key_status_option_name}_timeout", $this->check_period * HOUR_IN_SECONDS );
|
263 |
+
|
264 |
+
// We set a transient in addition to an option for compatibility reasons.
|
265 |
+
// @todo remove transient in a major feature release where we release all plugins.
|
266 |
set_transient( $this->pue_key_status_transient_name, $status, $this->check_period * HOUR_IN_SECONDS );
|
267 |
}
|
268 |
|
269 |
+
/**
|
270 |
+
* Sets the key status transient based on the key validation check results.
|
271 |
+
*
|
272 |
+
* @since 4.14.9
|
273 |
+
*
|
274 |
+
* @param int $valid 0 for invalid, 1 or 2 for valid.
|
275 |
+
*/
|
276 |
+
public function set_key_status_transient( $valid ) {
|
277 |
+
_deprecated_function( __METHOD__, '4.14.9', __CLASS__ . '::set_key_status()' );
|
278 |
+
$this->set_key_status( $valid );
|
279 |
+
}
|
280 |
+
|
281 |
/**
|
282 |
* Install the hooks required to run periodic update checks and inject update info
|
283 |
* into WP data structures.
|
1078 |
|
1079 |
$response['message'] = wp_kses( $response['message'], 'data' );
|
1080 |
|
1081 |
+
$this->set_key_status( $response['status'] );
|
1082 |
|
1083 |
return $response;
|
1084 |
}
|
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
|
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
|
|
|
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 = ' ';
|
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(
|
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
|
4 |
|
5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
6 |
|
7 |
+
return ComposerAutoloaderInit10137185545bf7d9ee74f1fe7ab46bb1::getLoader();
|
common/vendor/autoload_52.php
CHANGED
@@ -4,4 +4,4 @@
|
|
4 |
|
5 |
require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
|
6 |
|
7 |
-
return
|
4 |
|
5 |
require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
|
6 |
|
7 |
+
return ComposerAutoloaderInitde9d1ccfca1eb880e4c571f97767ea1d::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
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
@@ -19,15 +19,15 @@ class ComposerAutoloaderInit73105b855d01e1fed5f3c048fcd48a49
|
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
-
spl_autoload_register(array('
|
23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
24 |
-
spl_autoload_unregister(array('
|
25 |
|
26 |
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
27 |
if ($useStaticLoader) {
|
28 |
require_once __DIR__ . '/autoload_static.php';
|
29 |
|
30 |
-
call_user_func(\Composer\Autoload\
|
31 |
} else {
|
32 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
33 |
foreach ($map as $namespace => $path) {
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
+
class ComposerAutoloaderInit10137185545bf7d9ee74f1fe7ab46bb1
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
+
spl_autoload_register(array('ComposerAutoloaderInit10137185545bf7d9ee74f1fe7ab46bb1', 'loadClassLoader'), true, true);
|
23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit10137185545bf7d9ee74f1fe7ab46bb1', '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\ComposerStaticInit10137185545bf7d9ee74f1fe7ab46bb1::getInitializer($loader));
|
31 |
} else {
|
32 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
33 |
foreach ($map as $namespace => $path) {
|
common/vendor/composer/autoload_real_52.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
// autoload_real_52.php generated by xrstf/composer-php52
|
4 |
|
5 |
-
class
|
6 |
private static $loader;
|
7 |
|
8 |
public static function loadClassLoader($class) {
|
@@ -19,9 +19,9 @@ class ComposerAutoloaderInit6aa20b0e950e334e4426d51311f82616 {
|
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
-
spl_autoload_register(array('
|
23 |
self::$loader = $loader = new xrstf_Composer52_ClassLoader();
|
24 |
-
spl_autoload_unregister(array('
|
25 |
|
26 |
$vendorDir = dirname(dirname(__FILE__));
|
27 |
$baseDir = dirname($vendorDir);
|
2 |
|
3 |
// autoload_real_52.php generated by xrstf/composer-php52
|
4 |
|
5 |
+
class ComposerAutoloaderInitde9d1ccfca1eb880e4c571f97767ea1d {
|
6 |
private static $loader;
|
7 |
|
8 |
public static function loadClassLoader($class) {
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
+
spl_autoload_register(array('ComposerAutoloaderInitde9d1ccfca1eb880e4c571f97767ea1d', 'loadClassLoader'), true /*, true */);
|
23 |
self::$loader = $loader = new xrstf_Composer52_ClassLoader();
|
24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInitde9d1ccfca1eb880e4c571f97767ea1d', '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
|
8 |
{
|
9 |
public static $prefixLengthsPsr4 = array (
|
10 |
'T' =>
|
11 |
array (
|
12 |
'Tribe\\' => 6,
|
|
|
13 |
),
|
14 |
'P' =>
|
15 |
array (
|
@@ -30,6 +31,10 @@ class ComposerStaticInit73105b855d01e1fed5f3c048fcd48a49
|
|
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 ComposerStaticInit73105b855d01e1fed5f3c048fcd48a49
|
|
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',
|
@@ -262,10 +268,10 @@ class ComposerStaticInit73105b855d01e1fed5f3c048fcd48a49
|
|
262 |
public static function getInitializer(ClassLoader $loader)
|
263 |
{
|
264 |
return \Closure::bind(function () use ($loader) {
|
265 |
-
$loader->prefixLengthsPsr4 =
|
266 |
-
$loader->prefixDirsPsr4 =
|
267 |
-
$loader->prefixesPsr0 =
|
268 |
-
$loader->classMap =
|
269 |
|
270 |
}, null, ClassLoader::class);
|
271 |
}
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
+
class ComposerStaticInit10137185545bf7d9ee74f1fe7ab46bb1
|
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',
|
268 |
public static function getInitializer(ClassLoader $loader)
|
269 |
{
|
270 |
return \Closure::bind(function () use ($loader) {
|
271 |
+
$loader->prefixLengthsPsr4 = ComposerStaticInit10137185545bf7d9ee74f1fe7ab46bb1::$prefixLengthsPsr4;
|
272 |
+
$loader->prefixDirsPsr4 = ComposerStaticInit10137185545bf7d9ee74f1fe7ab46bb1::$prefixDirsPsr4;
|
273 |
+
$loader->prefixesPsr0 = ComposerStaticInit10137185545bf7d9ee74f1fe7ab46bb1::$prefixesPsr0;
|
274 |
+
$loader->classMap = ComposerStaticInit10137185545bf7d9ee74f1fe7ab46bb1::$classMap;
|
275 |
|
276 |
}, null, ClassLoader::class);
|
277 |
}
|
event-tickets.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Event Tickets
|
4 |
Plugin URI: https://evnt.is/1acb
|
5 |
Description: Event Tickets allows you to sell basic tickets and collect RSVPs from any post, page, or event.
|
6 |
-
Version: 5.3.
|
7 |
Author: The Events Calendar
|
8 |
Author URI: https://evnt.is/1aor
|
9 |
License: GPLv2 or later
|
3 |
Plugin Name: Event Tickets
|
4 |
Plugin URI: https://evnt.is/1acb
|
5 |
Description: Event Tickets allows you to sell basic tickets and collect RSVPs from any post, page, or event.
|
6 |
+
Version: 5.3.3
|
7 |
Author: The Events Calendar
|
8 |
Author URI: https://evnt.is/1aor
|
9 |
License: GPLv2 or later
|
lang/event-tickets-da_DK.mo
CHANGED
Binary file
|
lang/event-tickets-de_DE.mo
CHANGED
Binary file
|
lang/event-tickets-es_ES.mo
CHANGED
Binary file
|
lang/event-tickets-fr_CA.mo
CHANGED
Binary file
|
lang/event-tickets-fr_FR.mo
CHANGED
Binary file
|
lang/event-tickets-it_IT.mo
CHANGED
Binary file
|
lang/event-tickets-nl_NL.mo
CHANGED
Binary file
|
lang/event-tickets-ro_RO.mo
CHANGED
Binary file
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@
|
|
3 |
Contributors: theeventscalendar, brianjessee, camwynsp, aguseo, bordoni, borkweb, GeoffBel, jentheo, leahkoerper, lucatume, neillmcshea, vicskf, zbtirrell, juanfra, moraleida.me
|
4 |
Tags: tickets, registration, event registration, RSVP, ticket sales, attendee management
|
5 |
Requires at least: 5.6
|
6 |
-
Tested up to: 5.9.
|
7 |
-
Stable tag: 5.3.
|
8 |
Requires PHP: 7.1
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
@@ -188,6 +188,11 @@ Check out our extensive [knowledgebase](https://evnt.is/18wm) for articles on us
|
|
188 |
|
189 |
== Changelog ==
|
190 |
|
|
|
|
|
|
|
|
|
|
|
191 |
= [5.3.2] 2022-04-05 =
|
192 |
|
193 |
* Feature - REST API endpoints added for creating and updating attendees. [ET-1346]
|
3 |
Contributors: theeventscalendar, brianjessee, camwynsp, aguseo, bordoni, borkweb, GeoffBel, jentheo, leahkoerper, lucatume, neillmcshea, vicskf, zbtirrell, juanfra, moraleida.me
|
4 |
Tags: tickets, registration, event registration, RSVP, ticket sales, attendee management
|
5 |
Requires at least: 5.6
|
6 |
+
Tested up to: 5.9.3
|
7 |
+
Stable tag: 5.3.3
|
8 |
Requires PHP: 7.1
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
188 |
|
189 |
== Changelog ==
|
190 |
|
191 |
+
= [5.3.3] 2022-04-28 =
|
192 |
+
|
193 |
+
* Fix - Updates the plugin validation library to track licenses in a more fault-tolerant way. [ET-1498]
|
194 |
+
* Language - 0 new strings added, 1 updated, 0 fuzzied, and 0 obsoleted.
|
195 |
+
|
196 |
= [5.3.2] 2022-04-05 =
|
197 |
|
198 |
* Feature - REST API endpoints added for creating and updating attendees. [ET-1346]
|
src/Tribe/Main.php
CHANGED
@@ -7,7 +7,7 @@ class Tribe__Tickets__Main {
|
|
7 |
/**
|
8 |
* Current version of this plugin
|
9 |
*/
|
10 |
-
const VERSION = '5.3.
|
11 |
|
12 |
/**
|
13 |
* Used to store the version history.
|
7 |
/**
|
8 |
* Current version of this plugin
|
9 |
*/
|
10 |
+
const VERSION = '5.3.3';
|
11 |
|
12 |
/**
|
13 |
* Used to store the version history.
|
src/Tribe/Plugin_Register.php
CHANGED
@@ -8,7 +8,7 @@ class Tribe__Tickets__Plugin_Register extends Tribe__Abstract_Plugin_Register {
|
|
8 |
protected $main_class = 'Tribe__Tickets__Main';
|
9 |
protected $dependencies = array(
|
10 |
'addon-dependencies' => array(
|
11 |
-
'Tribe__Tickets_Plus__Main' => '5.4.
|
12 |
'Tribe__Events__Community__Tickets__Main' => '4.7.2-dev',
|
13 |
),
|
14 |
);
|
8 |
protected $main_class = 'Tribe__Tickets__Main';
|
9 |
protected $dependencies = array(
|
10 |
'addon-dependencies' => array(
|
11 |
+
'Tribe__Tickets_Plus__Main' => '5.4.3-dev',
|
12 |
'Tribe__Events__Community__Tickets__Main' => '4.7.2-dev',
|
13 |
),
|
14 |
);
|
vendor/autoload.php
CHANGED
@@ -4,4 +4,4 @@
|
|
4 |
|
5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
6 |
|
7 |
-
return
|
4 |
|
5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
6 |
|
7 |
+
return ComposerAutoloaderInit812c140091efe5bbeec113b6d7ced867::getLoader();
|
vendor/composer/autoload_real.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
-
class
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
@@ -19,15 +19,15 @@ class ComposerAutoloaderInitad38379fa06ea34b7130e18f8a365a72
|
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
-
spl_autoload_register(array('
|
23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
24 |
-
spl_autoload_unregister(array('
|
25 |
|
26 |
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
27 |
if ($useStaticLoader) {
|
28 |
require_once __DIR__ . '/autoload_static.php';
|
29 |
|
30 |
-
call_user_func(\Composer\Autoload\
|
31 |
} else {
|
32 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
33 |
foreach ($map as $namespace => $path) {
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
+
class ComposerAutoloaderInit812c140091efe5bbeec113b6d7ced867
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
+
spl_autoload_register(array('ComposerAutoloaderInit812c140091efe5bbeec113b6d7ced867', 'loadClassLoader'), true, true);
|
23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit812c140091efe5bbeec113b6d7ced867', '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\ComposerStaticInit812c140091efe5bbeec113b6d7ced867::getInitializer($loader));
|
31 |
} else {
|
32 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
33 |
foreach ($map as $namespace => $path) {
|
vendor/composer/autoload_static.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
-
class
|
8 |
{
|
9 |
public static $prefixLengthsPsr4 = array (
|
10 |
'T' =>
|
@@ -200,9 +200,9 @@ class ComposerStaticInitad38379fa06ea34b7130e18f8a365a72
|
|
200 |
public static function getInitializer(ClassLoader $loader)
|
201 |
{
|
202 |
return \Closure::bind(function () use ($loader) {
|
203 |
-
$loader->prefixLengthsPsr4 =
|
204 |
-
$loader->prefixDirsPsr4 =
|
205 |
-
$loader->classMap =
|
206 |
|
207 |
}, null, ClassLoader::class);
|
208 |
}
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
+
class ComposerStaticInit812c140091efe5bbeec113b6d7ced867
|
8 |
{
|
9 |
public static $prefixLengthsPsr4 = array (
|
10 |
'T' =>
|
200 |
public static function getInitializer(ClassLoader $loader)
|
201 |
{
|
202 |
return \Closure::bind(function () use ($loader) {
|
203 |
+
$loader->prefixLengthsPsr4 = ComposerStaticInit812c140091efe5bbeec113b6d7ced867::$prefixLengthsPsr4;
|
204 |
+
$loader->prefixDirsPsr4 = ComposerStaticInit812c140091efe5bbeec113b6d7ced867::$prefixDirsPsr4;
|
205 |
+
$loader->classMap = ComposerStaticInit812c140091efe5bbeec113b6d7ced867::$classMap;
|
206 |
|
207 |
}, null, ClassLoader::class);
|
208 |
}
|