diff --git a/.github/workflows/tests-php.yml b/.github/workflows/tests-php.yml index 81b392e6f2..f5ebf018f4 100644 --- a/.github/workflows/tests-php.yml +++ b/.github/workflows/tests-php.yml @@ -167,6 +167,9 @@ jobs: run: | ${SLIC_BIN} use the-events-calendar/common ${SLIC_BIN} composer install + # ------------------------------------------------------------------------------ + # Update WordPress version to our min required. + # ------------------------------------------------------------------------------ - name: Init the WordPress container if: steps.skip.outputs.value != 1 run: | diff --git a/src/Tribe/App_Shop.php b/src/Tribe/App_Shop.php index bf255a454a..b9d7fb560d 100755 --- a/src/Tribe/App_Shop.php +++ b/src/Tribe/App_Shop.php @@ -148,18 +148,18 @@ private function get_all_products() { $all_products = tribe( 'plugins.api' )->get_products(); $products = [ - 'the-events-calendar' => (object) $all_products['the-events-calendar'], - 'events-calendar-pro' => (object) $all_products['events-calendar-pro'], - 'event-aggregator' => (object) $all_products['event-aggregator'], - 'event-tickets' => (object) $all_products['event-tickets'], - 'event-tickets-plus' => (object) $all_products['event-tickets-plus'], - 'promoter' => (object) $all_products['promoter'], - 'tribe-filterbar' => (object) $all_products['tribe-filterbar'], - 'events-community' => (object) $all_products['events-community'], - 'events-community-tickets' => (object) $all_products['events-community-tickets'], - 'event-schedule-manager' => (object) $all_products['event-schedule-manager'], - 'tribe-eventbrite' => (object) $all_products['tribe-eventbrite'], - 'image-widget-plus' => (object) $all_products['image-widget-plus'], + 'the-events-calendar' => (object) $all_products['the-events-calendar'], + 'events-calendar-pro' => (object) $all_products['events-calendar-pro'], + 'event-aggregator' => (object) $all_products['event-aggregator'], + 'event-tickets' => (object) $all_products['event-tickets'], + 'event-tickets-plus' => (object) $all_products['event-tickets-plus'], + 'promoter' => (object) $all_products['promoter'], + 'tribe-filterbar' => (object) $all_products['tribe-filterbar'], + 'events-community' => (object) $all_products['events-community'], + 'events-community-tickets' => (object) $all_products['events-community-tickets'], + 'event-schedule-manager' => (object) $all_products['event-schedule-manager'], + 'tribe-eventbrite' => (object) $all_products['tribe-eventbrite'], + 'image-widget-plus' => (object) $all_products['image-widget-plus'], ]; return $products; @@ -173,55 +173,36 @@ private function get_all_products() { private function get_bundles() { $bundles = [ (object) [ - 'title' => __( 'Events Marketing Bundle', 'tribe-common' ), - 'logo' => 'images/logo/bundle-event-marketing.svg', - 'link' => 'https://evnt.is/1aj3', - 'discount' => __( 'Save over 20%', 'tribe-common' ), + 'title' => __( 'Events Marketing Bundle', 'tribe-common' ), + 'logo' => 'images/logo/bundle-event-marketing.svg', + 'link' => 'https://evnt.is/1aj3', + 'discount' => __( 'Save over 20%', 'tribe-common' ), 'description' => __( 'Ticket sales, attendee management, and email marketing for your events', 'tribe-common' ), - 'includes' => [ + 'includes' => [ 'events-calendar-pro', 'event-tickets-plus', 'promoter', ], ], (object) [ - 'title' => __( 'Event Importer Bundle', 'tribe-common' ), - 'logo' => 'images/logo/bundle-event-importer.svg', - 'link' => 'https://evnt.is/1aj2', - 'discount' => __( 'Save over 25%', 'tribe-common' ), + 'title' => __( 'Event Importer Bundle', 'tribe-common' ), + 'logo' => 'images/logo/bundle-event-importer.svg', + 'link' => 'https://evnt.is/1aj2', + 'discount' => __( 'Save over 25%', 'tribe-common' ), 'description' => __( 'Fill your calendar with events from across the web, including Google Calendar, Meetup, and more.', 'tribe-common' ), - 'includes' => [ + 'includes' => [ 'events-calendar-pro', 'tribe-filterbar', 'event-aggregator' ], ], (object) [ - 'title' => __( 'Virtual Events Marketing Bundle', 'tribe-common' ), - 'logo' => 'images/logo/bundle-virtual-events.svg', - 'link' => 'http://evnt.is/ve-bundle', - 'discount' => __( 'Save over 20%', 'tribe-common' ), - 'description' => __( 'Streamline your online events and increase revenue.', 'tribe-common' ), - 'includes' => [ - 'events-calendar-pro', - 'event-tickets-plus', - 'events-virtual', - 'promoter', - ], - 'features' => [ - __( 'Sell tickets and earn revenue for online events', 'tribe-common' ), - __( 'Zoom integration', 'tribe-common' ), - __( 'Automated emails optimized for virtual events', 'tribe-common' ), - __( 'Add recurring events', 'tribe-common' ), - ], - ], - (object) [ - 'title' => __( 'Community Manager Bundle', 'tribe-common' ), - 'logo' => 'images/logo/bundle-community-manager.svg', - 'link' => 'https://evnt.is/1aj4', - 'discount' => __( 'Save over 20%', 'tribe-common' ), /* code review: fix this */ + 'title' => __( 'Community Manager Bundle', 'tribe-common' ), + 'logo' => 'images/logo/bundle-community-manager.svg', + 'link' => 'https://evnt.is/1aj4', + 'discount' => __( 'Save over 20%', 'tribe-common' ), /* code review: fix this */ 'description' => __( 'Handle event submissions with ticket sales and everything you need to build a robust community.', 'tribe-common' ), - 'includes' => [ + 'includes' => [ 'event-tickets-plus', 'events-community', 'events-community-tickets', @@ -229,12 +210,12 @@ private function get_bundles() { ], ], (object) [ - 'title' => __( 'Ultimate Bundle', 'tribe-common' ), - 'logo' => 'images/logo/bundle-ultimate.svg', - 'link' => 'https://evnt.is/1aj5', - 'discount' => __( 'Save over 20%', 'tribe-common' ), /* code review: fix this */ + 'title' => __( 'Ultimate Bundle', 'tribe-common' ), + 'logo' => 'images/logo/bundle-ultimate.svg', + 'link' => 'https://evnt.is/1aj5', + 'discount' => __( 'Save over 20%', 'tribe-common' ), /* code review: fix this */ 'description' => __( 'All of our premium events management plugins at a deep discount.', 'tribe-common' ), - 'includes' => [ + 'includes' => [ 'events-calendar-pro', 'event-tickets-plus', //'events-virtual', // not yet added to the bundle @@ -260,39 +241,39 @@ private function get_bundles() { private function get_extensions() { $extensions = [ (object) [ - 'title' => __( 'Website URL CTA', 'tribe-common' ), - 'link' => 'https://evnt.is/1aj6', - 'image' => 'images/shop/extension-web-url-cta.jpg', + 'title' => __( 'Website URL CTA', 'tribe-common' ), + 'link' => 'https://evnt.is/1aj6', + 'image' => 'images/shop/extension-web-url-cta.jpg', 'description' => __( 'Create a strong call-to-action for attendees to "Join Webinar" instead of only sharing a website address.', 'tribe-common' ), ], (object) [ - 'title' => __( 'Link Directly to Webinar', 'tribe-common' ), - 'link' => 'https://evnt.is/1aj7', - 'image' => 'images/shop/extension-link-to-webinar.jpg', + 'title' => __( 'Link Directly to Webinar', 'tribe-common' ), + 'link' => 'https://evnt.is/1aj7', + 'image' => 'images/shop/extension-link-to-webinar.jpg', 'description' => __( 'When users click on the event title, they’ll be taken right to the source of your event, offering a direct route to join.', 'tribe-common' ), ], (object) [ - 'title' => __( 'Events Happening Now', 'tribe-common' ), - 'link' => 'https://evnt.is/1aj8', - 'image' => 'images/shop/extension-events-happening-now.jpg', + 'title' => __( 'Events Happening Now', 'tribe-common' ), + 'link' => 'https://evnt.is/1aj8', + 'image' => 'images/shop/extension-events-happening-now.jpg', 'description' => __( 'Use this shortcode to display events that are currently in progress, like webinars and livestreams.', 'tribe-common' ), ], (object) [ - 'title' => __( 'Custom Venue Links', 'tribe-common' ), - 'link' => 'https://evnt.is/1aj9', - 'image' => 'images/shop/extension-custom-venue-links.jpg', + 'title' => __( 'Custom Venue Links', 'tribe-common' ), + 'link' => 'https://evnt.is/1aj9', + 'image' => 'images/shop/extension-custom-venue-links.jpg', 'description' => __( 'Turn the venue name for your event into a clickable URL — a great way to link directly to a venue’s website or a virtual meeting.', 'tribe-common' ), ], (object) [ - 'title' => __( 'Adjust Label', 'tribe-common' ), - 'link' => 'https://evnt.is/1aja', - 'image' => 'images/shop/extension-change-label.jpg', + 'title' => __( 'Adjust Label', 'tribe-common' ), + 'link' => 'https://evnt.is/1aja', + 'image' => 'images/shop/extension-change-label.jpg', 'description' => __( 'Change "Events" to "Webinars," or "Venues" to "Livestream," or "Organizers" to "Hosts." Tailor your calendar for virtual events and meetings.', 'tribe-common' ), ], (object) [ - 'title' => __( 'Reach Attendees', 'tribe-common' ), - 'link' => 'https://evnt.is/1ajc', - 'image' => 'images/shop/extension-advanced-options.jpg', + 'title' => __( 'Reach Attendees', 'tribe-common' ), + 'link' => 'https://evnt.is/1ajc', + 'image' => 'images/shop/extension-advanced-options.jpg', 'description' => __( 'From registration to attendance history, view every step of the event lifecycle with this HubSpot integration.', 'tribe-common' ), ], ]; @@ -308,52 +289,52 @@ private function get_extensions() { private function get_stellar_brands() { $stellar_brands = [ (object) [ - 'image' => 'images/shop/stellar-learndash-cta.jpg', - 'logo' => 'images/shop/stellar-learndash-logo.png', - 'title' => __( 'The online course platform created by e-learning experts.', 'tribe-common' ), - 'link' => 'https://evnt.is/learndash', - 'linktext' => __( 'Add Courses', 'tribe-common' ), + 'image' => 'images/shop/stellar-learndash-cta.jpg', + 'logo' => 'images/shop/stellar-learndash-logo.png', + 'title' => __( 'The online course platform created by e-learning experts.', 'tribe-common' ), + 'link' => 'https://evnt.is/learndash', + 'linktext' => __( 'Add Courses', 'tribe-common' ), 'description' => __( 'Trusted to power learning programs for major universities, startups, entrepreneurs, and bloggers worldwide.', 'tribe-common' ), ], (object) [ - 'image' => 'images/shop/stellar-ithemes-cta.jpg', - 'logo' => 'images/shop/stellar-solidwp-logo.png', - 'title' => __( 'Security, backups, and management — that’s Solid Suite.', 'tribe-common' ), - 'link' => 'https://evnt.is/ithemes', - 'linktext' => __( 'Add Security', 'tribe-common' ), + 'image' => 'images/shop/stellar-ithemes-cta.jpg', + 'logo' => 'images/shop/stellar-solidwp-logo.png', + 'title' => __( 'Security, backups, and management — that’s Solid Suite.', 'tribe-common' ), + 'link' => 'https://evnt.is/ithemes', + 'linktext' => __( 'Add Security', 'tribe-common' ), 'description' => __( 'SolidWP, the seriously solid foundation your WordPress site needs. Built with performance in mind.', 'tribe-common' ), ], (object) [ - 'image' => 'images/shop/stellar-rcp-cta.jpg', - 'logo' => 'images/shop/stellar-rcp-logo.png', - 'title' => __( 'Built with developers in mind.', 'tribe-common' ), - 'link' => 'https://evnt.is/rcp', - 'linktext' => __( 'Add Content Restriction', 'tribe-common' ), + 'image' => 'images/shop/stellar-rcp-cta.jpg', + 'logo' => 'images/shop/stellar-rcp-logo.png', + 'title' => __( 'Built with developers in mind.', 'tribe-common' ), + 'link' => 'https://evnt.is/rcp', + 'linktext' => __( 'Add Content Restriction', 'tribe-common' ), 'description' => __( 'Restrict Content Pro is flexible, easy to extend, and chock full of action hooks and filters, making it easy to modify and tweak to your specific needs.', 'tribe-common' ), ], (object) [ - 'image' => 'images/shop/stellar-kadence-cta.jpg', - 'logo' => 'images/shop/stellar-kadence-logo.png', - 'title' => __( 'Build better WordPress websites with Kadence.', 'tribe-common' ), - 'link' => 'https://evnt.is/kadencewp', - 'linktext' => __( 'Add Starter Templates', 'tribe-common' ), + 'image' => 'images/shop/stellar-kadence-cta.jpg', + 'logo' => 'images/shop/stellar-kadence-logo.png', + 'title' => __( 'Build better WordPress websites with Kadence.', 'tribe-common' ), + 'link' => 'https://evnt.is/kadencewp', + 'linktext' => __( 'Add Starter Templates', 'tribe-common' ), 'description' => __( 'Kadence lets you unlock your creativity in the WordPress Block Editor with expertly designed blocks, a robust theme, and a massive library of starter templates.', 'tribe-common' ), ], (object) [ - 'image' => 'images/shop/stellar-iconic-cta.jpg', - 'logo' => 'images/shop/stellar-iconic-logo.png', - 'title' => __( 'Sales-boosting WooCommerce plugins.', 'tribe-common' ), - 'link' => 'https://evnt.is/iconic', - 'linktext' => __( 'Add Commerce Tools', 'tribe-common' ), + 'image' => 'images/shop/stellar-iconic-cta.jpg', + 'logo' => 'images/shop/stellar-iconic-logo.png', + 'title' => __( 'Sales-boosting WooCommerce plugins.', 'tribe-common' ), + 'link' => 'https://evnt.is/iconic', + 'linktext' => __( 'Add Commerce Tools', 'tribe-common' ), 'description' => __( 'Easy-to-use WooCommerce plugins work perfectly together, with any theme. Create a fast and profitable eCommerce store without any technical knowledge. ', 'tribe-common' ), ], (object) [ - 'image' => 'images/shop/stellar-give-cta.jpg', - 'logo' => 'images/shop/stellar-give-logo.png', - 'title' => __( 'The best WordPress donation plugin.', 'tribe-common' ), - 'link' => 'https://evnt.is/givewp', - 'linktext' => __( 'Add Donations', 'tribe-common' ), + 'image' => 'images/shop/stellar-give-cta.jpg', + 'logo' => 'images/shop/stellar-give-logo.png', + 'title' => __( 'The best WordPress donation plugin.', 'tribe-common' ), + 'link' => 'https://evnt.is/givewp', + 'linktext' => __( 'Add Donations', 'tribe-common' ), 'description' => __( 'GiveWP makes it easy to raise money online with donation forms, donor databases, and fundraising reporting.', 'tribe-common' ), ], ];