Version Description
= [4.3] =
Please see the changelog for the complete list of changes in this release. Remember to always make a backup of your database and files before updating!
Download this release
Release Info
Developer | barry.hughes |
Plugin | |
Version | 4.4.2 |
Comparing to | |
See all releases |
Code changes from version 4.4.1 to 4.4.2
- common/lang/tribe-common-af.mo +0 -0
- common/lang/tribe-common-af.po +0 -0
- common/lang/tribe-common-ar.mo +0 -0
- common/lang/tribe-common-ar.po +0 -0
- common/lang/tribe-common-bg_BG.mo +0 -0
- common/lang/tribe-common-bg_BG.po +0 -0
- common/lang/tribe-common-ca.mo +0 -0
- common/lang/tribe-common-ca.po +0 -0
- common/lang/tribe-common-cs_CZ.mo +0 -0
- common/lang/tribe-common-cs_CZ.po +0 -0
- common/lang/tribe-common-da_DK.mo +0 -0
- common/lang/tribe-common-da_DK.po +0 -0
- common/lang/tribe-common-de_DE.mo +0 -0
- common/lang/tribe-common-de_DE.po +0 -0
- common/lang/tribe-common-el.mo +0 -0
- common/lang/tribe-common-el.po +0 -0
- common/lang/tribe-common-en_GB.mo +0 -0
- common/lang/tribe-common-en_GB.po +0 -0
- common/lang/tribe-common-es_ES.mo +0 -0
- common/lang/tribe-common-es_ES.po +0 -0
- common/lang/tribe-common-et.mo +0 -0
- common/lang/tribe-common-et.po +0 -0
- common/lang/tribe-common-fi.mo +0 -0
- common/lang/tribe-common-fi.po +0 -0
- common/lang/tribe-common-fr_CA.mo +0 -0
- common/lang/tribe-common-fr_CA.po +0 -0
- common/lang/tribe-common-fr_FR.mo +0 -0
- common/lang/tribe-common-fr_FR.po +0 -0
- common/lang/tribe-common-hu_HU.mo +0 -0
- common/lang/tribe-common-hu_HU.po +0 -0
- common/lang/tribe-common-id_ID.mo +0 -0
- common/lang/tribe-common-id_ID.po +0 -0
- common/lang/tribe-common-is_IS.mo +0 -0
- common/lang/tribe-common-is_IS.po +0 -0
- common/lang/tribe-common-it_IT.mo +0 -0
- common/lang/tribe-common-it_IT.po +0 -0
- common/lang/tribe-common-lt_LT.mo +0 -0
- common/lang/tribe-common-lt_LT.po +0 -0
- common/lang/tribe-common-lv.mo +0 -0
- common/lang/tribe-common-lv.po +0 -0
- common/lang/tribe-common-nb_NO.mo +0 -0
- common/lang/tribe-common-nb_NO.po +0 -0
- common/lang/tribe-common-nl_NL.mo +0 -0
- common/lang/tribe-common-nl_NL.po +0 -0
- common/lang/tribe-common-pl_PL.mo +0 -0
- common/lang/tribe-common-pl_PL.po +0 -0
- common/lang/tribe-common-pt_BR.mo +0 -0
- common/lang/tribe-common-pt_BR.po +0 -0
- common/lang/tribe-common-pt_PT.mo +0 -0
- common/lang/tribe-common-pt_PT.po +0 -0
- common/lang/tribe-common-ro_RO.mo +0 -0
- common/lang/tribe-common-ro_RO.po +0 -0
- common/lang/tribe-common-ru_RU.mo +0 -0
- common/lang/tribe-common-ru_RU.po +0 -0
- common/lang/tribe-common-sk_SK.mo +0 -0
- common/lang/tribe-common-sk_SK.po +0 -0
- common/lang/tribe-common-sl_SI.mo +0 -0
- common/lang/tribe-common-sl_SI.po +0 -0
- common/lang/tribe-common-sr_RS.mo +0 -0
- common/lang/tribe-common-sr_RS.po +0 -0
- common/lang/tribe-common-sv_SE.mo +0 -0
- common/lang/tribe-common-sv_SE.po +0 -0
- common/lang/tribe-common-tr_TR.mo +0 -0
- common/lang/tribe-common-tr_TR.po +0 -0
- common/lang/tribe-common-zh_CN.mo +0 -0
- common/lang/tribe-common-zh_CN.po +0 -0
- common/lang/tribe-common-zh_TW.mo +0 -0
- common/lang/tribe-common-zh_TW.po +0 -0
- common/lang/tribe-common.pot +0 -0
- common/readme.txt +0 -0
- common/src/Tribe/Admin/Activation_Page.php +0 -0
- common/src/Tribe/Admin/Help_Page.php +0 -0
- common/src/Tribe/Admin/Helpers.php +0 -0
- common/src/Tribe/Admin/Live_Date_Preview.php +0 -0
- common/src/Tribe/Admin/Notice/Plugin_Download.php +0 -0
- common/src/Tribe/Admin/Notice/Plugin_Upgrade_Notice.php +0 -0
- common/src/Tribe/Admin/Notices.php +0 -0
- common/src/Tribe/Ajax/Operations.php +0 -0
- common/src/Tribe/Asset/Data.php +0 -0
- common/src/Tribe/Asset/Factory.php +0 -0
- common/src/Tribe/Assets.php +0 -0
- common/src/Tribe/Container.php +2 -2
- common/src/Tribe/Cost_Utils.php +0 -0
- common/src/Tribe/Customizer.php +0 -0
- common/src/Tribe/Customizer/Section.php +0 -0
- common/src/Tribe/Debug.php +0 -0
- common/src/Tribe/Dependency.php +0 -0
- common/src/Tribe/Deprecation.php +0 -0
- common/src/Tribe/Documentation/Swagger/Builder_Interface.php +29 -0
- common/src/Tribe/Documentation/Swagger/Cost_Details_Definition_Provider.php +49 -0
- common/src/Tribe/Documentation/Swagger/Date_Details_Definition_Provider.php +60 -0
- common/src/Tribe/Documentation/Swagger/Image_Definition_Provider.php +61 -0
- common/src/Tribe/Documentation/Swagger/Image_Size_Definition_Provider.php +52 -0
- common/src/Tribe/Documentation/Swagger/Provider_Interface.php +17 -0
- common/src/Tribe/Documentation/Swagger/Term_Definition_Provider.php +68 -0
- common/src/Tribe/Error.php +0 -0
- common/src/Tribe/Exception.php +0 -0
- common/src/Tribe/Extension.php +0 -0
- common/src/Tribe/Extension_Loader.php +0 -0
- common/src/Tribe/Languages/Map_Interface.php +0 -0
- common/src/Tribe/Languages/Recaptcha_Map.php +0 -0
- common/src/Tribe/Log.php +0 -0
- common/src/Tribe/Log/Admin.php +0 -0
- common/src/Tribe/Log/File_Logger.php +0 -0
- common/src/Tribe/Log/Logger.php +0 -0
- common/src/Tribe/Log/Null_Logger.php +0 -0
- common/src/Tribe/Main.php +0 -0
- common/src/Tribe/Notices.php +0 -0
- common/src/Tribe/PUE/Notices.php +0 -0
- common/src/Tribe/PUE/Package_Handler.php +0 -0
- common/src/Tribe/Plugin_Meta_Links.php +0 -0
- common/src/Tribe/Plugins.php +0 -0
- common/src/Tribe/Post_History.php +0 -0
- common/src/Tribe/Post_Transient.php +0 -0
- common/src/Tribe/REST/Endpoints/Endpoint_Interface.php +14 -0
- common/src/Tribe/REST/Exceptions/Exception.php +25 -0
- common/src/Tribe/REST/Headers/Base_Header.php +19 -0
- common/src/Tribe/REST/Headers/Base_Interface.php +40 -0
- common/src/Tribe/REST/Headers/Disabled.php +23 -0
- common/src/Tribe/REST/Headers/Headers_Interface.php +18 -0
- common/src/Tribe/REST/Headers/Supported.php +52 -0
- common/src/Tribe/REST/Headers/Unsupported.php +39 -0
- common/src/Tribe/REST/Main.php +149 -0
- common/src/Tribe/REST/Messages_Interface.php +30 -0
- common/src/Tribe/REST/Post_Repository_Interface.php +14 -0
- common/src/Tribe/REST/System.php +14 -0
- common/src/Tribe/REST/Validator.php +14 -0
- common/src/Tribe/Rewrite.php +0 -0
- common/src/Tribe/Settings_Manager.php +0 -0
- common/src/Tribe/Simple_Table.php +0 -0
- common/src/Tribe/Support/Obfuscator.php +0 -0
- common/src/Tribe/Support/Template_Checker.php +0 -0
- common/src/Tribe/Support/Template_Checker_Report.php +0 -0
- common/src/Tribe/Tabbed_View.php +0 -0
- common/src/Tribe/Tabbed_View/Tab.php +0 -0
- common/src/Tribe/Templates.php +0 -0
- common/src/Tribe/Timezones.php +8 -8
- common/src/Tribe/Utils/Array.php +0 -0
- common/src/Tribe/Utils/Color.php +0 -0
- common/src/Tribe/Utils/Coordinates_Provider.php +0 -0
- common/src/Tribe/Utils/JSON.php +0 -0
- common/src/Tribe/Utils/Plugins.php +0 -0
- common/src/Tribe/Utils/Post_Root_Pool.php +0 -0
- common/src/admin-views/app-shop.php +0 -0
- common/src/admin-views/event-log.php +0 -0
- common/src/admin-views/tabbed-view/tab.php +0 -0
- common/src/admin-views/tabbed-view/tabbed-view.php +0 -0
- common/src/deprecated/Tribe__Admin__Notice__Archive_Slug_Conflict.php +0 -0
- common/src/deprecated/Tribe__Events__Abstract_Deactivation.php +0 -0
- common/src/deprecated/Tribe__Events__Admin__Helpers.php +0 -0
- common/src/deprecated/Tribe__Events__App_Shop.php +0 -0
- common/src/deprecated/Tribe__Events__Autoloader.php +0 -0
- common/src/deprecated/Tribe__Events__Cache.php +0 -0
- common/src/deprecated/Tribe__Events__Cache_Listener.php +0 -0
- common/src/deprecated/Tribe__Events__Changelog_Reader.php +0 -0
- common/src/deprecated/Tribe__Events__Credits.php +0 -0
- common/src/deprecated/Tribe__Events__Date_Utils.php +0 -0
- common/src/deprecated/Tribe__Events__Field.php +0 -0
- common/src/deprecated/Tribe__Events__Settings.php +0 -0
- common/src/deprecated/Tribe__Events__Settings_Tab.php +0 -0
- common/src/deprecated/Tribe__Events__Support.php +0 -0
- common/src/deprecated/Tribe__Events__Template_Part_Cache.php +0 -0
- common/src/deprecated/Tribe__Events__Validate.php +0 -0
- common/src/deprecated/Tribe__Events__View_Helpers.php +0 -0
- common/src/deprecated/Tribe__Plugin_Download_Notice.php +0 -0
- common/src/functions/utils.php +0 -0
- common/src/resources/css/app-shop.css +0 -0
- common/src/resources/css/app-shop.min.css +0 -0
- common/src/resources/css/bumpdown.css +0 -0
- common/src/resources/css/bumpdown.min.css +0 -0
- common/src/resources/css/buttonset.css +0 -0
- common/src/resources/css/buttonset.min.css +0 -0
- common/src/resources/css/datatables.css +0 -0
- common/src/resources/css/datatables.min.css +0 -0
- common/src/resources/css/datepicker.css +0 -0
- common/src/resources/css/datepicker.min.css +0 -0
- common/src/resources/css/dependency.css +0 -0
- common/src/resources/css/dependency.min.css +0 -0
- common/src/resources/css/tribe-common-admin.css +0 -0
- common/src/resources/css/tribe-common-admin.min.css +0 -0
- common/src/resources/images/app-shop-banner.jpg +0 -0
- common/src/resources/images/app-shop-community-tickets.jpg +0 -0
- common/src/resources/images/app-shop-community.jpg +0 -0
- common/src/resources/images/app-shop-eventbrite.jpg +0 -0
- common/src/resources/images/app-shop-filter-bar.jpg +0 -0
- common/src/resources/images/app-shop-ical.jpg +0 -0
- common/src/resources/images/app-shop-pro.jpg +0 -0
- common/src/resources/images/app-shop-tickets-plus.jpg +0 -0
- common/src/resources/images/donate-link-pro-screenshot.jpg +0 -0
- common/src/resources/images/donate-link-screenshot.jpg +0 -0
- common/src/resources/images/modern-tribe.png +0 -0
- common/src/resources/images/modern-tribe@2x.png +0 -0
- common/src/resources/images/spirit-animal.png +0 -0
- common/src/resources/images/tribe-loading.gif +0 -0
- common/src/resources/images/tribe-loading@2x.gif +0 -0
- common/src/resources/js/admin-date-preview.js +0 -0
- common/src/resources/js/admin-date-preview.min.js +0 -0
- common/src/resources/js/admin-log-controls.js +0 -0
- common/src/resources/js/admin-log-controls.min.js +0 -0
- common/src/resources/js/app-shop.js +0 -0
- common/src/resources/js/app-shop.min.js +0 -0
- common/src/resources/js/bumpdown.js +0 -0
- common/src/resources/js/bumpdown.min.js +0 -0
- common/src/resources/js/buttonset.js +0 -0
- common/src/resources/js/buttonset.min.js +0 -0
- common/src/resources/js/dependency.js +0 -0
- common/src/resources/js/dependency.min.js +0 -0
- common/src/resources/js/dropdowns.js +0 -0
- common/src/resources/js/dropdowns.min.js +0 -0
- common/src/resources/js/notice-dismiss.js +0 -0
- common/src/resources/js/notice-dismiss.min.js +0 -0
- common/src/resources/js/pue-notices.js +0 -0
- common/src/resources/js/pue-notices.min.js +0 -0
- common/src/resources/js/tribe-common.js +0 -0
- common/src/resources/js/tribe-common.min.js +0 -0
- common/src/resources/js/tribe-datatables.js +0 -0
- common/src/resources/js/tribe-datatables.min.js +0 -0
- common/src/resources/postcss/app-shop.pcss +0 -0
- common/src/resources/postcss/bumpdown.pcss +0 -0
- common/src/resources/postcss/buttonset.pcss +0 -0
- common/src/resources/postcss/datatables.pcss +0 -0
- common/src/resources/postcss/datepicker.pcss +0 -0
- common/src/resources/postcss/dependency.pcss +0 -0
- common/src/resources/postcss/tribe-common-admin.pcss +0 -0
- common/tribe-autoload.php +0 -0
- common/tribe-common.php +0 -0
- common/vendor/autoload.php +1 -1
- common/vendor/autoload_52.php +1 -1
- common/vendor/clipboard/clipboard.js +0 -0
- common/vendor/clipboard/clipboard.min.js +0 -0
- common/vendor/composer/ClassLoader.php +0 -0
- common/vendor/composer/ClassLoader52.php +0 -0
- common/vendor/composer/LICENSE +0 -0
- common/vendor/composer/autoload_classmap.php +0 -0
- common/vendor/composer/autoload_namespaces.php +0 -0
- common/vendor/composer/autoload_psr4.php +0 -0
- common/vendor/composer/autoload_real.php +0 -0
- common/vendor/composer/autoload_real_52.php +3 -3
- common/vendor/composer/autoload_static.php +0 -0
- common/vendor/composer/installed.json +0 -0
- common/vendor/datatables/extensions/FixedHeader/css/fixedHeader.dataTables.css +0 -0
- common/vendor/datatables/extensions/FixedHeader/css/fixedHeader.dataTables.min.css +0 -0
- common/vendor/datatables/extensions/FixedHeader/js/dataTables.fixedHeader.js +0 -0
- common/vendor/datatables/extensions/FixedHeader/js/dataTables.fixedHeader.min.js +0 -0
- common/vendor/datatables/extensions/Responsive/css/responsive.dataTables.css +0 -0
- common/vendor/datatables/extensions/Responsive/css/responsive.dataTables.min.css +0 -0
- common/vendor/datatables/extensions/Responsive/js/dataTables.responsive.js +0 -0
- common/vendor/datatables/extensions/Responsive/js/dataTables.responsive.min.js +0 -0
- common/vendor/datatables/extensions/Scroller/css/scroller.dataTables.css +0 -0
- common/vendor/datatables/extensions/Scroller/css/scroller.dataTables.min.css +0 -0
- common/vendor/datatables/extensions/Scroller/js/dataTables.scroller.js +0 -0
- common/vendor/datatables/extensions/Scroller/js/dataTables.scroller.min.js +0 -0
- common/vendor/datatables/extensions/Select/css/select.dataTables.css +0 -0
- common/vendor/datatables/extensions/Select/css/select.dataTables.min.css +0 -0
- common/vendor/datatables/extensions/Select/js/dataTables.select.js +0 -0
- common/vendor/datatables/extensions/Select/js/dataTables.select.min.js +0 -0
- common/vendor/datatables/media/css/jquery.dataTables.css +0 -0
- common/vendor/datatables/media/css/jquery.dataTables.min.css +0 -0
- common/vendor/datatables/media/css/jquery.dataTables_themeroller.css +0 -0
- common/vendor/datatables/media/images/sort_asc.png +0 -0
- common/vendor/datatables/media/images/sort_asc_disabled.png +0 -0
- common/vendor/datatables/media/images/sort_both.png +0 -0
- common/vendor/datatables/media/images/sort_desc.png +0 -0
- common/vendor/datatables/media/images/sort_desc_disabled.png +0 -0
- common/vendor/datatables/media/js/jquery.dataTables.js +0 -0
- common/vendor/datatables/media/js/jquery.dataTables.min.js +0 -0
- common/vendor/jquery-timepicker/GruntFile.js +0 -0
- common/vendor/jquery-timepicker/jquery.timepicker.js +0 -0
- common/vendor/jquery-timepicker/jquery.timepicker.min.js +0 -0
- common/vendor/jquery-timepicker/lib/bootstrap-datepicker.css +0 -0
- common/vendor/jquery-timepicker/lib/site.css +0 -0
- common/vendor/jquery-timepicker/lib/site.js +0 -0
- common/vendor/jquery/ui.datepicker.css +0 -0
- common/vendor/lucatume/di52/src/tad/DI52/Arg.php +0 -0
- common/vendor/lucatume/di52/src/tad/DI52/Bindings/AbstractImplementation.php +0 -0
- common/vendor/lucatume/di52/src/tad/DI52/Bindings/CallbackImplementation.php +0 -0
- common/vendor/lucatume/di52/src/tad/DI52/Bindings/ConstructorImplementation.php +0 -0
- common/vendor/lucatume/di52/src/tad/DI52/Bindings/ImplementationInterface.php +0 -0
- common/vendor/lucatume/di52/src/tad/DI52/Bindings/InstanceImplementation.php +0 -0
- common/vendor/lucatume/di52/src/tad/DI52/Bindings/Resolver.php +0 -0
- common/vendor/lucatume/di52/src/tad/DI52/Bindings/ResolverInterface.php +0 -0
- common/vendor/lucatume/di52/src/tad/DI52/Container.php +0 -0
- common/vendor/lucatume/di52/src/tad/DI52/Ctor.php +0 -0
- common/vendor/lucatume/di52/src/tad/DI52/NewInstanceArgValue.php +0 -0
- common/vendor/lucatume/di52/src/tad/DI52/RealArgValue.php +0 -0
- common/vendor/lucatume/di52/src/tad/DI52/ReferredArgValue.php +0 -0
- common/vendor/lucatume/di52/src/tad/DI52/ReferredInstanceArgValue.php +0 -0
- common/vendor/lucatume/di52/src/tad/DI52/ReferredVarArgValue.php +0 -0
- common/vendor/lucatume/di52/src/tad/DI52/ServiceProvider.php +0 -0
- common/vendor/lucatume/di52/src/tad/DI52/ServiceProviderInterface.php +0 -0
- common/vendor/lucatume/di52/src/tad/DI52/Singleton.php +0 -0
- common/vendor/lucatume/di52/src/tad/DI52/Var.php +0 -0
- common/vendor/select2/select2-bootstrap.css +0 -0
- common/vendor/select2/select2-spinner.gif +0 -0
- common/vendor/select2/select2.css +0 -0
- common/vendor/select2/select2.js +0 -0
- common/vendor/select2/select2.min.js +0 -0
- common/vendor/select2/select2.png +0 -0
- common/vendor/select2/select2_locale_ar.js +0 -0
- common/vendor/select2/select2_locale_az.js +0 -0
- common/vendor/select2/select2_locale_bg.js +0 -0
- common/vendor/select2/select2_locale_ca.js +0 -0
- common/vendor/select2/select2_locale_cs.js +0 -0
- common/vendor/select2/select2_locale_da.js +0 -0
- common/vendor/select2/select2_locale_de.js +0 -0
- common/vendor/select2/select2_locale_el.js +0 -0
- common/vendor/select2/select2_locale_es.js +0 -0
- common/vendor/select2/select2_locale_et.js +0 -0
- common/vendor/select2/select2_locale_eu.js +0 -0
- common/vendor/select2/select2_locale_fa.js +0 -0
- common/vendor/select2/select2_locale_fi.js +0 -0
- common/vendor/select2/select2_locale_fr.js +0 -0
- common/vendor/select2/select2_locale_gl.js +0 -0
- common/vendor/select2/select2_locale_he.js +0 -0
- common/vendor/select2/select2_locale_hr.js +0 -0
- common/vendor/select2/select2_locale_hu.js +0 -0
- common/vendor/select2/select2_locale_id.js +0 -0
- common/vendor/select2/select2_locale_is.js +0 -0
- common/vendor/select2/select2_locale_it.js +0 -0
- common/vendor/select2/select2_locale_ja.js +0 -0
- common/vendor/select2/select2_locale_ka.js +0 -0
- common/vendor/select2/select2_locale_ko.js +0 -0
- common/vendor/select2/select2_locale_lt.js +0 -0
- common/vendor/select2/select2_locale_lv.js +0 -0
- common/vendor/select2/select2_locale_mk.js +0 -0
- common/vendor/select2/select2_locale_ms.js +0 -0
- common/vendor/select2/select2_locale_nb.js +0 -0
- common/vendor/select2/select2_locale_nl.js +0 -0
- common/vendor/select2/select2_locale_pl.js +0 -0
- common/vendor/select2/select2_locale_pt-BR.js +0 -0
- common/vendor/select2/select2_locale_pt-PT.js +0 -0
- common/vendor/select2/select2_locale_ro.js +0 -0
- common/vendor/select2/select2_locale_rs.js +0 -0
- common/vendor/select2/select2_locale_ru.js +0 -0
- common/vendor/select2/select2_locale_sk.js +0 -0
- common/vendor/select2/select2_locale_sv.js +0 -0
- common/vendor/select2/select2_locale_th.js +0 -0
- common/vendor/select2/select2_locale_tr.js +0 -0
- common/vendor/select2/select2_locale_ug-CN.js +0 -0
- common/vendor/select2/select2_locale_uk.js +0 -0
- common/vendor/select2/select2_locale_vi.js +0 -0
- common/vendor/select2/select2_locale_zh-CN.js +0 -0
- common/vendor/select2/select2_locale_zh-TW.js +0 -0
- common/vendor/select2/select2x2.png +0 -0
- lang/the-events-calendar-af.mo +0 -0
- lang/the-events-calendar-af.po +110 -106
- lang/the-events-calendar-ary.mo +0 -0
- lang/the-events-calendar-ary.po +0 -0
- lang/the-events-calendar-az.mo +0 -0
- lang/the-events-calendar-az.po +0 -0
- lang/the-events-calendar-bg_BG.mo +0 -0
- lang/the-events-calendar-bg_BG.po +110 -106
- lang/the-events-calendar-ca.mo +0 -0
- lang/the-events-calendar-ca.po +110 -106
- lang/the-events-calendar-cs_CZ.mo +0 -0
- lang/the-events-calendar-cs_CZ.po +109 -105
- lang/the-events-calendar-cy.mo +0 -0
- lang/the-events-calendar-cy.po +110 -106
- lang/the-events-calendar-da_DK.mo +0 -0
- lang/the-events-calendar-da_DK.po +110 -106
- lang/the-events-calendar-de_DE.mo +0 -0
- lang/the-events-calendar-de_DE.po +113 -109
- lang/the-events-calendar-el.mo +0 -0
- lang/the-events-calendar-el.po +110 -106
- lang/the-events-calendar-en_AU.mo +0 -0
- lang/the-events-calendar-en_AU.po +0 -0
- lang/the-events-calendar-en_CA.mo +0 -0
- lang/the-events-calendar-en_CA.po +110 -106
- lang/the-events-calendar-en_GB.mo +0 -0
- lang/the-events-calendar-en_GB.po +110 -106
- lang/the-events-calendar-en_NZ.mo +0 -0
- lang/the-events-calendar-en_NZ.po +0 -0
- lang/the-events-calendar-es_ES.mo +0 -0
- lang/the-events-calendar-es_ES.po +110 -106
- lang/the-events-calendar-et.mo +0 -0
- lang/the-events-calendar-et.po +109 -105
- lang/the-events-calendar-eu.mo +0 -0
- lang/the-events-calendar-eu.po +109 -105
- lang/the-events-calendar-fi.mo +0 -0
- lang/the-events-calendar-fi.po +110 -106
- lang/the-events-calendar-fr-ca.mo +0 -0
- lang/the-events-calendar-fr-ca.po +0 -0
- lang/the-events-calendar-fr_CA.mo +0 -0
- lang/the-events-calendar-fr_CA.po +109 -105
- lang/the-events-calendar-fr_FR.mo +0 -0
- lang/the-events-calendar-fr_FR.po +110 -106
- lang/the-events-calendar-he_IL.mo +0 -0
- lang/the-events-calendar-he_IL.po +109 -105
- lang/the-events-calendar-hu_HU.mo +0 -0
- lang/the-events-calendar-hu_HU.po +110 -106
- lang/the-events-calendar-hy.mo +0 -0
- lang/the-events-calendar-hy.po +0 -0
- lang/the-events-calendar-id_ID.mo +0 -0
- lang/the-events-calendar-id_ID.po +111 -107
- lang/the-events-calendar-is_IS.mo +0 -0
- lang/the-events-calendar-is_IS.po +109 -105
- lang/the-events-calendar-it_IT.mo +0 -0
- lang/the-events-calendar-it_IT.po +115 -111
- lang/the-events-calendar-ja.mo +0 -0
- lang/the-events-calendar-ja.po +109 -105
- lang/the-events-calendar-lt_LT.mo +0 -0
- lang/the-events-calendar-lt_LT.po +110 -106
- lang/the-events-calendar-lv.mo +0 -0
- lang/the-events-calendar-lv.po +110 -106
- lang/the-events-calendar-nb_NO.mo +0 -0
- lang/the-events-calendar-nb_NO.po +109 -105
- lang/the-events-calendar-nl_NL.mo +0 -0
- lang/the-events-calendar-nl_NL.po +110 -106
- lang/the-events-calendar-pl_PL.mo +0 -0
- lang/the-events-calendar-pl_PL.po +0 -0
- lang/the-events-calendar-pt_BR.mo +0 -0
- lang/the-events-calendar-pt_BR.po +110 -106
- lang/the-events-calendar-pt_PT.mo +0 -0
- lang/the-events-calendar-pt_PT.po +110 -106
- lang/the-events-calendar-ro_RO.mo +0 -0
- lang/the-events-calendar-ro_RO.po +110 -106
- lang/the-events-calendar-ru_RU.mo +0 -0
- lang/the-events-calendar-ru_RU.po +109 -105
- lang/the-events-calendar-sk_SK.mo +0 -0
- lang/the-events-calendar-sk_SK.po +110 -106
- lang/the-events-calendar-sl_SI.mo +0 -0
- lang/the-events-calendar-sl_SI.po +110 -106
- lang/the-events-calendar-sr_RS.mo +0 -0
- lang/the-events-calendar-sr_RS.po +109 -105
- lang/the-events-calendar-sv_SE.mo +0 -0
- lang/the-events-calendar-sv_SE.po +110 -106
- lang/the-events-calendar-tr_TR.mo +0 -0
- lang/the-events-calendar-tr_TR.po +110 -106
- lang/the-events-calendar-uk.mo +0 -0
- lang/the-events-calendar-uk.po +0 -0
- lang/the-events-calendar-zh_CN.mo +0 -0
- lang/the-events-calendar-zh_CN.po +109 -105
- lang/the-events-calendar-zh_TW.mo +0 -0
- lang/the-events-calendar-zh_TW.po +109 -105
- lang/the-events-calendar.pot +1188 -1015
common/lang/tribe-common-af.mo
CHANGED
File without changes
|
common/lang/tribe-common-af.po
CHANGED
File without changes
|
common/lang/tribe-common-ar.mo
CHANGED
File without changes
|
common/lang/tribe-common-ar.po
CHANGED
File without changes
|
common/lang/tribe-common-bg_BG.mo
CHANGED
File without changes
|
common/lang/tribe-common-bg_BG.po
CHANGED
File without changes
|
common/lang/tribe-common-ca.mo
CHANGED
File without changes
|
common/lang/tribe-common-ca.po
CHANGED
File without changes
|
common/lang/tribe-common-cs_CZ.mo
CHANGED
File without changes
|
common/lang/tribe-common-cs_CZ.po
CHANGED
File without changes
|
common/lang/tribe-common-da_DK.mo
CHANGED
File without changes
|
common/lang/tribe-common-da_DK.po
CHANGED
File without changes
|
common/lang/tribe-common-de_DE.mo
CHANGED
File without changes
|
common/lang/tribe-common-de_DE.po
CHANGED
File without changes
|
common/lang/tribe-common-el.mo
CHANGED
File without changes
|
common/lang/tribe-common-el.po
CHANGED
File without changes
|
common/lang/tribe-common-en_GB.mo
CHANGED
File without changes
|
common/lang/tribe-common-en_GB.po
CHANGED
File without changes
|
common/lang/tribe-common-es_ES.mo
CHANGED
File without changes
|
common/lang/tribe-common-es_ES.po
CHANGED
File without changes
|
common/lang/tribe-common-et.mo
CHANGED
File without changes
|
common/lang/tribe-common-et.po
CHANGED
File without changes
|
common/lang/tribe-common-fi.mo
CHANGED
File without changes
|
common/lang/tribe-common-fi.po
CHANGED
File without changes
|
common/lang/tribe-common-fr_CA.mo
CHANGED
File without changes
|
common/lang/tribe-common-fr_CA.po
CHANGED
File without changes
|
common/lang/tribe-common-fr_FR.mo
CHANGED
File without changes
|
common/lang/tribe-common-fr_FR.po
CHANGED
File without changes
|
common/lang/tribe-common-hu_HU.mo
CHANGED
File without changes
|
common/lang/tribe-common-hu_HU.po
CHANGED
File without changes
|
common/lang/tribe-common-id_ID.mo
CHANGED
File without changes
|
common/lang/tribe-common-id_ID.po
CHANGED
File without changes
|
common/lang/tribe-common-is_IS.mo
CHANGED
File without changes
|
common/lang/tribe-common-is_IS.po
CHANGED
File without changes
|
common/lang/tribe-common-it_IT.mo
CHANGED
File without changes
|
common/lang/tribe-common-it_IT.po
CHANGED
File without changes
|
common/lang/tribe-common-lt_LT.mo
CHANGED
File without changes
|
common/lang/tribe-common-lt_LT.po
CHANGED
File without changes
|
common/lang/tribe-common-lv.mo
CHANGED
File without changes
|
common/lang/tribe-common-lv.po
CHANGED
File without changes
|
common/lang/tribe-common-nb_NO.mo
CHANGED
File without changes
|
common/lang/tribe-common-nb_NO.po
CHANGED
File without changes
|
common/lang/tribe-common-nl_NL.mo
CHANGED
File without changes
|
common/lang/tribe-common-nl_NL.po
CHANGED
File without changes
|
common/lang/tribe-common-pl_PL.mo
CHANGED
File without changes
|
common/lang/tribe-common-pl_PL.po
CHANGED
File without changes
|
common/lang/tribe-common-pt_BR.mo
CHANGED
File without changes
|
common/lang/tribe-common-pt_BR.po
CHANGED
File without changes
|
common/lang/tribe-common-pt_PT.mo
CHANGED
File without changes
|
common/lang/tribe-common-pt_PT.po
CHANGED
File without changes
|
common/lang/tribe-common-ro_RO.mo
CHANGED
File without changes
|
common/lang/tribe-common-ro_RO.po
CHANGED
File without changes
|
common/lang/tribe-common-ru_RU.mo
CHANGED
File without changes
|
common/lang/tribe-common-ru_RU.po
CHANGED
File without changes
|
common/lang/tribe-common-sk_SK.mo
CHANGED
File without changes
|
common/lang/tribe-common-sk_SK.po
CHANGED
File without changes
|
common/lang/tribe-common-sl_SI.mo
CHANGED
File without changes
|
common/lang/tribe-common-sl_SI.po
CHANGED
File without changes
|
common/lang/tribe-common-sr_RS.mo
CHANGED
File without changes
|
common/lang/tribe-common-sr_RS.po
CHANGED
File without changes
|
common/lang/tribe-common-sv_SE.mo
CHANGED
File without changes
|
common/lang/tribe-common-sv_SE.po
CHANGED
File without changes
|
common/lang/tribe-common-tr_TR.mo
CHANGED
File without changes
|
common/lang/tribe-common-tr_TR.po
CHANGED
File without changes
|
common/lang/tribe-common-zh_CN.mo
CHANGED
File without changes
|
common/lang/tribe-common-zh_CN.po
CHANGED
File without changes
|
common/lang/tribe-common-zh_TW.mo
CHANGED
File without changes
|
common/lang/tribe-common-zh_TW.po
CHANGED
File without changes
|
common/lang/tribe-common.pot
CHANGED
File without changes
|
common/readme.txt
CHANGED
File without changes
|
common/src/Tribe/Admin/Activation_Page.php
CHANGED
File without changes
|
common/src/Tribe/Admin/Help_Page.php
CHANGED
File without changes
|
common/src/Tribe/Admin/Helpers.php
CHANGED
File without changes
|
common/src/Tribe/Admin/Live_Date_Preview.php
CHANGED
File without changes
|
common/src/Tribe/Admin/Notice/Plugin_Download.php
CHANGED
File without changes
|
common/src/Tribe/Admin/Notice/Plugin_Upgrade_Notice.php
CHANGED
File without changes
|
common/src/Tribe/Admin/Notices.php
CHANGED
File without changes
|
common/src/Tribe/Ajax/Operations.php
CHANGED
File without changes
|
common/src/Tribe/Asset/Data.php
CHANGED
File without changes
|
common/src/Tribe/Asset/Factory.php
CHANGED
File without changes
|
common/src/Tribe/Assets.php
CHANGED
File without changes
|
common/src/Tribe/Container.php
CHANGED
@@ -81,7 +81,7 @@ if ( ! function_exists( 'tribe_singleton' ) ) {
|
|
81 |
* construction.
|
82 |
*/
|
83 |
function tribe_singleton( $slug, $class, array $after_build_methods = null ) {
|
84 |
-
Tribe__Container::instance()->
|
85 |
}
|
86 |
}
|
87 |
|
@@ -145,7 +145,7 @@ if ( ! function_exists( 'tribe_register' ) ) {
|
|
145 |
* will be called each time after the instance contstruction.
|
146 |
*/
|
147 |
function tribe_register( $slug, $class, array $after_build_methods = null ) {
|
148 |
-
Tribe__Container::instance()->
|
149 |
}
|
150 |
}
|
151 |
|
81 |
* construction.
|
82 |
*/
|
83 |
function tribe_singleton( $slug, $class, array $after_build_methods = null ) {
|
84 |
+
Tribe__Container::instance()->replaceSingleton( $slug, $class, $after_build_methods );
|
85 |
}
|
86 |
}
|
87 |
|
145 |
* will be called each time after the instance contstruction.
|
146 |
*/
|
147 |
function tribe_register( $slug, $class, array $after_build_methods = null ) {
|
148 |
+
Tribe__Container::instance()->replaceBind( $slug, $class, $after_build_methods );
|
149 |
}
|
150 |
}
|
151 |
|
common/src/Tribe/Cost_Utils.php
CHANGED
File without changes
|
common/src/Tribe/Customizer.php
CHANGED
File without changes
|
common/src/Tribe/Customizer/Section.php
CHANGED
File without changes
|
common/src/Tribe/Debug.php
CHANGED
File without changes
|
common/src/Tribe/Dependency.php
CHANGED
File without changes
|
common/src/Tribe/Deprecation.php
CHANGED
File without changes
|
common/src/Tribe/Documentation/Swagger/Builder_Interface.php
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
interface Tribe__Documentation__Swagger__Builder_Interface {
|
4 |
+
/**
|
5 |
+
* Registers a documentation provider for a path.
|
6 |
+
*
|
7 |
+
* @param $path
|
8 |
+
* @param Tribe__REST__Endpoints__Endpoint_Interface $endpoint
|
9 |
+
*/
|
10 |
+
public function register_documentation_provider( $path, Tribe__Documentation__Swagger__Provider_Interface $endpoint );
|
11 |
+
|
12 |
+
/**
|
13 |
+
* @return Tribe__Documentation__Swagger__Provider_Interface[]
|
14 |
+
*/
|
15 |
+
public function get_registered_documentation_providers();
|
16 |
+
|
17 |
+
/**
|
18 |
+
* Registers a documentation provider for a definition.
|
19 |
+
*
|
20 |
+
* @param string $type
|
21 |
+
* @param Tribe__Documentation__Swagger__Provider_Interface $provider
|
22 |
+
*/
|
23 |
+
public function register_definition_provider( $type, Tribe__Documentation__Swagger__Provider_Interface $provider );
|
24 |
+
|
25 |
+
/**
|
26 |
+
* @return Tribe__Documentation__Swagger__Provider_Interface[]
|
27 |
+
*/
|
28 |
+
public function get_registered_definition_providers();
|
29 |
+
}
|
common/src/Tribe/Documentation/Swagger/Cost_Details_Definition_Provider.php
ADDED
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class Tribe__Documentation__Swagger__Cost_Details_Definition_Provider
|
4 |
+
implements Tribe__Documentation__Swagger__Provider_Interface {
|
5 |
+
|
6 |
+
/**
|
7 |
+
* Returns an array in the format used by Swagger 2.0.
|
8 |
+
*
|
9 |
+
* While the structure must conform to that used by v2.0 of Swagger the structure can be that of a full document
|
10 |
+
* or that of a document part.
|
11 |
+
* The intelligence lies in the "gatherer" of informations rather than in the single "providers" implementing this
|
12 |
+
* interface.
|
13 |
+
*
|
14 |
+
* @link http://swagger.io/
|
15 |
+
*
|
16 |
+
* @return array An array description of a Swagger supported component.
|
17 |
+
*/
|
18 |
+
public function get_documentation() {
|
19 |
+
$documentation = array(
|
20 |
+
'type' => 'array',
|
21 |
+
'properties' => array(
|
22 |
+
'currency_symbol' => array(
|
23 |
+
'type' => 'string',
|
24 |
+
'description' => __( 'The cost currency symbol', 'tribe-common' ),
|
25 |
+
),
|
26 |
+
'currency_position ' => array(
|
27 |
+
'type' => 'string',
|
28 |
+
'description' => __( 'The position of the currency symbol in the cost string', 'tribe-common' ),
|
29 |
+
'enum' => array( 'prefix', 'postfix' ),
|
30 |
+
),
|
31 |
+
'values' => array(
|
32 |
+
'type' => 'array',
|
33 |
+
'description' => __( 'An sorted array of all the numeric values for the cost', 'tribe-common' ),
|
34 |
+
),
|
35 |
+
),
|
36 |
+
);
|
37 |
+
|
38 |
+
/**
|
39 |
+
* Filters the Swagger documentation generated for a cost details in the TEC REST API.
|
40 |
+
*
|
41 |
+
* @param array $documentation An associative PHP array in the format supported by Swagger.
|
42 |
+
*
|
43 |
+
* @link http://swagger.io/
|
44 |
+
*/
|
45 |
+
$documentation = apply_filters( 'tribe_rest_swagger_cost_details_documentation', $documentation );
|
46 |
+
|
47 |
+
return $documentation;
|
48 |
+
}
|
49 |
+
}
|
common/src/Tribe/Documentation/Swagger/Date_Details_Definition_Provider.php
ADDED
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class Tribe__Documentation__Swagger__Date_Details_Definition_Provider
|
4 |
+
implements Tribe__Documentation__Swagger__Provider_Interface {
|
5 |
+
|
6 |
+
/**
|
7 |
+
* Returns an array in the format used by Swagger 2.0.
|
8 |
+
*
|
9 |
+
* While the structure must conform to that used by v2.0 of Swagger the structure can be that of a full document
|
10 |
+
* or that of a document part.
|
11 |
+
* The intelligence lies in the "gatherer" of informations rather than in the single "providers" implementing this
|
12 |
+
* interface.
|
13 |
+
*
|
14 |
+
* @link http://swagger.io/
|
15 |
+
*
|
16 |
+
* @return array An array description of a Swagger supported component.
|
17 |
+
*/
|
18 |
+
public function get_documentation() {
|
19 |
+
$documentation = array(
|
20 |
+
'type' => 'array',
|
21 |
+
'properties' => array(
|
22 |
+
'year' => array(
|
23 |
+
'type' => 'int',
|
24 |
+
'description' => __( 'The date year', 'tribe-common' ),
|
25 |
+
),
|
26 |
+
'month' => array(
|
27 |
+
'type' => 'int',
|
28 |
+
'description' => __( 'The date month', 'tribe-common' ),
|
29 |
+
),
|
30 |
+
'day' => array(
|
31 |
+
'type' => 'int',
|
32 |
+
'description' => __( 'The date day', 'tribe-common' ),
|
33 |
+
),
|
34 |
+
'hour' => array(
|
35 |
+
'type' => 'int',
|
36 |
+
'description' => __( 'The date hour', 'tribe-common' ),
|
37 |
+
),
|
38 |
+
'minutes' => array(
|
39 |
+
'type' => 'int',
|
40 |
+
'description' => __( 'The date minutes', 'tribe-common' ),
|
41 |
+
),
|
42 |
+
'seconds' => array(
|
43 |
+
'type' => 'int',
|
44 |
+
'description' => __( 'The date seconds', 'tribe-common' ),
|
45 |
+
),
|
46 |
+
),
|
47 |
+
);
|
48 |
+
|
49 |
+
/**
|
50 |
+
* Filters the Swagger documentation generated for an date details in the TEC REST API.
|
51 |
+
*
|
52 |
+
* @param array $documentation An associative PHP array in the format supported by Swagger.
|
53 |
+
*
|
54 |
+
* @link http://swagger.io/
|
55 |
+
*/
|
56 |
+
$documentation = apply_filters( 'tribe_rest_swagger_date_details_documentation', $documentation );
|
57 |
+
|
58 |
+
return $documentation;
|
59 |
+
}
|
60 |
+
}
|
common/src/Tribe/Documentation/Swagger/Image_Definition_Provider.php
ADDED
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class Tribe__Documentation__Swagger__Image_Definition_Provider
|
4 |
+
implements Tribe__Documentation__Swagger__Provider_Interface {
|
5 |
+
|
6 |
+
/**
|
7 |
+
* Returns an array in the format used by Swagger 2.0.
|
8 |
+
*
|
9 |
+
* While the structure must conform to that used by v2.0 of Swagger the structure can be that of a full document
|
10 |
+
* or that of a document part.
|
11 |
+
* The intelligence lies in the "gatherer" of informations rather than in the single "providers" implementing this
|
12 |
+
* interface.
|
13 |
+
*
|
14 |
+
* @link http://swagger.io/
|
15 |
+
*
|
16 |
+
* @return array An array description of a Swagger supported component.
|
17 |
+
*/
|
18 |
+
public function get_documentation() {
|
19 |
+
$documentation = array(
|
20 |
+
'type' => 'object',
|
21 |
+
'properties' => array(
|
22 |
+
'url' => array(
|
23 |
+
'type' =>'string',
|
24 |
+
'description' =>__('The URL to the full size version of the image', 'tribe-common'),
|
25 |
+
),
|
26 |
+
'id' => array(
|
27 |
+
'type' => 'int',
|
28 |
+
'description' => __( 'The image WordPress post ID', 'tribe-common' ),
|
29 |
+
),
|
30 |
+
'extension' => array(
|
31 |
+
'type' =>'string',
|
32 |
+
'description' =>__('The image file extension', 'tribe-common'),
|
33 |
+
),
|
34 |
+
'width' => array(
|
35 |
+
'type' => 'int',
|
36 |
+
'description' => __( 'The image natural width in pixels', 'tribe-common' ),
|
37 |
+
),
|
38 |
+
'height' => array(
|
39 |
+
'type' => 'int',
|
40 |
+
'description' => __( 'The image natura height in pixels', 'tribe-common' ),
|
41 |
+
),
|
42 |
+
'sizes' => array(
|
43 |
+
'type' => 'array',
|
44 |
+
'description' => __( 'The details about each size available for the image', 'tribe-common' ),
|
45 |
+
'$ref' => '#/definitions/ImageSize',
|
46 |
+
),
|
47 |
+
),
|
48 |
+
);
|
49 |
+
|
50 |
+
/**
|
51 |
+
* Filters the Swagger documentation generated for an image deatails in the TEC REST API.
|
52 |
+
*
|
53 |
+
* @param array $documentation An associative PHP array in the format supported by Swagger.
|
54 |
+
*
|
55 |
+
* @link http://swagger.io/
|
56 |
+
*/
|
57 |
+
$documentation = apply_filters( 'tribe_rest_swagger_image_details_documentation', $documentation );
|
58 |
+
|
59 |
+
return $documentation;
|
60 |
+
}
|
61 |
+
}
|
common/src/Tribe/Documentation/Swagger/Image_Size_Definition_Provider.php
ADDED
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class Tribe__Documentation__Swagger__Image_Size_Definition_Provider
|
4 |
+
implements Tribe__Documentation__Swagger__Provider_Interface {
|
5 |
+
|
6 |
+
/**
|
7 |
+
* Returns an array in the format used by Swagger 2.0.
|
8 |
+
*
|
9 |
+
* While the structure must conform to that used by v2.0 of Swagger the structure can be that of a full document
|
10 |
+
* or that of a document part.
|
11 |
+
* The intelligence lies in the "gatherer" of informations rather than in the single "providers" implementing this
|
12 |
+
* interface.
|
13 |
+
*
|
14 |
+
* @link http://swagger.io/
|
15 |
+
*
|
16 |
+
* @return array An array description of a Swagger supported component.
|
17 |
+
*/
|
18 |
+
public function get_documentation() {
|
19 |
+
$documentation = array(
|
20 |
+
'type' => 'object',
|
21 |
+
'properties' => array(
|
22 |
+
'width' => array(
|
23 |
+
'type' => 'int',
|
24 |
+
'description' => __( 'The image width in pixels in the specified size', 'tribe-common' ),
|
25 |
+
),
|
26 |
+
'height' => array(
|
27 |
+
'type' => 'int',
|
28 |
+
'description' => __( 'The image height in pixels in the specified size', 'tribe-common' ),
|
29 |
+
),
|
30 |
+
'mime-type' => array(
|
31 |
+
'type' => 'string',
|
32 |
+
'description' => __( 'The image mime-type', 'tribe-common' ),
|
33 |
+
),
|
34 |
+
'url' => array(
|
35 |
+
'type' => 'string',
|
36 |
+
'description' => __( 'The link to the image in the specified size on the site', 'tribe-common' ),
|
37 |
+
),
|
38 |
+
),
|
39 |
+
);
|
40 |
+
|
41 |
+
/**
|
42 |
+
* Filters the Swagger documentation generated for an image size in the TEC REST API.
|
43 |
+
*
|
44 |
+
* @param array $documentation An associative PHP array in the format supported by Swagger.
|
45 |
+
*
|
46 |
+
* @link http://swagger.io/
|
47 |
+
*/
|
48 |
+
$documentation = apply_filters( 'tribe_rest_swagger_image_size_documentation', $documentation );
|
49 |
+
|
50 |
+
return $documentation;
|
51 |
+
}
|
52 |
+
}
|
common/src/Tribe/Documentation/Swagger/Provider_Interface.php
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
interface Tribe__Documentation__Swagger__Provider_Interface {
|
4 |
+
/**
|
5 |
+
* Returns an array in the format used by Swagger 2.0.
|
6 |
+
*
|
7 |
+
* While the structure must conform to that used by v2.0 of Swagger the structure can be that of a full document
|
8 |
+
* or that of a document part.
|
9 |
+
* The intelligence lies in the "gatherer" of informations rather than in the single "providers" implementing this
|
10 |
+
* interface.
|
11 |
+
*
|
12 |
+
* @link http://swagger.io/
|
13 |
+
*
|
14 |
+
* @return array An array description of a Swagger supported component.
|
15 |
+
*/
|
16 |
+
public function get_documentation();
|
17 |
+
}
|
common/src/Tribe/Documentation/Swagger/Term_Definition_Provider.php
ADDED
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class Tribe__Documentation__Swagger__Term_Definition_Provider
|
4 |
+
implements Tribe__Documentation__Swagger__Provider_Interface {
|
5 |
+
|
6 |
+
/**
|
7 |
+
* Returns an array in the format used by Swagger 2.0.
|
8 |
+
*
|
9 |
+
* While the structure must conform to that used by v2.0 of Swagger the structure can be that of a full document
|
10 |
+
* or that of a document part.
|
11 |
+
* The intelligence lies in the "gatherer" of informations rather than in the single "providers" implementing this
|
12 |
+
* interface.
|
13 |
+
*
|
14 |
+
* @link http://swagger.io/
|
15 |
+
*
|
16 |
+
* @return array An array description of a Swagger supported component.
|
17 |
+
*/
|
18 |
+
public function get_documentation() {
|
19 |
+
$documentation = array(
|
20 |
+
'type' => 'object',
|
21 |
+
'properties' => array(
|
22 |
+
'id' => array(
|
23 |
+
'type' => 'int',
|
24 |
+
'description' => __( 'The WordPress term ID', 'tribe-common' ),
|
25 |
+
),
|
26 |
+
'name' => array(
|
27 |
+
'type' => 'string',
|
28 |
+
'description' => __( 'The term name', 'tribe-common' ),
|
29 |
+
),
|
30 |
+
'slug' => array(
|
31 |
+
'type' => 'string',
|
32 |
+
'description' => __( 'The term slug', 'tribe-common' ),
|
33 |
+
),
|
34 |
+
'taxonomy' => array(
|
35 |
+
'type' => 'string',
|
36 |
+
'description' => __( 'The taxonomy the term belongs to', 'tribe-common' ),
|
37 |
+
),
|
38 |
+
'description' => array(
|
39 |
+
'type' => 'string',
|
40 |
+
'description' => __( 'The term description', 'tribe-common' ),
|
41 |
+
),
|
42 |
+
'parent' => array(
|
43 |
+
'type' => 'int',
|
44 |
+
'description' => __( 'The term parent term if any', 'tribe-common' ),
|
45 |
+
),
|
46 |
+
'count' => array(
|
47 |
+
'type' => 'int',
|
48 |
+
'description' => __( 'The number of posts associated with the term', 'tribe-common' ),
|
49 |
+
),
|
50 |
+
'link' => array(
|
51 |
+
'type' => 'string',
|
52 |
+
'description' => __( 'The URL to the term archive page', 'tribe-common' ),
|
53 |
+
),
|
54 |
+
),
|
55 |
+
);
|
56 |
+
|
57 |
+
/**
|
58 |
+
* Filters the Swagger documentation generated for an term in the TEC REST API.
|
59 |
+
*
|
60 |
+
* @param array $documentation An associative PHP array in the format supported by Swagger.
|
61 |
+
*
|
62 |
+
* @link http://swagger.io/
|
63 |
+
*/
|
64 |
+
$documentation = apply_filters( 'tribe_rest_swagger_term_documentation', $documentation );
|
65 |
+
|
66 |
+
return $documentation;
|
67 |
+
}
|
68 |
+
}
|
common/src/Tribe/Error.php
CHANGED
File without changes
|
common/src/Tribe/Exception.php
CHANGED
File without changes
|
common/src/Tribe/Extension.php
CHANGED
File without changes
|
common/src/Tribe/Extension_Loader.php
CHANGED
File without changes
|
common/src/Tribe/Languages/Map_Interface.php
CHANGED
File without changes
|
common/src/Tribe/Languages/Recaptcha_Map.php
CHANGED
File without changes
|
common/src/Tribe/Log.php
CHANGED
File without changes
|
common/src/Tribe/Log/Admin.php
CHANGED
File without changes
|
common/src/Tribe/Log/File_Logger.php
CHANGED
File without changes
|
common/src/Tribe/Log/Logger.php
CHANGED
File without changes
|
common/src/Tribe/Log/Null_Logger.php
CHANGED
File without changes
|
common/src/Tribe/Main.php
CHANGED
File without changes
|
common/src/Tribe/Notices.php
CHANGED
File without changes
|
common/src/Tribe/PUE/Notices.php
CHANGED
File without changes
|
common/src/Tribe/PUE/Package_Handler.php
CHANGED
File without changes
|
common/src/Tribe/Plugin_Meta_Links.php
CHANGED
File without changes
|
common/src/Tribe/Plugins.php
CHANGED
File without changes
|
common/src/Tribe/Post_History.php
CHANGED
File without changes
|
common/src/Tribe/Post_Transient.php
CHANGED
File without changes
|
common/src/Tribe/REST/Endpoints/Endpoint_Interface.php
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
|
4 |
+
interface Tribe__REST__Endpoints__Endpoint_Interface {
|
5 |
+
|
6 |
+
/**
|
7 |
+
* Handles GET requests on the endpoint.
|
8 |
+
*
|
9 |
+
* @param WP_REST_Request $request
|
10 |
+
*
|
11 |
+
* @return WP_Error|WP_REST_Response An array containing the data on success or a WP_Error instance on failure.
|
12 |
+
*/
|
13 |
+
public function get( WP_REST_Request $request );
|
14 |
+
}
|
common/src/Tribe/REST/Exceptions/Exception.php
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Class Tribe__REST__Exceptions__Exception
|
5 |
+
*/
|
6 |
+
class Tribe__REST__Exceptions__Exception extends Exception {
|
7 |
+
/**
|
8 |
+
* @var int
|
9 |
+
*/
|
10 |
+
protected $status;
|
11 |
+
|
12 |
+
public function __construct( $message, $code, $status ) {
|
13 |
+
$this->message = $message;
|
14 |
+
$this->code = $code;
|
15 |
+
$this->status = $status;
|
16 |
+
}
|
17 |
+
|
18 |
+
/**
|
19 |
+
* Return the error status.
|
20 |
+
* @return int
|
21 |
+
*/
|
22 |
+
public function getStatus() {
|
23 |
+
return $this->status;
|
24 |
+
}
|
25 |
+
}
|
common/src/Tribe/REST/Headers/Base_Header.php
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
|
4 |
+
abstract class Tribe__REST__Headers__Base_Header {
|
5 |
+
|
6 |
+
/**
|
7 |
+
* @var Tribe__REST__Headers__Base_Interface
|
8 |
+
*/
|
9 |
+
protected $base;
|
10 |
+
|
11 |
+
/**
|
12 |
+
* Tribe__REST__Headers__Base_Header constructor.
|
13 |
+
*
|
14 |
+
* @param Tribe__REST__Headers__Base_Interface $base
|
15 |
+
*/
|
16 |
+
public function __construct( Tribe__REST__Headers__Base_Interface $base ) {
|
17 |
+
$this->base = $base;
|
18 |
+
}
|
19 |
+
}
|
common/src/Tribe/REST/Headers/Base_Interface.php
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
|
4 |
+
/**
|
5 |
+
* Interface Tribe__REST__Headers__Base_Interface
|
6 |
+
*
|
7 |
+
* Provides basic information for the
|
8 |
+
*/
|
9 |
+
interface Tribe__REST__Headers__Base_Interface {
|
10 |
+
/**
|
11 |
+
* Returns the header that the REST API will print on the page head to report
|
12 |
+
* its version.
|
13 |
+
*
|
14 |
+
* @return string
|
15 |
+
*/
|
16 |
+
public function get_api_version_header();
|
17 |
+
|
18 |
+
/**
|
19 |
+
* Returns the header the REST API will print on the page head to report its root
|
20 |
+
* url.
|
21 |
+
*
|
22 |
+
* @return string
|
23 |
+
*/
|
24 |
+
public function get_api_root_header();
|
25 |
+
|
26 |
+
/**
|
27 |
+
* Returns the `name` of the meta tag that will be printed on the page to indicate
|
28 |
+
* the REST API version.
|
29 |
+
*
|
30 |
+
* @return string
|
31 |
+
*/
|
32 |
+
public function get_api_version_meta_name();
|
33 |
+
|
34 |
+
/**
|
35 |
+
* Returns the REST API URL.
|
36 |
+
*
|
37 |
+
* @return string
|
38 |
+
*/
|
39 |
+
public function get_rest_url();
|
40 |
+
}
|
common/src/Tribe/REST/Headers/Disabled.php
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
|
4 |
+
class Tribe__REST__Headers__Disabled extends Tribe__REST__Headers__Base_Header implements Tribe__REST__Headers__Headers_Interface {
|
5 |
+
|
6 |
+
/**
|
7 |
+
* Prints TEC REST API related meta on the site.
|
8 |
+
*/
|
9 |
+
public function add_header() {
|
10 |
+
// no-op
|
11 |
+
}
|
12 |
+
|
13 |
+
/**
|
14 |
+
* Sends TEC REST API related headers.
|
15 |
+
*/
|
16 |
+
public function send_header() {
|
17 |
+
if ( headers_sent() ) {
|
18 |
+
return;
|
19 |
+
}
|
20 |
+
|
21 |
+
header( $this->base->get_api_version_header() . ': disabled' );
|
22 |
+
}
|
23 |
+
}
|
common/src/Tribe/REST/Headers/Headers_Interface.php
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Class Tribe__REST__Headers__Headers_Interface
|
5 |
+
*
|
6 |
+
* Handles headers and header equivalent to be printed/sent in responses.
|
7 |
+
*/
|
8 |
+
interface Tribe__REST__Headers__Headers_Interface {
|
9 |
+
/**
|
10 |
+
* Prints the REST API related meta on the site.
|
11 |
+
*/
|
12 |
+
public function add_header();
|
13 |
+
|
14 |
+
/**
|
15 |
+
* Sends the REST API related headers.
|
16 |
+
*/
|
17 |
+
public function send_header();
|
18 |
+
}
|
common/src/Tribe/REST/Headers/Supported.php
ADDED
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
|
4 |
+
class Tribe__REST__Headers__Supported extends Tribe__REST__Headers__Base_Header implements Tribe__REST__Headers__Headers_Interface {
|
5 |
+
|
6 |
+
/**
|
7 |
+
* @var Tribe__Events__Main
|
8 |
+
*/
|
9 |
+
protected $main;
|
10 |
+
|
11 |
+
public function __construct( Tribe__REST__Headers__Base_Interface $base, Tribe__REST__Main $main ) {
|
12 |
+
parent::__construct( $base );
|
13 |
+
$this->main = $main;
|
14 |
+
}
|
15 |
+
|
16 |
+
/**
|
17 |
+
* Prints TEC REST API related meta on the site.
|
18 |
+
*/
|
19 |
+
public function add_header() {
|
20 |
+
$api_root = $this->base->get_rest_url();
|
21 |
+
|
22 |
+
if ( empty( $api_root ) ) {
|
23 |
+
return;
|
24 |
+
}
|
25 |
+
|
26 |
+
printf(
|
27 |
+
'<meta name="%s" content="%s"> <link rel="%s" href="%s" />',
|
28 |
+
esc_attr( $this->base->get_api_version_meta_name() ),
|
29 |
+
esc_attr( $this->main->get_version() ),
|
30 |
+
esc_attr( $this->main->get_reference_url() ),
|
31 |
+
esc_url( $api_root )
|
32 |
+
);
|
33 |
+
}
|
34 |
+
|
35 |
+
/**
|
36 |
+
* Sends TEC REST API related headers.
|
37 |
+
*/
|
38 |
+
public function send_header() {
|
39 |
+
if ( headers_sent() ) {
|
40 |
+
return;
|
41 |
+
}
|
42 |
+
|
43 |
+
$api_root = $this->base->get_rest_url();
|
44 |
+
|
45 |
+
if ( empty( $api_root ) ) {
|
46 |
+
return;
|
47 |
+
}
|
48 |
+
|
49 |
+
header( $this->base->get_api_version_header() . ': ' . $this->main->get_version() );
|
50 |
+
header( $this->base->get_api_root_header() . ': ' . esc_url_raw( $api_root ) );
|
51 |
+
}
|
52 |
+
}
|
common/src/Tribe/REST/Headers/Unsupported.php
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
|
4 |
+
class Tribe__REST__Headers__Unsupported extends Tribe__REST__Headers__Base_Header implements Tribe__REST__Headers__Headers_Interface {
|
5 |
+
|
6 |
+
/**
|
7 |
+
* @var Tribe__REST__Main
|
8 |
+
*/
|
9 |
+
protected $main;
|
10 |
+
|
11 |
+
/**
|
12 |
+
* Tribe__REST__Headers__Unsupported constructor.
|
13 |
+
*
|
14 |
+
* @param Tribe__REST__Headers__Base_Interface $base
|
15 |
+
* @param Tribe__REST__Main $main
|
16 |
+
*/
|
17 |
+
public function __construct( Tribe__REST__Headers__Base_Interface $base, Tribe__REST__Main $main ) {
|
18 |
+
parent::__construct( $base );
|
19 |
+
$this->main = $main;
|
20 |
+
}
|
21 |
+
|
22 |
+
/**
|
23 |
+
* Prints TEC REST API related meta on the site.
|
24 |
+
*/
|
25 |
+
public function add_header() {
|
26 |
+
// no-op
|
27 |
+
}
|
28 |
+
|
29 |
+
/**
|
30 |
+
* Sends TEC REST API related headers.
|
31 |
+
*/
|
32 |
+
public function send_header() {
|
33 |
+
if ( headers_sent() ) {
|
34 |
+
return;
|
35 |
+
}
|
36 |
+
|
37 |
+
header( $this->main->get_api_version_header() . ': unsupported' );
|
38 |
+
}
|
39 |
+
}
|
common/src/Tribe/REST/Main.php
ADDED
@@ -0,0 +1,149 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
|
4 |
+
/**
|
5 |
+
* Class Tribe__REST__Main
|
6 |
+
*
|
7 |
+
* The main entry point for a Modern Tribe REST API implementation.
|
8 |
+
*
|
9 |
+
* This class should not contain business logic and merely set up and start the REST API support.
|
10 |
+
*/
|
11 |
+
abstract class Tribe__REST__Main {
|
12 |
+
|
13 |
+
/**
|
14 |
+
* Modern Tribe REST APIs URL namespace.
|
15 |
+
*
|
16 |
+
* @var string
|
17 |
+
*/
|
18 |
+
protected $namespace = '/tribe';
|
19 |
+
|
20 |
+
/**
|
21 |
+
* Returns the namespace of Modern Tribe REST APIs.
|
22 |
+
*
|
23 |
+
* @return string
|
24 |
+
*/
|
25 |
+
public function get_namespace() {
|
26 |
+
return $this->namespace;
|
27 |
+
}
|
28 |
+
|
29 |
+
/**
|
30 |
+
* Returns the REST API URL prefix.
|
31 |
+
*
|
32 |
+
* @return string The REST API URL prefix.
|
33 |
+
*/
|
34 |
+
public function get_url_prefix() {
|
35 |
+
$use_builtin = $this->use_builtin();
|
36 |
+
|
37 |
+
if ( $use_builtin ) {
|
38 |
+
$prefix = rest_get_url_prefix();
|
39 |
+
} else {
|
40 |
+
$prefix = apply_filters( 'rest_url_prefix', 'wp-json' );
|
41 |
+
}
|
42 |
+
|
43 |
+
$default_tec_prefix = $this->namespace . $this->url_prefix();
|
44 |
+
$prefix = rtrim( $prefix, '/' ) . $default_tec_prefix;
|
45 |
+
|
46 |
+
/**
|
47 |
+
* Filters the TEC REST API URL prefix
|
48 |
+
*
|
49 |
+
* @param string $prefix The complete URL prefix.
|
50 |
+
* @param string $default_tec_prefix The default URL prefix appended to the REST URL by The Events Calendar.
|
51 |
+
*/
|
52 |
+
return apply_filters( 'tribe_events_rest_url_prefix', $prefix, $default_tec_prefix );
|
53 |
+
}
|
54 |
+
|
55 |
+
/**
|
56 |
+
* Retrieves the URL to a TEC REST endpoint on a site.
|
57 |
+
*
|
58 |
+
* Note: The returned URL is NOT escaped.
|
59 |
+
*
|
60 |
+
* @global WP_Rewrite $wp_rewrite
|