Rename in more places

This commit is contained in:
David Stone
2024-12-07 00:09:47 -07:00
parent 9574984471
commit 450931b405
199 changed files with 535 additions and 572 deletions

View File

@ -116,8 +116,8 @@ class Checkout_Pages {
<div class="misc-pub-section misc-pub-section-last" style="margin-top: 12px; margin-bottom: 6px; display: flex; align-items: center;">
<label for="wu-compat-mode">
<span style="display: block; font-weight: 600; margin-bottom: 3px;"><?php _e('WP Ultimo Compatibility Mode', 'wp-ultimo'); ?></span>
<small style="display: block; line-height: 1.8em;"><?php _e('Toggle this option on if WP Ultimo elements are not loading correctly or at all.', 'wp-ultimo'); ?></small>
<span style="display: block; font-weight: 600; margin-bottom: 3px;"><?php _e('WP Multisite WaaS Compatibility Mode', 'wp-ultimo'); ?></span>
<small style="display: block; line-height: 1.8em;"><?php _e('Toggle this option on if WP Multisite WaaS elements are not loading correctly or at all.', 'wp-ultimo'); ?></small>
</label>
<div style="margin-left: 6px;">
<input id="wu-compat-mode" type="checkbox" value="1" <?php checked($value, true, true); ?> name="_wu_force_elements_loading" />
@ -629,7 +629,7 @@ class Checkout_Pages {
} // end filter_login_url;
/**
* Returns the ID of the pages being used for each WP Ultimo purpose.
* Returns the ID of the pages being used for each WP Multisite WaaS purpose.
*
* @since 2.0.0
* @return array
@ -691,7 +691,7 @@ class Checkout_Pages {
} // end get_page_url;
/**
* Tags the WP Ultimo pages on the main site.
* Tags the WP Multisite WaaS pages on the main site.
*
* @since 2.0.0
*
@ -708,11 +708,11 @@ class Checkout_Pages {
} // end if;
$labels = array(
'register' => __('WP Ultimo - Register Page', 'wp-ultimo'),
'login' => __('WP Ultimo - Login Page', 'wp-ultimo'),
'block_frontend' => __('WP Ultimo - Site Blocked Page', 'wp-ultimo'),
'update' => __('WP Ultimo - Membership Update Page', 'wp-ultimo'),
'new_site' => __('WP Ultimo - New Site Page', 'wp-ultimo'),
'register' => __('WP Multisite WaaS - Register Page', 'wp-ultimo'),
'login' => __('WP Multisite WaaS - Login Page', 'wp-ultimo'),
'block_frontend' => __('WP Multisite WaaS - Site Blocked Page', 'wp-ultimo'),
'update' => __('WP Multisite WaaS - Membership Update Page', 'wp-ultimo'),
'new_site' => __('WP Multisite WaaS - New Site Page', 'wp-ultimo'),
);
$pages = array_map('absint', $this->get_signup_pages());

View File

@ -1196,7 +1196,7 @@ class Checkout {
*
* @since 2.0.0
* @param array $meta_repository The list of meta fields, key => value structured.
* @param Customer $customer The WP Ultimo customer object.
* @param Customer $customer The WP Multisite WaaS customer object.
* @param Checkout $this The checkout class.
*/
do_action('wu_handle_customer_meta_fields', $meta_repository, $customer, $this);
@ -1230,7 +1230,7 @@ class Checkout {
* @since 2.0.4
* @param array $meta_repository The list of meta fields, key => value structured.
* @param \WP_User $user The WordPress user object.
* @param Customer $customer The WP Ultimo customer object.
* @param Customer $customer The WP Multisite WaaS customer object.
* @param Checkout $this The checkout class.
*/
do_action('wu_handle_user_meta_fields', $user_meta_repository, $user, $customer, $this);
@ -2089,7 +2089,7 @@ class Checkout {
/*
* Checks if we are in the last step.
*
* WP Ultimo supports multi-step checkout
* WP Multisite WaaS supports multi-step checkout
* flows. That means that we do different
* things on the intermediary steps (mostly
* add things to the session) and on the final,
@ -2295,7 +2295,7 @@ class Checkout {
*
* The gateway takes in the info about the transaction
* and perform the necessary steps to make sure the
* data on the gateway correctly reflects the data on WP Ultimo.
* data on the gateway correctly reflects the data on WP Multisite WaaS.
*/
$status = $gateway->process_checkout($payment, $membership, $customer, $this->order, $type);

View File

@ -95,7 +95,7 @@ class Legacy_Checkout {
$this->session = wu_get_session('signup');
$this->templates = array(
'signup-main.php' => __('WP Ultimo Legacy Signup', 'wp-ultimo'),
'signup-main.php' => __('WP Multisite WaaS Legacy Signup', 'wp-ultimo'),
);
// add_filter('request', array($this, 'maybe_render_legacy_signup'));
@ -1240,7 +1240,7 @@ class Legacy_Checkout {
*
* @since 1.7.2
* @param string Default domain being used right now, useful for manipulations
* @param array List of all the domain options entered in the WP Ultimo Settings -> Network Settings -> Domain Options
* @param array List of all the domain options entered in the WP Multisite WaaS Settings -> Network Settings -> Domain Options
* @return string New domain to be used
*/
return apply_filters('get_site_url_for_previewer', $domain, $domain_options); // phpcs:ignore

View File

@ -68,7 +68,7 @@ class Signup_Field_Shortcode extends Base_Signup_Field {
*/
public function get_description() {
return __('Displays the content of a given WordPress shortcode. Can be useful to inset content from other plugins inside a WP Ultimo checkout form.', 'wp-ultimo');
return __('Displays the content of a given WordPress shortcode. Can be useful to inset content from other plugins inside a WP Multisite WaaS checkout form.', 'wp-ultimo');
} // end get_description;
@ -82,7 +82,7 @@ class Signup_Field_Shortcode extends Base_Signup_Field {
*/
public function get_tooltip() {
return __('Displays the content of a given WordPress shortcode. Can be useful to insert content from other plugins inside a WP Ultimo checkout form.', 'wp-ultimo');
return __('Displays the content of a given WordPress shortcode. Can be useful to insert content from other plugins inside a WP Multisite WaaS checkout form.', 'wp-ultimo');
} // end get_tooltip;
/**

View File

@ -79,7 +79,7 @@ class Legacy_Period_Selection_Field_Template extends Base_Field_Template {
*/
public function get_description() {
return __('Implementation of the layout that shipped with WP Ultimo < 1.10.X.', 'wp-ultimo');
return __('Implementation of the layout that shipped with WP Multisite WaaS < 1.10.X.', 'wp-ultimo');
} // end get_description;