diff --git a/VERSION b/VERSION index 92aa628bc..a4cc673ab 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.19.0 \ No newline at end of file +2.20.0 \ No newline at end of file diff --git a/inc/admin-pages/class-payment-edit-admin-page.php b/inc/admin-pages/class-payment-edit-admin-page.php index eb6e542e4..da4f3f87a 100644 --- a/inc/admin-pages/class-payment-edit-admin-page.php +++ b/inc/admin-pages/class-payment-edit-admin-page.php @@ -1559,7 +1559,7 @@ public function handle_save(): bool { * An add-on cart holds only the extras to add to a membership. Paying for it * is not a billing cycle of the membership's plan. * - * @since n.e.x.t + * @since 2.20.0 * * @param \WP_Ultimo\Models\Payment $payment The payment. * @return bool diff --git a/inc/auth/class-passwordless-auth-manager.php b/inc/auth/class-passwordless-auth-manager.php index 2f671b91f..afe247d23 100644 --- a/inc/auth/class-passwordless-auth-manager.php +++ b/inc/auth/class-passwordless-auth-manager.php @@ -229,7 +229,7 @@ public function enqueue_login_assets() { * themes), so the status notices, link-style buttons and hidden states are * styled here instead of relying on them. * - * @since 2.18.1 + * @since 2.20.0 * @return string */ protected function get_inline_css() { @@ -259,7 +259,7 @@ protected function get_inline_css() { * Hides the legacy password form and sizes the fields and buttons to match * the WordPress login screen. * - * @since 2.18.1 + * @since 2.20.0 * @return string */ protected function get_login_inline_css() { @@ -665,7 +665,7 @@ public function ajax_register_verify() { * not reveal which addresses are registered. It still tells the visitor * where the code went, what to do next, and when it expires. * - * @since 2.18.1 + * @since 2.20.0 * @return string */ protected function get_code_sent_message() { diff --git a/inc/class-wp-ultimo.php b/inc/class-wp-ultimo.php index 3b84e45bf..d718fd376 100644 --- a/inc/class-wp-ultimo.php +++ b/inc/class-wp-ultimo.php @@ -31,7 +31,7 @@ final class WP_Ultimo { * @since 2.1.0 * @var string */ - const VERSION = '2.19.0'; + const VERSION = '2.20.0'; /** * Core log handle for Ultimate Multisite. diff --git a/inc/gateways/class-base-stripe-gateway.php b/inc/gateways/class-base-stripe-gateway.php index 3161b8bca..2365bbba6 100644 --- a/inc/gateways/class-base-stripe-gateway.php +++ b/inc/gateways/class-base-stripe-gateway.php @@ -843,7 +843,7 @@ public function get_change_payment_method_url($membership) { * percent-encoded octets such as those in non-ASCII slugs. esc_url_raw() * keeps them. Callers must still validate the result with wp_validate_redirect(). * - * @since n.e.x.t + * @since 2.20.0 * @return string The requested URL, or an empty string. */ private function get_requested_return_url(): string { diff --git a/inc/managers/class-site-manager.php b/inc/managers/class-site-manager.php index b5011d508..546714ea6 100644 --- a/inc/managers/class-site-manager.php +++ b/inc/managers/class-site-manager.php @@ -1347,7 +1347,7 @@ protected function is_frontend_my_sites_toolbar_request($backtrace = null) { * When that site is a valid, active membership, the primary site alone gives the * same result without enumerating every site. * - * @since 2.19.1 + * @since 2.20.0 * @param array|null $backtrace Call stack override used by tests. * @return bool */ @@ -1374,7 +1374,7 @@ protected function is_my_sites_toolbar_active_blog_request($backtrace = null) { /** * Checks whether the request can render an authenticated toolbar. * - * @since 2.19.1 + * @since 2.20.0 * @return bool */ protected function is_my_sites_toolbar_render_context() { @@ -1392,7 +1392,7 @@ protected function is_my_sites_toolbar_render_context() { /** * Checks whether a backtrace frame is WP_Admin_Bar::initialize(). * - * @since 2.19.1 + * @since 2.20.0 * @param array $frame Backtrace frame. * @return bool */ @@ -1415,7 +1415,7 @@ protected function is_admin_bar_initialize_frame($frame) { * unless the primary site is a valid, active membership, so WordPress can still * repair an invalid primary_blog value from the complete list. * - * @since 2.19.1 + * @since 2.20.0 * @param int $user_id User ID. * @param bool $primary_only Whether to use only the primary site. * @return object[] @@ -1465,7 +1465,7 @@ protected function get_primary_site_for_my_sites_toolbar($user_id, $primary_only /** * Formats a site like an entry returned by get_blogs_of_user(). * - * @since 2.19.1 + * @since 2.20.0 * @param \WP_Site $site Site object. * @return object */ @@ -1492,7 +1492,7 @@ protected function get_my_sites_toolbar_site_entry($site) { * This retains its current-site navigation while the controller fetches bounded * pages only after the user opens the menu. * - * @since 2.19.1 + * @since 2.20.0 * @param \WP_Admin_Bar $wp_admin_bar The admin bar instance. * @return void */ @@ -1521,7 +1521,7 @@ public function add_lazy_my_sites_toolbar_controls(\WP_Admin_Bar $wp_admin_bar): /** * Enqueue the controller only on requests which render an authenticated toolbar. * - * @since 2.19.1 + * @since 2.20.0 * @return void */ public function enqueue_my_sites_toolbar_script(): void { @@ -1563,7 +1563,7 @@ public function enqueue_my_sites_toolbar_script(): void { /** * Returns a bounded, authorized page of My Sites toolbar entries. * - * @since 2.19.1 + * @since 2.20.0 * @return void */ public function get_my_sites_toolbar_page(): void { @@ -1584,7 +1584,7 @@ public function get_my_sites_toolbar_page(): void { /** * Gets a bounded page of sites and the toolbar links allowed for each site. * - * @since 2.19.1 + * @since 2.20.0 * @param int $user_id The authenticated user ID. * @param int $page The one-based page number. * @return array{sites: array>, has_more: bool, next_page: int} @@ -1665,7 +1665,7 @@ protected function get_my_sites_toolbar_page_data($user_id, $page) { /** * Extracts the site IDs from the user's multisite capability metadata. * - * @since 2.19.1 + * @since 2.20.0 * @param int $user_id User ID. * @return int[] */ @@ -1703,7 +1703,7 @@ protected function get_my_sites_toolbar_site_ids($user_id) { /** * Builds the links which WordPress normally creates after switching to a site. * - * @since 2.19.1 + * @since 2.20.0 * @param int $site_id Site ID. * @param string $blogname Filtered site name. * @return array|false diff --git a/inc/ui/class-site-actions-element.php b/inc/ui/class-site-actions-element.php index c05ede961..211d6add9 100644 --- a/inc/ui/class-site-actions-element.php +++ b/inc/ui/class-site-actions-element.php @@ -461,7 +461,7 @@ public function get_actions($atts) { * A page with its own query string would otherwise leak that string into * the form link and lose everything after the first "&" on the way back. * - * @since n.e.x.t + * @since 2.20.0 * @return string */ private function get_encoded_current_url(): string { diff --git a/package.json b/package.json index 5040a3137..10551a628 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "version": "2.19.0", + "version": "2.20.0", "name": "ultimate-multisite", "title": "Ultimate Multisite", "homepage": "https://ultimatemultisite.com/", diff --git a/readme.txt b/readme.txt index 77a8175ec..fd9d21808 100644 --- a/readme.txt +++ b/readme.txt @@ -5,7 +5,7 @@ Tags: multisite, domain mapping, wordpress multisite, multisite saas, waas Requires at least: 5.3 Requires PHP: 8.2 Tested up to: 7.1 -Stable tag: 2.19.0 +Stable tag: 2.20.0 License: GPLv2 License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -252,6 +252,19 @@ No personal data, domains, IP addresses, or payment information are collected. == Changelog == += 2.20.0 = +Version [2.20.0] - Released on 2026-11-21 +- New: Domain mapping instructions cover root and www records, conflicting records, Cloudflare, and DNS and SSL propagation, and a new Recommended DNS Target setting with a %DNS_TARGET% placeholder sets the hostname customers point their domains to. +- Fix: Billing address and edit site forms in the customer account check that the customer owns the record before showing its details. +- Fix: Stale or mistyped cancel, resubscribe, and delete site links show a message instead of a critical error. +- Fix: Confirming a manual payment reactivates a cancelled or expired membership properly, clearing its cancellation date, and a manually paid upgrade moves the membership to the Manual gateway. +- Fix: Confirming a manual add-on payment activates the membership without extending the plan's billing period or bill count, and the Activate Membership option only appears when it can take effect. +- Fix: Change payment method, cancel, and resubscribe links keep the account page's own query string, and the Stripe Billing Portal returns customers to the page they came from. +- Fix: WooCommerce Subscriptions staging mode is reset after a new site finishes initializing instead of before its tables exist. +- Improved: The front-end account shortcodes and blocks work together on a main-site customer account page, with sign-in, site selection, and recovery states in the account summary, reliable email changes, validated primary site choices, and a Resubscribe link that opens the existing membership's checkout with the previous plan selected. +- Improved: The My Sites toolbar loads your sites when the menu is opened instead of preparing every site on each request, so the "Optimize the front-end My Sites toolbar" setting is removed. +- Improved: The email login code step is clearer, and the login page is simpler, with a narrow bordered card and password links after the email field. + = 2.19.0 = Version [2.19.0] - Released on 2026-11-19 - New: Checkout supports passwordless onboarding, and account email links stay on the signup site. diff --git a/ultimate-multisite.php b/ultimate-multisite.php index 921a3cd98..196ac7288 100644 --- a/ultimate-multisite.php +++ b/ultimate-multisite.php @@ -3,7 +3,7 @@ * Plugin Name: Ultimate Multisite * Plugin URI: https://ultimatemultisite.com * Description: Ultimate Multisite is a WordPress Multisite plugin that turns your network into a complete Website-as-a-Service (WaaS) platform with subscriptions, site provisioning, domain mapping, and customer management. Formerly WP Ultimo. - * Version: 2.19.0 + * Version: 2.20.0 * Author: Ultimate Multisite Community * Author URI: https://ultimatemultisite.com * License: GPLv2 or later @@ -65,7 +65,7 @@ define('WP_ULTIMO_PLUGIN_FILE', __FILE__); } if ( ! defined('WP_ULTIMO_VERSION')) { - define('WP_ULTIMO_VERSION', '2.19.0'); + define('WP_ULTIMO_VERSION', '2.20.0'); } if ( ! defined('MULTISITE_ULTIMATE_UPDATE_URL')) { define('MULTISITE_ULTIMATE_UPDATE_URL', 'https://ultimatemultisite.com/'); diff --git a/views/dashboard-widgets/account-summary-empty.php b/views/dashboard-widgets/account-summary-empty.php index 70da0a5a9..e73577d3f 100644 --- a/views/dashboard-widgets/account-summary-empty.php +++ b/views/dashboard-widgets/account-summary-empty.php @@ -4,7 +4,7 @@ * * @package WP_Ultimo * @subpackage Views - * @since n.e.x.t + * @since 2.20.0 */ defined('ABSPATH') || exit;