', __('Loading...', 'wp-multisite-waas')),
'wrapper_html_attr' => [
'v-if' => 0,
],
@@ -535,7 +535,7 @@ abstract class Edit_Admin_Page extends Base_Admin_Page {
'widget_id' => $id,
'before' => '',
'after' => '',
- 'title' => __('Tabs', 'wp-ultimo'),
+ 'title' => __('Tabs', 'wp-multisite-waas'),
'position' => 'advanced',
'screen' => get_current_screen(),
'sections' => [],
@@ -651,7 +651,7 @@ abstract class Edit_Admin_Page extends Base_Admin_Page {
'widget_id' => $id,
'before' => '',
'after' => '',
- 'title' => __('Fields', 'wp-ultimo'),
+ 'title' => __('Fields', 'wp-multisite-waas'),
'screen' => get_current_screen(),
'position' => 'side',
'display' => '__return_empty_string',
@@ -674,7 +674,7 @@ abstract class Edit_Admin_Page extends Base_Admin_Page {
$labels = $this->get_labels();
- $atts['title'] = __('Save', 'wp-ultimo');
+ $atts['title'] = __('Save', 'wp-multisite-waas');
/**
* Adds Submit Button
@@ -694,7 +694,7 @@ abstract class Edit_Admin_Page extends Base_Admin_Page {
}
if ($this->get_object() && $this->edit && $this->get_object()->is_locked()) {
- $atts['fields']['submit_save']['title'] = __('Locked', 'wp-ultimo');
+ $atts['fields']['submit_save']['title'] = __('Locked', 'wp-multisite-waas');
$atts['fields']['submit_save']['value'] = 'none';
$atts['fields']['submit_save']['html_attr']['disabled'] = 'disabled';
}
@@ -716,7 +716,7 @@ abstract class Edit_Admin_Page extends Base_Admin_Page {
$labels = $this->get_labels();
$atts_default = [
- 'title' => __('Delete', 'wp-ultimo'),
+ 'title' => __('Delete', 'wp-multisite-waas'),
'position' => 'side-bottom',
];
$atts = array_merge($atts_default, $atts);
diff --git a/inc/admin-pages/class-email-edit-admin-page.php b/inc/admin-pages/class-email-edit-admin-page.php
index d8ef1a6..a4b6787 100644
--- a/inc/admin-pages/class-email-edit-admin-page.php
+++ b/inc/admin-pages/class-email-edit-admin-page.php
@@ -124,10 +124,10 @@ class Email_Edit_Admin_Page extends Edit_Admin_Page {
$object = $this->get_object();
// translators: %s is replaced with the number of days.
- $days_text = sprintf(__('Send %s day(s) after the event.', 'wp-ultimo'), '{{ days }}');
+ $days_text = sprintf(__('Send %s day(s) after the event.', 'wp-multisite-waas'), '{{ days }}');
// translators: %1$s is replaced with the number of hours, %2$s is replaced with the number of minutes.
- $hour_text = sprintf(__('Send %1$s hour(s) and %2$s minute(s) after the event.', 'wp-ultimo'), '{{ hours.split(":").shift() }}', '{{ hours.split(":").pop() }}');
+ $hour_text = sprintf(__('Send %1$s hour(s) and %2$s minute(s) after the event.', 'wp-multisite-waas'), '{{ hours.split(":").shift() }}', '{{ hours.split(":").pop() }}');
$desc = sprintf(
'%s
@@ -155,8 +155,8 @@ class Email_Edit_Admin_Page extends Edit_Admin_Page {
'fields' => [
'slug' => [
'type' => 'text',
- 'title' => __('Slug', 'wp-ultimo'),
- 'desc' => __('An unique identifier for this system email.', 'wp-ultimo'),
+ 'title' => __('Slug', 'wp-multisite-waas'),
+ 'desc' => __('An unique identifier for this system email.', 'wp-multisite-waas'),
'value' => $this->edit ? $object->get_slug() : '',
'html_attr' => [
'required' => 'required',
@@ -166,9 +166,9 @@ class Email_Edit_Admin_Page extends Edit_Admin_Page {
],
'event' => [
'type' => 'select',
- 'title' => __('Event', 'wp-ultimo'),
- 'desc' => __('The event that will trigger the sending of this email.', 'wp-ultimo'),
- 'placeholder' => __('Event', 'wp-ultimo'),
+ 'title' => __('Event', 'wp-multisite-waas'),
+ 'desc' => __('The event that will trigger the sending of this email.', 'wp-multisite-waas'),
+ 'placeholder' => __('Event', 'wp-multisite-waas'),
'options' => 'wu_get_event_types_as_options',
'value' => $this->edit ? $object->get_event() : 0,
'html_attr' => [
@@ -177,13 +177,13 @@ class Email_Edit_Admin_Page extends Edit_Admin_Page {
],
'target' => [
'type' => 'select',
- 'title' => __('Target', 'wp-ultimo'),
- 'desc' => __('To whom this email should be sent.', 'wp-ultimo'),
- 'placeholder' => __('Network Administrators', 'wp-ultimo'),
+ 'title' => __('Target', 'wp-multisite-waas'),
+ 'desc' => __('To whom this email should be sent.', 'wp-multisite-waas'),
+ 'placeholder' => __('Network Administrators', 'wp-multisite-waas'),
'value' => $this->edit ? $object->get_target() : 'admin',
'options' => [
- 'admin' => __('Network Administrators', 'wp-ultimo'),
- 'customer' => __('Customer', 'wp-ultimo'),
+ 'admin' => __('Network Administrators', 'wp-multisite-waas'),
+ 'customer' => __('Customer', 'wp-multisite-waas'),
],
'html_attr' => [
'v-model' => 'target',
@@ -191,8 +191,8 @@ class Email_Edit_Admin_Page extends Edit_Admin_Page {
],
'send_copy_to_admin' => [
'type' => 'toggle',
- 'title' => __('Send Copy to Admins?', 'wp-ultimo'),
- 'desc' => __('Checking this options will add the network admins as bcc every time this email is sent to a customer.', 'wp-ultimo'),
+ 'title' => __('Send Copy to Admins?', 'wp-multisite-waas'),
+ 'desc' => __('Checking this options will add the network admins as bcc every time this email is sent to a customer.', 'wp-multisite-waas'),
'value' => $this->edit ? $object->get_send_copy_to_admin() : false,
'wrapper_html_attr' => [
'v-show' => 'target == "customer"',
@@ -201,8 +201,8 @@ class Email_Edit_Admin_Page extends Edit_Admin_Page {
],
'schedule' => [
'type' => 'toggle',
- 'title' => __('Schedule?', 'wp-ultimo'),
- 'desc' => __('You can define when the email is sent after the event triggers.', 'wp-ultimo'),
+ 'title' => __('Schedule?', 'wp-multisite-waas'),
+ 'desc' => __('You can define when the email is sent after the event triggers.', 'wp-multisite-waas'),
'value' => $this->edit ? $this->get_object()->has_schedule() : 0,
'html_attr' => [
'v-model' => 'schedule',
@@ -210,8 +210,8 @@ class Email_Edit_Admin_Page extends Edit_Admin_Page {
],
'send_date' => [
'type' => 'group',
- 'title' => __('Scheduling Options', 'wp-ultimo'),
- 'tooltip' => __('When this email will be sent after the event?', 'wp-ultimo'),
+ 'title' => __('Scheduling Options', 'wp-multisite-waas'),
+ 'tooltip' => __('When this email will be sent after the event?', 'wp-multisite-waas'),
'desc' => $desc,
'desc_id' => 'send_date_desc',
'wrapper_html_attr' => [
@@ -225,8 +225,8 @@ class Email_Edit_Admin_Page extends Edit_Admin_Page {
'wrapper_classes' => 'wu-w-2/3',
'value' => $this->edit ? $object->get_schedule_type() : 'days',
'options' => [
- 'hours' => __('Delay for hours', 'wp-ultimo'),
- 'days' => __('Delay for days', 'wp-ultimo'),
+ 'hours' => __('Delay for hours', 'wp-multisite-waas'),
+ 'days' => __('Delay for days', 'wp-multisite-waas'),
],
'html_attr' => [
'v-model' => 'schedule_type',
@@ -271,17 +271,17 @@ class Email_Edit_Admin_Page extends Edit_Admin_Page {
]
);
- add_meta_box('wp-ultimo-placeholders', __('Placeholders', 'wp-ultimo'), [$this, 'output_default_widget_placeholders'], get_current_screen()->id, 'normal', null, []);
+ add_meta_box('wp-ultimo-placeholders', __('Placeholders', 'wp-multisite-waas'), [$this, 'output_default_widget_placeholders'], get_current_screen()->id, 'normal', null, []);
$this->add_fields_widget(
'active',
[
- 'title' => __('Active', 'wp-ultimo'),
+ 'title' => __('Active', 'wp-multisite-waas'),
'fields' => [
'active' => [
'type' => 'toggle',
- 'title' => __('Active', 'wp-ultimo'),
- 'desc' => __('Use this option to manually enable or disable this email.', 'wp-ultimo'),
+ 'title' => __('Active', 'wp-multisite-waas'),
+ 'desc' => __('Use this option to manually enable or disable this email.', 'wp-multisite-waas'),
'value' => $this->get_object()->is_active(),
],
],
@@ -291,40 +291,40 @@ class Email_Edit_Admin_Page extends Edit_Admin_Page {
$this->add_tabs_widget(
'email_edit_options',
[
- 'title' => __('Advanced Options', 'wp-ultimo'),
+ 'title' => __('Advanced Options', 'wp-multisite-waas'),
'position' => 'normal',
'sections' => [
'general' => [
- 'title' => __('General', 'wp-ultimo'),
+ 'title' => __('General', 'wp-multisite-waas'),
'icon' => 'dashicons-wu-lock',
- 'desc' => __('Rules and limitations to the applicability of this discount code.', 'wp-ultimo'),
+ 'desc' => __('Rules and limitations to the applicability of this discount code.', 'wp-multisite-waas'),
'state' => [
'sender' => $this->edit ? $object->get_custom_sender() : 0,
],
'fields' => [
'style' => [
'type' => 'select',
- 'title' => __('Email Style', 'wp-ultimo'),
- 'desc' => __('Choose if email body will be sent using the HTML template or in plain text.', 'wp-ultimo'),
- 'placeholder' => __('Style', 'wp-ultimo'),
+ 'title' => __('Email Style', 'wp-multisite-waas'),
+ 'desc' => __('Choose if email body will be sent using the HTML template or in plain text.', 'wp-multisite-waas'),
+ 'placeholder' => __('Style', 'wp-multisite-waas'),
'options' => [
- 'default' => __('Use Default', 'wp-ultimo'),
- 'html' => __('HTML Emails', 'wp-ultimo'),
- 'plain' => __('Plain Emails', 'wp-ultimo'),
+ 'default' => __('Use Default', 'wp-multisite-waas'),
+ 'html' => __('HTML Emails', 'wp-multisite-waas'),
+ 'plain' => __('Plain Emails', 'wp-multisite-waas'),
],
'value' => $this->edit ? $object->get_style() : 'html',
],
],
],
'sender' => [
- 'title' => __('Custom Sender', 'wp-ultimo'),
+ 'title' => __('Custom Sender', 'wp-multisite-waas'),
'icon' => 'dashicons-wu-mail',
- 'desc' => __('You can define an email and a name that will only be used when this email is sent.', 'wp-ultimo'),
+ 'desc' => __('You can define an email and a name that will only be used when this email is sent.', 'wp-multisite-waas'),
'fields' => [
'custom_sender' => [
'type' => 'toggle',
- 'title' => __('Use a custom sender?', 'wp-ultimo'),
- 'desc' => __('You can define an email and a name that will only be used when this email is sent.', 'wp-ultimo'),
+ 'title' => __('Use a custom sender?', 'wp-multisite-waas'),
+ 'desc' => __('You can define an email and a name that will only be used when this email is sent.', 'wp-multisite-waas'),
'value' => $this->edit ? $object->get_custom_sender() : 0,
'html_attr' => [
'v-model' => 'sender',
@@ -332,8 +332,8 @@ class Email_Edit_Admin_Page extends Edit_Admin_Page {
],
'custom_sender_name' => [
'type' => 'text',
- 'title' => __('From "Name"', 'wp-ultimo'),
- 'desc' => __('Override the global from name for this particular email.', 'wp-ultimo'),
+ 'title' => __('From "Name"', 'wp-multisite-waas'),
+ 'desc' => __('Override the global from name for this particular email.', 'wp-multisite-waas'),
'wrapper_classes' => 'wu-full',
'value' => $this->edit ? $object->get_custom_sender_name() : '',
'wrapper_html_attr' => [
@@ -343,8 +343,8 @@ class Email_Edit_Admin_Page extends Edit_Admin_Page {
],
'custom_sender_email' => [
'type' => 'email',
- 'title' => __('From "Email"', 'wp-ultimo'),
- 'desc' => __('Override the global from email for this particular email.', 'wp-ultimo'),
+ 'title' => __('From "Email"', 'wp-multisite-waas'),
+ 'desc' => __('Override the global from email for this particular email.', 'wp-multisite-waas'),
'wrapper_classes' => 'wu-full',
'value' => $this->edit ? $object->get_custom_sender_email() : '',
'wrapper_html_attr' => [
@@ -373,8 +373,8 @@ class Email_Edit_Admin_Page extends Edit_Admin_Page {
wu_get_template(
'email/widget-placeholders',
[
- 'title' => __('Event Payload', 'wp-ultimo'),
- 'loading_text' => __('Loading Payload', 'wp-ultimo'),
+ 'title' => __('Event Payload', 'wp-multisite-waas'),
+ 'loading_text' => __('Loading Payload', 'wp-multisite-waas'),
]
);
}
@@ -387,7 +387,7 @@ class Email_Edit_Admin_Page extends Edit_Admin_Page {
*/
public function get_title() {
- return $this->edit ? __('Edit Email', 'wp-ultimo') : __('Add new Email', 'wp-ultimo');
+ return $this->edit ? __('Edit Email', 'wp-multisite-waas') : __('Add new Email', 'wp-multisite-waas');
}
/**
@@ -398,7 +398,7 @@ class Email_Edit_Admin_Page extends Edit_Admin_Page {
*/
public function get_menu_title() {
- return __('Edit Email', 'wp-ultimo');
+ return __('Edit Email', 'wp-multisite-waas');
}
/**
@@ -420,12 +420,12 @@ class Email_Edit_Admin_Page extends Edit_Admin_Page {
return [
[
'url' => wu_network_admin_url('wp-ultimo-emails'),
- 'label' => __('Go Back', 'wp-ultimo'),
+ 'label' => __('Go Back', 'wp-multisite-waas'),
'icon' => 'wu-reply',
],
[
'url' => $send_test_link,
- 'label' => __('Send Test Email', 'wp-ultimo'),
+ 'label' => __('Send Test Email', 'wp-multisite-waas'),
'icon' => 'wu-mail',
'classes' => 'wubox',
],
@@ -441,15 +441,15 @@ class Email_Edit_Admin_Page extends Edit_Admin_Page {
public function get_labels() {
return [
- 'edit_label' => __('Edit Email', 'wp-ultimo'),
- 'add_new_label' => __('Add new Email', 'wp-ultimo'),
- 'updated_message' => __('Email updated with success!', 'wp-ultimo'),
- 'title_placeholder' => __('Enter Email Subject', 'wp-ultimo'),
- 'title_description' => __('This will be used as the email subject line.', 'wp-ultimo'),
- 'save_button_label' => __('Save Email', 'wp-ultimo'),
+ 'edit_label' => __('Edit Email', 'wp-multisite-waas'),
+ 'add_new_label' => __('Add new Email', 'wp-multisite-waas'),
+ 'updated_message' => __('Email updated with success!', 'wp-multisite-waas'),
+ 'title_placeholder' => __('Enter Email Subject', 'wp-multisite-waas'),
+ 'title_description' => __('This will be used as the email subject line.', 'wp-multisite-waas'),
+ 'save_button_label' => __('Save Email', 'wp-multisite-waas'),
'save_description' => '',
- 'delete_button_label' => __('Delete Email', 'wp-ultimo'),
- 'delete_description' => __('Be careful. This action is irreversible.', 'wp-ultimo'),
+ 'delete_button_label' => __('Delete Email', 'wp-multisite-waas'),
+ 'delete_description' => __('Be careful. This action is irreversible.', 'wp-multisite-waas'),
];
}
diff --git a/inc/admin-pages/class-email-list-admin-page.php b/inc/admin-pages/class-email-list-admin-page.php
index c4a5f8d..2852cdb 100644
--- a/inc/admin-pages/class-email-list-admin-page.php
+++ b/inc/admin-pages/class-email-list-admin-page.php
@@ -102,7 +102,7 @@ class Email_List_Admin_Page extends List_Admin_Page {
*/
public function get_title() {
- return __('System Emails', 'wp-ultimo');
+ return __('System Emails', 'wp-multisite-waas');
}
/**
@@ -113,7 +113,7 @@ class Email_List_Admin_Page extends List_Admin_Page {
*/
public function get_menu_title() {
- return __('System Emails', 'wp-ultimo');
+ return __('System Emails', 'wp-multisite-waas');
}
/**
@@ -124,7 +124,7 @@ class Email_List_Admin_Page extends List_Admin_Page {
*/
public function get_submenu_title() {
- return __('System Emails', 'wp-ultimo');
+ return __('System Emails', 'wp-multisite-waas');
}
/**
@@ -182,9 +182,9 @@ class Email_List_Admin_Page extends List_Admin_Page {
$fields = [
'send_to' => [
'type' => 'email',
- 'title' => __('Send To', 'wp-ultimo'),
- 'placeholder' => __('E.g. network@email.com', 'wp-ultimo'),
- 'desc' => __('The test email will be sent to the above email address.', 'wp-ultimo'),
+ 'title' => __('Send To', 'wp-multisite-waas'),
+ 'placeholder' => __('E.g. network@email.com', 'wp-multisite-waas'),
+ 'desc' => __('The test email will be sent to the above email address.', 'wp-multisite-waas'),
'value' => get_network_option(null, 'admin_email'),
'html_attr' => [
'required' => 'required',
@@ -200,7 +200,7 @@ class Email_List_Admin_Page extends List_Admin_Page {
],
'submit_button' => [
'type' => 'submit',
- 'title' => __('Send Test Email', 'wp-ultimo'),
+ 'title' => __('Send Test Email', 'wp-multisite-waas'),
'value' => 'save',
'classes' => 'button button-primary wu-w-full',
'wrapper_classes' => 'wu-items-end wu-text-right',
@@ -236,7 +236,7 @@ class Email_List_Admin_Page extends List_Admin_Page {
$send_to = wu_request('send_to');
if ( ! $email_id || ! $send_to) {
- $error = new \WP_Error('error', __('Something wrong happened.', 'wp-ultimo'));
+ $error = new \WP_Error('error', __('Something wrong happened.', 'wp-multisite-waas'));
wp_send_json_error($error);
}
@@ -275,7 +275,7 @@ class Email_List_Admin_Page extends List_Admin_Page {
$send_mail = wu_send_mail($from, $to, $args);
if ( ! $send_mail) {
- $error = new \WP_Error('error', __('Something wrong happened with your test.', 'wp-ultimo'));
+ $error = new \WP_Error('error', __('Something wrong happened with your test.', 'wp-multisite-waas'));
wp_send_json_error($error);
}
@@ -289,7 +289,7 @@ class Email_List_Admin_Page extends List_Admin_Page {
'wp-ultimo-edit-email',
[
'id' => $email_id,
- 'test_notice' => __('Test sent successfully', 'wp-ultimo'),
+ 'test_notice' => __('Test sent successfully', 'wp-multisite-waas'),
]
),
]
@@ -303,7 +303,7 @@ class Email_List_Admin_Page extends List_Admin_Page {
'redirect_url' => wu_network_admin_url(
'wp-ultimo-emails',
[
- 'notice' => __('Test sent successfully', 'wp-ultimo'),
+ 'notice' => __('Test sent successfully', 'wp-multisite-waas'),
]
),
]
@@ -326,8 +326,8 @@ class Email_List_Admin_Page extends List_Admin_Page {
$fields = [
'reset_emails' => [
'type' => 'toggle',
- 'title' => __('Reset System Emails ', 'wp-ultimo'),
- 'desc' => __('Restore the system emails to their original content.', 'wp-ultimo'),
+ 'title' => __('Reset System Emails ', 'wp-multisite-waas'),
+ 'desc' => __('Restore the system emails to their original content.', 'wp-multisite-waas'),
'tooltip' => '',
'value' => 0,
'html_attr' => [
@@ -339,7 +339,7 @@ class Email_List_Admin_Page extends List_Admin_Page {
$fields['reset_note'] = [
'type' => 'note',
'title' => '',
- 'desc' => __('No emails to reset.', 'wp-ultimo'),
+ 'desc' => __('No emails to reset.', 'wp-multisite-waas'),
'tooltip' => '',
'value' => 0,
'wrapper_html_attr' => [
@@ -379,8 +379,8 @@ class Email_List_Admin_Page extends List_Admin_Page {
$fields['import_emails'] = [
'type' => 'toggle',
- 'title' => __('Import System Emails', 'wp-ultimo'),
- 'desc' => __('Add new system emails based on WP Multisite WaaS presets.', 'wp-ultimo'),
+ 'title' => __('Import System Emails', 'wp-multisite-waas'),
+ 'desc' => __('Add new system emails based on WP Multisite WaaS presets.', 'wp-multisite-waas'),
'tooltip' => '',
'value' => 0,
'html_attr' => [
@@ -391,7 +391,7 @@ class Email_List_Admin_Page extends List_Admin_Page {
$fields['import_note'] = [
'type' => 'note',
'title' => '',
- 'desc' => __('All emails are already present.', 'wp-ultimo'),
+ 'desc' => __('All emails are already present.', 'wp-multisite-waas'),
'tooltip' => '',
'value' => 0,
'wrapper_html_attr' => [
@@ -429,7 +429,7 @@ class Email_List_Admin_Page extends List_Admin_Page {
$fields['submit_button'] = [
'type' => 'submit',
- 'title' => __('Reset and/or Import', 'wp-ultimo'),
+ 'title' => __('Reset and/or Import', 'wp-multisite-waas'),
'value' => 'save',
'classes' => 'button button-primary wu-w-full',
'wrapper_classes' => 'wu-items-end wu-text-right',
@@ -543,8 +543,8 @@ class Email_List_Admin_Page extends List_Admin_Page {
$fields = [
'single_reset' => [
'type' => 'toggle',
- 'title' => __('Confirm Reset', 'wp-ultimo'),
- 'desc' => __('This action can not be undone.', 'wp-ultimo'),
+ 'title' => __('Confirm Reset', 'wp-multisite-waas'),
+ 'desc' => __('This action can not be undone.', 'wp-multisite-waas'),
'default' => 0,
'html_attr' => [
'required' => 'required',
@@ -556,7 +556,7 @@ class Email_List_Admin_Page extends List_Admin_Page {
],
'submit_button' => [
'type' => 'submit',
- 'title' => __('Reset Email', 'wp-ultimo'),
+ 'title' => __('Reset Email', 'wp-multisite-waas'),
'value' => 'reset',
'classes' => 'button button-primary wu-w-full',
'wrapper_classes' => 'wu-items-end wu-text-right',
@@ -593,7 +593,7 @@ class Email_List_Admin_Page extends List_Admin_Page {
$email_id = wu_request('email_id');
if ( ! $single_reset || ! $email_id) {
- $error = new \WP_Error('error', __('Something wrong happened.', 'wp-ultimo'));
+ $error = new \WP_Error('error', __('Something wrong happened.', 'wp-multisite-waas'));
wp_send_json_error($error);
}
@@ -612,7 +612,7 @@ class Email_List_Admin_Page extends List_Admin_Page {
$new_email = wu_get_email_by('slug', $slug);
if ( ! $new_email) {
- $error = new \WP_Error('error', __('Something wrong happened.', 'wp-ultimo'));
+ $error = new \WP_Error('error', __('Something wrong happened.', 'wp-multisite-waas'));
wp_send_json_error($error);
}
@@ -643,18 +643,18 @@ class Email_List_Admin_Page extends List_Admin_Page {
return [
[
'url' => wu_network_admin_url('wp-ultimo-edit-email'),
- 'label' => __('Add System Email', 'wp-ultimo'),
+ 'label' => __('Add System Email', 'wp-multisite-waas'),
'icon' => 'wu-circle-with-plus',
],
[
'url' => wu_network_admin_url('wp-ultimo-customize-email-template&id=' . $email_template_default),
- 'label' => __('Email Template', 'wp-ultimo'),
+ 'label' => __('Email Template', 'wp-multisite-waas'),
'icon' => 'wu-mail',
],
[
'url' => wu_get_form_url('reset_import'),
'classes' => 'wubox',
- 'label' => __('Reset or Import', 'wp-ultimo'),
+ 'label' => __('Reset or Import', 'wp-multisite-waas'),
'icon' => 'wu-cycle',
],
];
diff --git a/inc/admin-pages/class-email-template-customize-admin-page.php b/inc/admin-pages/class-email-template-customize-admin-page.php
index c0b36ae..65a5c04 100644
--- a/inc/admin-pages/class-email-template-customize-admin-page.php
+++ b/inc/admin-pages/class-email-template-customize-admin-page.php
@@ -156,7 +156,7 @@ class Email_Template_Customize_Admin_Page extends Customizer_Admin_Page {
'site_url' => get_site_url(),
'logo_url' => wu_get_network_logo(),
'content' => $content,
- 'subject' => __('Sample Subject', 'wp-ultimo'),
+ 'subject' => __('Sample Subject', 'wp-multisite-waas'),
'is_editor' => true,
'template_settings' => [
'use_custom_logo' => wu_string_to_bool(wu_request('use_custom_logo', $first_request ? $object->get_setting('use_custom_logo', false) : false)),
@@ -218,7 +218,7 @@ class Email_Template_Customize_Admin_Page extends Customizer_Admin_Page {
'fields' => [
'note' => [
'type' => 'note',
- 'desc' => __('System emails and broadcasts will be sent using this template.', 'wp-ultimo'),
+ 'desc' => __('System emails and broadcasts will be sent using this template.', 'wp-multisite-waas'),
],
],
]
@@ -243,15 +243,15 @@ class Email_Template_Customize_Admin_Page extends Customizer_Admin_Page {
'v-model' => 'tab',
],
'options' => [
- 'header' => __('Header', 'wp-ultimo'),
- 'content' => __('Content', 'wp-ultimo'),
- 'footer' => __('Footer', 'wp-ultimo'),
+ 'header' => __('Header', 'wp-multisite-waas'),
+ 'content' => __('Content', 'wp-multisite-waas'),
+ 'footer' => __('Footer', 'wp-multisite-waas'),
],
],
'use_custom_logo' => [
'type' => 'toggle',
- 'title' => __('Use Custom Logo', 'wp-ultimo'),
- 'desc' => __('You can set a different logo to be used on the system emails.', 'wp-ultimo'),
+ 'title' => __('Use Custom Logo', 'wp-multisite-waas'),
+ 'desc' => __('You can set a different logo to be used on the system emails.', 'wp-multisite-waas'),
'wrapper_html_attr' => [
'v-show' => 'require("tab", "header")',
'v-cloak' => 1,
@@ -263,8 +263,8 @@ class Email_Template_Customize_Admin_Page extends Customizer_Admin_Page {
'custom_logo' => [
'type' => 'image',
'stacked' => true,
- 'title' => __('Custom Logo', 'wp-ultimo'),
- 'desc' => __('The custom logo is used in the email header, if HTML emails are used.', 'wp-ultimo'),
+ 'title' => __('Custom Logo', 'wp-multisite-waas'),
+ 'desc' => __('The custom logo is used in the email header, if HTML emails are used.', 'wp-multisite-waas'),
'value' => $custom_logo,
'img' => $custom_logo_url,
'wrapper_html_attr' => [
@@ -277,8 +277,8 @@ class Email_Template_Customize_Admin_Page extends Customizer_Admin_Page {
],
'background_color' => [
'type' => 'color-picker',
- 'title' => __('Background Color', 'wp-ultimo'),
- 'tooltip' => __('The cover background color of the email.', 'wp-ultimo'),
+ 'title' => __('Background Color', 'wp-multisite-waas'),
+ 'tooltip' => __('The cover background color of the email.', 'wp-multisite-waas'),
'value' => '#00a1ff',
'wrapper_html_attr' => [
'v-show' => 'require("tab", "header")',
@@ -290,7 +290,7 @@ class Email_Template_Customize_Admin_Page extends Customizer_Admin_Page {
],
'title_color' => [
'type' => 'color-picker',
- 'title' => __('Title Color', 'wp-ultimo'),
+ 'title' => __('Title Color', 'wp-multisite-waas'),
'value' => '#00a1ff',
'wrapper_html_attr' => [
'v-show' => 'require("tab", "header")',
@@ -302,14 +302,14 @@ class Email_Template_Customize_Admin_Page extends Customizer_Admin_Page {
],
'title_size' => [
'type' => 'select',
- 'title' => __('Title Size', 'wp-ultimo'),
+ 'title' => __('Title Size', 'wp-multisite-waas'),
'value' => wu_get_isset($settings, 'title_size'),
'options' => [
- 'h1' => __('h1', 'wp-ultimo'),
- 'h2' => __('h2', 'wp-ultimo'),
- 'h3' => __('h3', 'wp-ultimo'),
- 'h4' => __('h4', 'wp-ultimo'),
- 'h5' => __('h5', 'wp-ultimo'),
+ 'h1' => __('h1', 'wp-multisite-waas'),
+ 'h2' => __('h2', 'wp-multisite-waas'),
+ 'h3' => __('h3', 'wp-multisite-waas'),
+ 'h4' => __('h4', 'wp-multisite-waas'),
+ 'h5' => __('h5', 'wp-multisite-waas'),
],
'wrapper_html_attr' => [
'v-show' => 'require("tab", "header")',
@@ -321,13 +321,13 @@ class Email_Template_Customize_Admin_Page extends Customizer_Admin_Page {
],
'title_align' => [
'type' => 'select',
- 'title' => __('Title Align', 'wp-ultimo'),
- 'tooltip' => __('Aligment of the font in the title.', 'wp-ultimo'),
+ 'title' => __('Title Align', 'wp-multisite-waas'),
+ 'tooltip' => __('Aligment of the font in the title.', 'wp-multisite-waas'),
'value' => wu_get_isset($settings, 'title_align', ''),
'options' => [
- 'left' => __('Left', 'wp-ultimo'),
- 'center' => __('Center', 'wp-ultimo'),
- 'right' => __('Right', 'wp-ultimo'),
+ 'left' => __('Left', 'wp-multisite-waas'),
+ 'center' => __('Center', 'wp-multisite-waas'),
+ 'right' => __('Right', 'wp-multisite-waas'),
],
'wrapper_html_attr' => [
'v-show' => 'require("tab", "header")',
@@ -339,13 +339,13 @@ class Email_Template_Customize_Admin_Page extends Customizer_Admin_Page {
],
'title_font' => [
'type' => 'select',
- 'title' => __('Title Font-Family', 'wp-ultimo'),
+ 'title' => __('Title Font-Family', 'wp-multisite-waas'),
'value' => wu_get_isset($settings, 'title_font', ''),
'options' => [
- 'Helvetica Neue, Helvetica, Helvetica, Arial, sans-serif' => __('Helvetica', 'wp-ultimo'),
- 'Arial, Helvetica, sans-serif' => __('Arial', 'wp-ultimo'),
- 'Times New Roman, Times, serif' => __('Times New Roman', 'wp-ultimo'),
- 'Lucida Console, Courier, monospace' => __('Lucida', 'wp-ultimo'),
+ 'Helvetica Neue, Helvetica, Helvetica, Arial, sans-serif' => __('Helvetica', 'wp-multisite-waas'),
+ 'Arial, Helvetica, sans-serif' => __('Arial', 'wp-multisite-waas'),
+ 'Times New Roman, Times, serif' => __('Times New Roman', 'wp-multisite-waas'),
+ 'Lucida Console, Courier, monospace' => __('Lucida', 'wp-multisite-waas'),
],
'wrapper_html_attr' => [
'v-show' => 'require("tab", "header")',
@@ -357,7 +357,7 @@ class Email_Template_Customize_Admin_Page extends Customizer_Admin_Page {
],
'content_color' => [
'type' => 'color-picker',
- 'title' => __('Content Color', 'wp-ultimo'),
+ 'title' => __('Content Color', 'wp-multisite-waas'),
'value' => '#000000',
'wrapper_html_attr' => [
'v-show' => 'require("tab", "content")',
@@ -369,13 +369,13 @@ class Email_Template_Customize_Admin_Page extends Customizer_Admin_Page {
],
'content_align' => [
'type' => 'select',
- 'title' => __('Content Alignment', 'wp-ultimo'),
- 'tooltip' => __('Alignment of the font in the main email content.', 'wp-ultimo'),
+ 'title' => __('Content Alignment', 'wp-multisite-waas'),
+ 'tooltip' => __('Alignment of the font in the main email content.', 'wp-multisite-waas'),
'value' => wu_get_isset($settings, 'content_align', ''),
'options' => [
- 'left' => __('Left', 'wp-ultimo'),
- 'center' => __('Center', 'wp-ultimo'),
- 'right' => __('Right', 'wp-ultimo'),
+ 'left' => __('Left', 'wp-multisite-waas'),
+ 'center' => __('Center', 'wp-multisite-waas'),
+ 'right' => __('Right', 'wp-multisite-waas'),
],
'wrapper_html_attr' => [
'v-show' => 'require("tab", "content")',
@@ -387,13 +387,13 @@ class Email_Template_Customize_Admin_Page extends Customizer_Admin_Page {
],
'content_font' => [
'type' => 'select',
- 'title' => __('Content Font-Family', 'wp-ultimo'),
+ 'title' => __('Content Font-Family', 'wp-multisite-waas'),
'value' => wu_get_isset($settings, 'content_font', ''),
'options' => [
- 'Helvetica Neue, Helvetica, Helvetica, Arial, sans-serif' => __('Helvetica', 'wp-ultimo'),
- 'Arial, Helvetica, sans-serif' => __('Arial', 'wp-ultimo'),
- 'Times New Roman, Times, serif' => __('Times New Roman', 'wp-ultimo'),
- 'Lucida Console, Courier, monospace' => __('Lucida', 'wp-ultimo'),
+ 'Helvetica Neue, Helvetica, Helvetica, Arial, sans-serif' => __('Helvetica', 'wp-multisite-waas'),
+ 'Arial, Helvetica, sans-serif' => __('Arial', 'wp-multisite-waas'),
+ 'Times New Roman, Times, serif' => __('Times New Roman', 'wp-multisite-waas'),
+ 'Lucida Console, Courier, monospace' => __('Lucida', 'wp-multisite-waas'),
],
'wrapper_html_attr' => [
'v-show' => 'require("tab", "content")',
@@ -405,8 +405,8 @@ class Email_Template_Customize_Admin_Page extends Customizer_Admin_Page {
],
'display_company_address' => [
'type' => 'toggle',
- 'title' => __('Display Company Address', 'wp-ultimo'),
- 'desc' => __('Toggle to show/hide your company address.', 'wp-ultimo'),
+ 'title' => __('Display Company Address', 'wp-multisite-waas'),
+ 'desc' => __('Toggle to show/hide your company address.', 'wp-multisite-waas'),
'wrapper_html_attr' => [
'v-show' => 'require("tab", "footer")',
'v-cloak' => 1,
@@ -417,8 +417,8 @@ class Email_Template_Customize_Admin_Page extends Customizer_Admin_Page {
],
'footer_text' => [
'type' => 'textarea',
- 'title' => __('Footer Content', 'wp-ultimo'),
- 'placeholder' => __('e.g. Extra info in the email footer.', 'wp-ultimo'),
+ 'title' => __('Footer Content', 'wp-multisite-waas'),
+ 'placeholder' => __('e.g. Extra info in the email footer.', 'wp-multisite-waas'),
'value' => wu_get_isset($settings, 'footer_text', ''),
'wrapper_html_attr' => [
'v-show' => 'require("tab", "footer")',
@@ -430,13 +430,13 @@ class Email_Template_Customize_Admin_Page extends Customizer_Admin_Page {
],
'footer_font' => [
'type' => 'select',
- 'title' => __('Footer Font-Family', 'wp-ultimo'),
+ 'title' => __('Footer Font-Family', 'wp-multisite-waas'),
'value' => wu_get_isset($settings, 'footer_font', ''),
'options' => [
- 'Helvetica Neue, Helvetica, Helvetica, Arial, sans-serif' => __('Helvetica', 'wp-ultimo'),
- 'Arial, Helvetica, sans-serif' => __('Arial', 'wp-ultimo'),
- 'Times New Roman, Times, serif' => __('Times New Roman', 'wp-ultimo'),
- 'Lucida Console, Courier, monospace' => __('Lucida', 'wp-ultimo'),
+ 'Helvetica Neue, Helvetica, Helvetica, Arial, sans-serif' => __('Helvetica', 'wp-multisite-waas'),
+ 'Arial, Helvetica, sans-serif' => __('Arial', 'wp-multisite-waas'),
+ 'Times New Roman, Times, serif' => __('Times New Roman', 'wp-multisite-waas'),
+ 'Lucida Console, Courier, monospace' => __('Lucida', 'wp-multisite-waas'),
],
'wrapper_html_attr' => [
'v-show' => 'require("tab", "footer")',
@@ -448,7 +448,7 @@ class Email_Template_Customize_Admin_Page extends Customizer_Admin_Page {
],
'footer_color' => [
'type' => 'color-picker',
- 'title' => __('Footer Color', 'wp-ultimo'),
+ 'title' => __('Footer Color', 'wp-multisite-waas'),
'value' => '#000000',
'wrapper_html_attr' => [
'v-show' => 'require("tab", "footer")',
@@ -460,13 +460,13 @@ class Email_Template_Customize_Admin_Page extends Customizer_Admin_Page {
],
'footer_align' => [
'type' => 'select',
- 'title' => __('Footer Alignment', 'wp-ultimo'),
- 'tooltip' => __('Alignment of the font in the main email footer.', 'wp-ultimo'),
+ 'title' => __('Footer Alignment', 'wp-multisite-waas'),
+ 'tooltip' => __('Alignment of the font in the main email footer.', 'wp-multisite-waas'),
'value' => wu_get_isset($settings, 'footer_align', ''),
'options' => [
- 'left' => __('Left', 'wp-ultimo'),
- 'center' => __('Center', 'wp-ultimo'),
- 'right' => __('Right', 'wp-ultimo'),
+ 'left' => __('Left', 'wp-multisite-waas'),
+ 'center' => __('Center', 'wp-multisite-waas'),
+ 'right' => __('Right', 'wp-multisite-waas'),
],
'wrapper_html_attr' => [
'v-show' => 'require("tab", "footer")',
@@ -489,7 +489,7 @@ class Email_Template_Customize_Admin_Page extends Customizer_Admin_Page {
$this->add_fields_widget(
'customizer',
[
- 'title' => __('Customizer', 'wp-ultimo'),
+ 'title' => __('Customizer', 'wp-multisite-waas'),
'position' => 'side',
'fields' => $fields,
'html_attr' => [
@@ -510,7 +510,7 @@ class Email_Template_Customize_Admin_Page extends Customizer_Admin_Page {
*/
public function get_title() {
- return __('Customize Email Template:', 'wp-ultimo');
+ return __('Customize Email Template:', 'wp-multisite-waas');
}
/**
@@ -521,7 +521,7 @@ class Email_Template_Customize_Admin_Page extends Customizer_Admin_Page {
*/
public function get_menu_title() {
- return __('Customize Email Template', 'wp-ultimo');
+ return __('Customize Email Template', 'wp-multisite-waas');
}
/**
@@ -544,16 +544,16 @@ class Email_Template_Customize_Admin_Page extends Customizer_Admin_Page {
public function get_labels() {
return [
- 'customize_label' => __('Customize Email Template', 'wp-ultimo'),
- 'add_new_label' => __('Customize Email Template', 'wp-ultimo'),
- 'edit_label' => __('Edit Email Template', 'wp-ultimo'),
- 'updated_message' => __('Email Template updated with success!', 'wp-ultimo'),
- 'title_placeholder' => __('Enter Email Template Name', 'wp-ultimo'),
- 'title_description' => __('This name is used for internal reference only.', 'wp-ultimo'),
- 'save_button_label' => __('Save Template', 'wp-ultimo'),
+ 'customize_label' => __('Customize Email Template', 'wp-multisite-waas'),
+ 'add_new_label' => __('Customize Email Template', 'wp-multisite-waas'),
+ 'edit_label' => __('Edit Email Template', 'wp-multisite-waas'),
+ 'updated_message' => __('Email Template updated with success!', 'wp-multisite-waas'),
+ 'title_placeholder' => __('Enter Email Template Name', 'wp-multisite-waas'),
+ 'title_description' => __('This name is used for internal reference only.', 'wp-multisite-waas'),
+ 'save_button_label' => __('Save Template', 'wp-multisite-waas'),
'save_description' => '',
- 'delete_button_label' => __('Delete Email Template', 'wp-ultimo'),
- 'delete_description' => __('Be careful. This action is irreversible.', 'wp-ultimo'),
+ 'delete_button_label' => __('Delete Email Template', 'wp-multisite-waas'),
+ 'delete_description' => __('Be careful. This action is irreversible.', 'wp-multisite-waas'),
];
}
diff --git a/inc/admin-pages/class-event-list-admin-page.php b/inc/admin-pages/class-event-list-admin-page.php
index 835a21c..66e824e 100644
--- a/inc/admin-pages/class-event-list-admin-page.php
+++ b/inc/admin-pages/class-event-list-admin-page.php
@@ -160,8 +160,8 @@ class Event_List_Admin_Page extends List_Admin_Page {
public function get_labels() {
return [
- 'deleted_message' => __('Event removed successfully.', 'wp-ultimo'),
- 'search_label' => __('Search Event', 'wp-ultimo'),
+ 'deleted_message' => __('Event removed successfully.', 'wp-multisite-waas'),
+ 'search_label' => __('Search Event', 'wp-multisite-waas'),
];
}
@@ -173,7 +173,7 @@ class Event_List_Admin_Page extends List_Admin_Page {
*/
public function get_title() {
- return __('Events', 'wp-ultimo');
+ return __('Events', 'wp-multisite-waas');
}
/**
@@ -184,7 +184,7 @@ class Event_List_Admin_Page extends List_Admin_Page {
*/
public function get_menu_title() {
- return __('Events', 'wp-ultimo');
+ return __('Events', 'wp-multisite-waas');
}
/**
@@ -195,7 +195,7 @@ class Event_List_Admin_Page extends List_Admin_Page {
*/
public function get_submenu_title() {
- return __('Events', 'wp-ultimo');
+ return __('Events', 'wp-multisite-waas');
}
/**
diff --git a/inc/admin-pages/class-event-view-admin-page.php b/inc/admin-pages/class-event-view-admin-page.php
index 238c84c..d7b4cbd 100644
--- a/inc/admin-pages/class-event-view-admin-page.php
+++ b/inc/admin-pages/class-event-view-admin-page.php
@@ -128,16 +128,16 @@ class Event_View_Admin_Page extends Edit_Admin_Page {
parent::register_widgets();
- add_meta_box('wp-ultimo-message', __('Event Message', 'wp-ultimo'), [$this, 'output_default_widget_message'], get_current_screen()->id, 'normal', 'default');
+ add_meta_box('wp-ultimo-message', __('Event Message', 'wp-multisite-waas'), [$this, 'output_default_widget_message'], get_current_screen()->id, 'normal', 'default');
- add_meta_box('wp-ultimo-initiator', __('Event', 'wp-ultimo'), [$this, 'output_default_widget_initiator'], get_current_screen()->id, 'side', 'default');
+ add_meta_box('wp-ultimo-initiator', __('Event', 'wp-multisite-waas'), [$this, 'output_default_widget_initiator'], get_current_screen()->id, 'side', 'default');
- add_meta_box('wp-ultimo-payload', __('Event Payload', 'wp-ultimo'), [$this, 'output_default_widget_payload'], get_current_screen()->id, 'normal', 'default');
+ add_meta_box('wp-ultimo-payload', __('Event Payload', 'wp-multisite-waas'), [$this, 'output_default_widget_payload'], get_current_screen()->id, 'normal', 'default');
$this->add_info_widget(
'info',
[
- 'title' => __('Timestamps', 'wp-ultimo'),
+ 'title' => __('Timestamps', 'wp-multisite-waas'),
'position' => 'side',
'modified' => false,
]
@@ -176,8 +176,8 @@ class Event_View_Admin_Page extends Edit_Admin_Page {
wu_get_template(
'events/widget-payload',
[
- 'title' => __('Event Payload', 'wp-ultimo'),
- 'loading_text' => __('Loading Payload', 'wp-ultimo'),
+ 'title' => __('Event Payload', 'wp-multisite-waas'),
+ 'loading_text' => __('Loading Payload', 'wp-multisite-waas'),
'payload' => json_encode($object->get_payload(), JSON_PRETTY_PRINT),
]
);
@@ -208,7 +208,7 @@ class Event_View_Admin_Page extends Edit_Admin_Page {
*/
public function get_title() {
- return $this->edit ? __('Edit Event', 'wp-ultimo') : __('Add new Event', 'wp-ultimo');
+ return $this->edit ? __('Edit Event', 'wp-multisite-waas') : __('Add new Event', 'wp-multisite-waas');
}
/**
@@ -219,7 +219,7 @@ class Event_View_Admin_Page extends Edit_Admin_Page {
*/
public function get_menu_title() {
- return __('Edit Event', 'wp-ultimo');
+ return __('Edit Event', 'wp-multisite-waas');
}
/**
@@ -242,15 +242,15 @@ class Event_View_Admin_Page extends Edit_Admin_Page {
public function get_labels() {
return [
- 'edit_label' => __('Edit Event', 'wp-ultimo'),
- 'add_new_label' => __('Add new Event', 'wp-ultimo'),
- 'updated_message' => __('Event updated with success!', 'wp-ultimo'),
- 'title_placeholder' => __('Enter Event', 'wp-ultimo'),
+ 'edit_label' => __('Edit Event', 'wp-multisite-waas'),
+ 'add_new_label' => __('Add new Event', 'wp-multisite-waas'),
+ 'updated_message' => __('Event updated with success!', 'wp-multisite-waas'),
+ 'title_placeholder' => __('Enter Event', 'wp-multisite-waas'),
'title_description' => '',
- 'save_button_label' => __('Save Event', 'wp-ultimo'),
+ 'save_button_label' => __('Save Event', 'wp-multisite-waas'),
'save_description' => '',
- 'delete_button_label' => __('Delete Event', 'wp-ultimo'),
- 'delete_description' => __('Be careful. This action is irreversible.', 'wp-ultimo'),
+ 'delete_button_label' => __('Delete Event', 'wp-multisite-waas'),
+ 'delete_description' => __('Be careful. This action is irreversible.', 'wp-multisite-waas'),
];
}
diff --git a/inc/admin-pages/class-hosting-integration-wizard-admin-page.php b/inc/admin-pages/class-hosting-integration-wizard-admin-page.php
index 7d04e18..9f02b6b 100644
--- a/inc/admin-pages/class-hosting-integration-wizard-admin-page.php
+++ b/inc/admin-pages/class-hosting-integration-wizard-admin-page.php
@@ -109,7 +109,7 @@ class Hosting_Integration_Wizard_Admin_Page extends Wizard_Admin_Page {
*/
public function get_title(): string {
- return sprintf(__('Integration Setup', 'wp-ultimo'));
+ return sprintf(__('Integration Setup', 'wp-multisite-waas'));
}
/**
@@ -120,7 +120,7 @@ class Hosting_Integration_Wizard_Admin_Page extends Wizard_Admin_Page {
*/
public function get_menu_title() {
- return __('Host Provider Integration', 'wp-ultimo');
+ return __('Host Provider Integration', 'wp-multisite-waas');
}
/**
@@ -133,25 +133,25 @@ class Hosting_Integration_Wizard_Admin_Page extends Wizard_Admin_Page {
$sections = [
'activation' => [
- 'title' => __('Activation', 'wp-ultimo'),
+ 'title' => __('Activation', 'wp-multisite-waas'),
'view' => [$this, 'section_activation'],
'handler' => [$this, 'handle_activation'],
],
'instructions' => [
- 'title' => __('Instructions', 'wp-ultimo'),
+ 'title' => __('Instructions', 'wp-multisite-waas'),
'view' => [$this, 'section_instructions'],
],
'config' => [
- 'title' => __('Configuration', 'wp-ultimo'),
+ 'title' => __('Configuration', 'wp-multisite-waas'),
'view' => [$this, 'section_configuration'],
'handler' => [$this, 'handle_configuration'],
],
'testing' => [
- 'title' => __('Testing Integration', 'wp-ultimo'),
+ 'title' => __('Testing Integration', 'wp-multisite-waas'),
'view' => [$this, 'section_test'],
],
'done' => [
- 'title' => __('Ready!', 'wp-ultimo'),
+ 'title' => __('Ready!', 'wp-multisite-waas'),
'view' => [$this, 'section_ready'],
],
];
diff --git a/inc/admin-pages/class-invoice-template-customize-admin-page.php b/inc/admin-pages/class-invoice-template-customize-admin-page.php
index 58a7aad..cbb1aaf 100644
--- a/inc/admin-pages/class-invoice-template-customize-admin-page.php
+++ b/inc/admin-pages/class-invoice-template-customize-admin-page.php
@@ -144,7 +144,7 @@ class Invoice_Template_Customize_Admin_Page extends Customizer_Admin_Page {
'fields' => [
'note' => [
'type' => 'note',
- 'desc' => __('Changes to this template will be applied to all PDF invoices generated after the change.
Existing PDF Invoices will not be affected unless explicitly re-generated', 'wp-ultimo'),
+ 'desc' => __('Changes to this template will be applied to all PDF invoices generated after the change.
Existing PDF Invoices will not be affected unless explicitly re-generated', 'wp-multisite-waas'),
],
],
]
@@ -167,17 +167,17 @@ class Invoice_Template_Customize_Admin_Page extends Customizer_Admin_Page {
'v-model' => 'tab',
],
'options' => [
- 'general' => __('General', 'wp-ultimo'),
- 'colors' => __('Colors', 'wp-ultimo'),
- 'images' => __('Images', 'wp-ultimo'),
+ 'general' => __('General', 'wp-multisite-waas'),
+ 'colors' => __('Colors', 'wp-multisite-waas'),
+ 'images' => __('Images', 'wp-multisite-waas'),
],
],
'paid_tag_text' => [
'type' => 'text',
- 'title' => __('Paid Tag', 'wp-ultimo'),
- 'placeholder' => __('e.g. Paid.', 'wp-ultimo'),
- 'value' => wu_get_isset($settings, 'paid_tag_text', __('Paid', 'wp-ultimo')),
+ 'title' => __('Paid Tag', 'wp-multisite-waas'),
+ 'placeholder' => __('e.g. Paid.', 'wp-multisite-waas'),
+ 'value' => wu_get_isset($settings, 'paid_tag_text', __('Paid', 'wp-multisite-waas')),
'wrapper_html_attr' => [
'v-show' => 'require("tab", "general")',
'v-cloak' => 1,
@@ -188,12 +188,12 @@ class Invoice_Template_Customize_Admin_Page extends Customizer_Admin_Page {
],
'font' => [
'type' => 'select',
- 'title' => __('Font-Family', 'wp-ultimo'),
+ 'title' => __('Font-Family', 'wp-multisite-waas'),
'value' => wu_get_isset($settings, 'font', ''),
'options' => [
- 'DejaVuSansCondensed' => __('Sans-Serif', 'wp-ultimo'),
- 'DejaVuSerifCondensed' => __('Serif', 'wp-ultimo'),
- 'FreeMono' => __('Mono', 'wp-ultimo'),
+ 'DejaVuSansCondensed' => __('Sans-Serif', 'wp-multisite-waas'),
+ 'DejaVuSerifCondensed' => __('Serif', 'wp-multisite-waas'),
+ 'FreeMono' => __('Mono', 'wp-multisite-waas'),
],
'wrapper_html_attr' => [
'v-show' => 'require("tab", "general")',
@@ -205,8 +205,8 @@ class Invoice_Template_Customize_Admin_Page extends Customizer_Admin_Page {
],
'footer_message' => [
'type' => 'textarea',
- 'title' => __('Footer Content', 'wp-ultimo'),
- 'placeholder' => __('e.g. Extra Info about the Invoice.', 'wp-ultimo'),
+ 'title' => __('Footer Content', 'wp-multisite-waas'),
+ 'placeholder' => __('e.g. Extra Info about the Invoice.', 'wp-multisite-waas'),
'value' => wu_get_isset($settings, 'footer_message', ''),
'wrapper_html_attr' => [
'v-show' => 'require("tab", "general")',
@@ -219,7 +219,7 @@ class Invoice_Template_Customize_Admin_Page extends Customizer_Admin_Page {
'primary_color' => [
'type' => 'color-picker',
- 'title' => __('Primary Color', 'wp-ultimo'),
+ 'title' => __('Primary Color', 'wp-multisite-waas'),
'value' => '#00a1ff',
'wrapper_html_attr' => [
'v-show' => 'require("tab", "colors")',
@@ -232,8 +232,8 @@ class Invoice_Template_Customize_Admin_Page extends Customizer_Admin_Page {
'use_custom_logo' => [
'type' => 'toggle',
- 'title' => __('Use Custom Logo', 'wp-ultimo'),
- 'desc' => __('You can set a different logo to be used on the invoice.', 'wp-ultimo'),
+ 'title' => __('Use Custom Logo', 'wp-multisite-waas'),
+ 'desc' => __('You can set a different logo to be used on the invoice.', 'wp-multisite-waas'),
'wrapper_html_attr' => [
'v-show' => 'require("tab", "images")',
'v-cloak' => 1,
@@ -244,8 +244,8 @@ class Invoice_Template_Customize_Admin_Page extends Customizer_Admin_Page {
],
'custom_logo' => [
'type' => 'image',
- 'title' => __('Custom Logo', 'wp-ultimo'),
- 'desc' => __('This will be added to the top of the generated PDF.', 'wp-ultimo'),
+ 'title' => __('Custom Logo', 'wp-multisite-waas'),
+ 'desc' => __('This will be added to the top of the generated PDF.', 'wp-multisite-waas'),
'value' => '',
'img' => $custom_logo_url,
'stacked' => true,
@@ -261,7 +261,7 @@ class Invoice_Template_Customize_Admin_Page extends Customizer_Admin_Page {
$settings = [
'footer_message' => wu_get_isset($settings, 'footer_message', ''),
- 'paid_tag_text' => wu_get_isset($settings, 'paid_tag_text', __('Paid', 'wp-ultimo')),
+ 'paid_tag_text' => wu_get_isset($settings, 'paid_tag_text', __('Paid', 'wp-multisite-waas')),
'primary_color' => wu_get_isset($settings, 'primary_color', '00a1ff'),
'use_custom_logo' => wu_get_isset($settings, 'use_custom_logo'),
'custom_logo' => wu_get_isset($settings, 'custom_logo'),
@@ -279,7 +279,7 @@ class Invoice_Template_Customize_Admin_Page extends Customizer_Admin_Page {
$this->add_fields_widget(
'customizer',
[
- 'title' => __('Customizer', 'wp-ultimo'),
+ 'title' => __('Customizer', 'wp-multisite-waas'),
'position' => 'side',
'fields' => $fields,
'html_attr' => [
@@ -300,7 +300,7 @@ class Invoice_Template_Customize_Admin_Page extends Customizer_Admin_Page {
*/
public function get_title() {
- return __('Customize Invoice Template', 'wp-ultimo');
+ return __('Customize Invoice Template', 'wp-multisite-waas');
}
/**
@@ -311,7 +311,7 @@ class Invoice_Template_Customize_Admin_Page extends Customizer_Admin_Page {
*/
public function get_menu_title() {
- return __('Customize Invoice Template', 'wp-ultimo');
+ return __('Customize Invoice Template', 'wp-multisite-waas');
}
/**
@@ -334,14 +334,14 @@ class Invoice_Template_Customize_Admin_Page extends Customizer_Admin_Page {
public function get_labels() {
return [
- 'customize_label' => __('Customize Invoice Template', 'wp-ultimo'),
- 'add_new_label' => __('Customize Invoice Template', 'wp-ultimo'),
- 'edit_label' => __('Edit Invoice Template', 'wp-ultimo'),
- 'updated_message' => __('Invoice Template updated with success!', 'wp-ultimo'),
- 'title_placeholder' => __('Enter Invoice Template Name', 'wp-ultimo'),
- 'title_description' => __('This name is used for internal reference only.', 'wp-ultimo'),
- 'save_button_label' => __('Save Invoice Template', 'wp-ultimo'),
- 'save_description' => __('Save Invoice Template', 'wp-ultimo'),
+ 'customize_label' => __('Customize Invoice Template', 'wp-multisite-waas'),
+ 'add_new_label' => __('Customize Invoice Template', 'wp-multisite-waas'),
+ 'edit_label' => __('Edit Invoice Template', 'wp-multisite-waas'),
+ 'updated_message' => __('Invoice Template updated with success!', 'wp-multisite-waas'),
+ 'title_placeholder' => __('Enter Invoice Template Name', 'wp-multisite-waas'),
+ 'title_description' => __('This name is used for internal reference only.', 'wp-multisite-waas'),
+ 'save_button_label' => __('Save Invoice Template', 'wp-multisite-waas'),
+ 'save_description' => __('Save Invoice Template', 'wp-multisite-waas'),
];
}
diff --git a/inc/admin-pages/class-jobs-list-admin-page.php b/inc/admin-pages/class-jobs-list-admin-page.php
index f9bd3ce..5d25ad2 100644
--- a/inc/admin-pages/class-jobs-list-admin-page.php
+++ b/inc/admin-pages/class-jobs-list-admin-page.php
@@ -108,7 +108,7 @@ class Jobs_List_Admin_Page extends Base_Admin_Page {
*/
public function get_title() {
- return __('Jobs', 'wp-ultimo');
+ return __('Jobs', 'wp-multisite-waas');
}
/**
@@ -119,7 +119,7 @@ class Jobs_List_Admin_Page extends Base_Admin_Page {
*/
public function get_menu_title() {
- return __('Jobs', 'wp-ultimo');
+ return __('Jobs', 'wp-multisite-waas');
}
/**
@@ -130,7 +130,7 @@ class Jobs_List_Admin_Page extends Base_Admin_Page {
*/
public function get_submenu_title() {
- return __('Jobs', 'wp-ultimo');
+ return __('Jobs', 'wp-multisite-waas');
}
/**
diff --git a/inc/admin-pages/class-list-admin-page.php b/inc/admin-pages/class-list-admin-page.php
index 07a63b6..6283057 100644
--- a/inc/admin-pages/class-list-admin-page.php
+++ b/inc/admin-pages/class-list-admin-page.php
@@ -123,8 +123,8 @@ abstract class List_Admin_Page extends Base_Admin_Page {
public function get_labels() {
return [
- 'deleted_message' => __('Object removed successfully.', 'wp-ultimo'),
- 'search_label' => __('Search Object', 'wp-ultimo'),
+ 'deleted_message' => __('Object removed successfully.', 'wp-multisite-waas'),
+ 'search_label' => __('Search Object', 'wp-multisite-waas'),
];
}
diff --git a/inc/admin-pages/class-membership-edit-admin-page.php b/inc/admin-pages/class-membership-edit-admin-page.php
index 8a4167b..0e0e27b 100644
--- a/inc/admin-pages/class-membership-edit-admin-page.php
+++ b/inc/admin-pages/class-membership-edit-admin-page.php
@@ -120,7 +120,7 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page {
$actions = [
'preview' => [
- 'title' => __('Preview', 'wp-ultimo'),
+ 'title' => __('Preview', 'wp-multisite-waas'),
'url' => add_query_arg('preview-swap', 1),
],
];
@@ -128,7 +128,7 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page {
$date = new \DateTime($swap_order->scheduled_date);
// translators: %s is the date, using the site format options
- $message = sprintf(__('There is a change scheduled to take place on this membership in %s. You can preview the changes here. Scheduled changes are usually created by downgrades.', 'wp-ultimo'), $date->format(get_option('date_format')));
+ $message = sprintf(__('There is a change scheduled to take place on this membership in %s. You can preview the changes here. Scheduled changes are usually created by downgrades.', 'wp-multisite-waas'), $date->format(get_option('date_format')));
WP_Ultimo()->notices->add($message, 'warning', 'network-admin', false, $actions);
}
@@ -223,16 +223,16 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page {
$fields = [
'confirm' => [
'type' => 'toggle',
- 'title' => __('Confirm Transfer', 'wp-ultimo'),
- 'desc' => __('This will start the transfer of assets from one customer to another.', 'wp-ultimo'),
+ 'title' => __('Confirm Transfer', 'wp-multisite-waas'),
+ 'desc' => __('This will start the transfer of assets from one customer to another.', 'wp-multisite-waas'),
'html_attr' => [
'v-model' => 'confirmed',
],
],
'submit_button' => [
'type' => 'submit',
- 'title' => __('Start Transfer', 'wp-ultimo'),
- 'placeholder' => __('Start Transfer', 'wp-ultimo'),
+ 'title' => __('Start Transfer', 'wp-multisite-waas'),
+ 'placeholder' => __('Start Transfer', 'wp-multisite-waas'),
'value' => 'save',
'classes' => 'button button-primary wu-w-full',
'wrapper_classes' => 'wu-items-end',
@@ -282,17 +282,17 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page {
$membership = wu_get_membership(wu_request('id'));
if ( ! $membership) {
- wp_send_json_error(new \WP_Error('not-found', __('Membership not found.', 'wp-ultimo')));
+ wp_send_json_error(new \WP_Error('not-found', __('Membership not found.', 'wp-multisite-waas')));
}
$target_customer = wu_get_customer(wu_request('target_customer_id'));
if ( ! $target_customer) {
- wp_send_json_error(new \WP_Error('not-found', __('Target customer not found.', 'wp-ultimo')));
+ wp_send_json_error(new \WP_Error('not-found', __('Target customer not found.', 'wp-multisite-waas')));
}
if ($target_customer->get_id() === $membership->get_customer_id()) {
- wp_send_json_error(new \WP_Error('not-found', __('Cannot transfer to the same customer.', 'wp-ultimo')));
+ wp_send_json_error(new \WP_Error('not-found', __('Cannot transfer to the same customer.', 'wp-multisite-waas')));
}
/*
@@ -354,26 +354,26 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page {
$this->add_fields_widget(
'at_a_glance',
[
- 'title' => __('At a Glance', 'wp-ultimo'),
+ 'title' => __('At a Glance', 'wp-multisite-waas'),
'position' => 'normal',
'classes' => 'wu-overflow-hidden wu-widget-inset',
'field_wrapper_classes' => 'wu-w-1/3 wu-box-border wu-items-center wu-flex wu-justify-between wu-p-4 wu-m-0 wu-border-t-0 wu-border-l-0 wu-border-r wu-border-b-0 wu-border-gray-300 wu-border-solid wu-float-left wu-relative',
'fields' => [
'status' => [
'type' => 'text-display',
- 'title' => __('Membership Status', 'wp-ultimo'),
+ 'title' => __('Membership Status', 'wp-multisite-waas'),
'display_value' => $tag,
'tooltip' => '',
],
'hash' => [
'copy' => true,
'type' => 'text-display',
- 'title' => __('Reference ID', 'wp-ultimo'),
+ 'title' => __('Reference ID', 'wp-multisite-waas'),
'display_value' => $this->get_object()->get_hash(),
],
'total_grossed' => [
'type' => 'text-display',
- 'title' => __('Total Grossed', 'wp-ultimo'),
+ 'title' => __('Total Grossed', 'wp-multisite-waas'),
'display_value' => wu_format_currency($this->get_object()->get_total_grossed(), $this->get_object()->get_currency()),
'wrapper_classes' => 'sm:wu-border-r-0',
],
@@ -385,7 +385,7 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page {
'membership-products',
[
'position' => 'normal',
- 'title' => __('Products', 'wp-ultimo'),
+ 'title' => __('Products', 'wp-multisite-waas'),
'table' => new \WP_Ultimo\List_Tables\Membership_Line_Item_List_Table(),
'after' => $this->output_widget_products(),
]
@@ -394,7 +394,7 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page {
$this->add_list_table_widget(
'payments',
[
- 'title' => __('Payments', 'wp-ultimo'),
+ 'title' => __('Payments', 'wp-multisite-waas'),
'table' => new \WP_Ultimo\List_Tables\Customers_Payment_List_Table(),
'query_filter' => [$this, 'payments_query_filter'],
]
@@ -403,7 +403,7 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page {
$this->add_list_table_widget(
'sites',
[
- 'title' => __('Sites', 'wp-ultimo'),
+ 'title' => __('Sites', 'wp-multisite-waas'),
'table' => new \WP_Ultimo\List_Tables\Memberships_Site_List_Table(),
'query_filter' => [$this, 'sites_query_filter'],
]
@@ -412,7 +412,7 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page {
$this->add_list_table_widget(
'customer',
[
- 'title' => __('Linked Customer', 'wp-ultimo'),
+ 'title' => __('Linked Customer', 'wp-multisite-waas'),
'table' => new \WP_Ultimo\List_Tables\Site_Customer_List_Table(),
'query_filter' => [$this, 'customer_query_filter'],
]
@@ -421,27 +421,27 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page {
$this->add_tabs_widget(
'options',
[
- 'title' => __('Membership Options', 'wp-ultimo'),
+ 'title' => __('Membership Options', 'wp-multisite-waas'),
'position' => 'normal',
'sections' => apply_filters(
'wu_membership_options_sections',
[
'general' => [
- 'title' => __('General', 'wp-ultimo'),
- 'desc' => __('General membership options', 'wp-ultimo'),
+ 'title' => __('General', 'wp-multisite-waas'),
+ 'desc' => __('General membership options', 'wp-multisite-waas'),
'icon' => 'dashicons-wu-globe',
'fields' => [
'blocking' => [
'type' => 'toggle',
- 'title' => __('Is Blocking?', 'wp-ultimo'),
- 'desc' => __('Should we block access to the site, plugins, themes, and services after the expiration date is reached?', 'wp-ultimo'),
+ 'title' => __('Is Blocking?', 'wp-multisite-waas'),
+ 'desc' => __('Should we block access to the site, plugins, themes, and services after the expiration date is reached?', 'wp-multisite-waas'),
'value' => true,
],
],
],
'billing_info' => [
- 'title' => __('Billing Info', 'wp-ultimo'),
- 'desc' => __('Billing information for this particular membership.', 'wp-ultimo'),
+ 'title' => __('Billing Info', 'wp-multisite-waas'),
+ 'desc' => __('Billing information for this particular membership.', 'wp-multisite-waas'),
'icon' => 'dashicons-wu-address',
'fields' => $this->get_object()->get_billing_address()->get_fields(),
],
@@ -458,7 +458,7 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page {
$this->add_list_table_widget(
'events',
[
- 'title' => __('Events', 'wp-ultimo'),
+ 'title' => __('Events', 'wp-multisite-waas'),
'table' => new \WP_Ultimo\List_Tables\Inside_Events_List_Table(),
'query_filter' => [$this, 'events_query_filter'],
]
@@ -468,8 +468,8 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page {
$regular_fields = [
'status' => [
'type' => 'select',
- 'title' => __('Status', 'wp-ultimo'),
- 'desc' => __('The membership current status.', 'wp-ultimo'),
+ 'title' => __('Status', 'wp-multisite-waas'),
+ 'desc' => __('The membership current status.', 'wp-multisite-waas'),
'value' => $this->get_object()->get_status(),
'options' => Membership_Status::to_array(),
'tooltip' => '',
@@ -482,8 +482,8 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page {
],
'cancellation_reason' => [
'type' => 'textarea',
- 'title' => __('Cancellation Reason', 'wp-ultimo'),
- 'desc' => __('The reason why the customer cancelled this membership.', 'wp-ultimo'),
+ 'title' => __('Cancellation Reason', 'wp-multisite-waas'),
+ 'desc' => __('The reason why the customer cancelled this membership.', 'wp-multisite-waas'),
'value' => $this->get_object()->get_cancellation_reason(),
'wrapper_html_attr' => [
'v-show' => 'status == \'cancelled\'',
@@ -492,8 +492,8 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page {
],
'cancel_gateway' => [
'type' => 'toggle',
- 'title' => __('Cancel on gateway', 'wp-ultimo'),
- 'desc' => __('If enable we will cancel the subscription on payment method', 'wp-ultimo'),
+ 'title' => __('Cancel on gateway', 'wp-multisite-waas'),
+ 'desc' => __('If enable we will cancel the subscription on payment method', 'wp-multisite-waas'),
'value' => false,
'wrapper_html_attr' => [
'v-show' => ! empty($this->get_object()->get_gateway_customer_id()) ? 'status == \'cancelled\'' : 'false',
@@ -506,9 +506,9 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page {
],
'customer_id' => [
'type' => 'model',
- 'title' => __('Customer', 'wp-ultimo'),
- 'placeholder' => __('Search a Customer...', 'wp-ultimo'),
- 'desc' => __('The owner of this membership.', 'wp-ultimo'),
+ 'title' => __('Customer', 'wp-multisite-waas'),
+ 'placeholder' => __('Search a Customer...', 'wp-multisite-waas'),
+ 'desc' => __('The owner of this membership.', 'wp-multisite-waas'),
'value' => $this->get_object()->get_customer_id(),
'tooltip' => '',
'html_attr' => [
@@ -527,7 +527,7 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page {
],
'transfer_note' => [
'type' => 'note',
- 'desc' => __('Changing the customer will transfer this membership and all its assets, including sites, to the new customer.', 'wp-ultimo'),
+ 'desc' => __('Changing the customer will transfer this membership and all its assets, including sites, to the new customer.', 'wp-multisite-waas'),
'classes' => 'wu-p-2 wu-bg-red-100 wu-text-red-600 wu-rounded wu-w-full',
'wrapper_html_attr' => [
'v-show' => '(original_customer_id != customer_id) && customer_id',
@@ -548,7 +548,7 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page {
],
'transfer' => [
'type' => 'link',
- 'display_value' => __('Transfer Membership', 'wp-ultimo'),
+ 'display_value' => __('Transfer Membership', 'wp-multisite-waas'),
'wrapper_classes' => 'wu-bg-gray-200',
'classes' => 'button wubox wu-w-full wu-text-center',
'wrapper_html_attr' => [
@@ -563,7 +563,7 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page {
'target_customer_id' => '',
]
) . "=' + customer_id",
- 'title' => __('Transfer Membership', 'wp-ultimo'),
+ 'title' => __('Transfer Membership', 'wp-multisite-waas'),
],
],
];
@@ -573,7 +573,7 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page {
unset($regular_fields['transfer']);
- $regular_fields['submit_save']['title'] = __('Locked', 'wp-ultimo');
+ $regular_fields['submit_save']['title'] = __('Locked', 'wp-multisite-waas');
$regular_fields['submit_save']['value'] = 'none';
$regular_fields['submit_save']['html_attr']['disabled'] = 'disabled';
}
@@ -599,7 +599,7 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page {
$this->add_fields_widget(
'pricing',
[
- 'title' => __('Billing Amount', 'wp-ultimo'),
+ 'title' => __('Billing Amount', 'wp-multisite-waas'),
'html_attr' => [
'data-wu-app' => 'true',
'data-state' => json_encode(
@@ -620,10 +620,10 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page {
// Fields for price
'_initial_amount' => [
'type' => 'text',
- 'title' => __('Initial Amount', 'wp-ultimo'),
+ 'title' => __('Initial Amount', 'wp-multisite-waas'),
// translators: %s is a price placeholder value.
- 'placeholder' => sprintf(__('E.g. %s', 'wp-ultimo'), wu_format_currency(199)),
- 'desc' => __('The initial amount collected on the first payment.', 'wp-ultimo'),
+ 'placeholder' => sprintf(__('E.g. %s', 'wp-multisite-waas'), wu_format_currency(199)),
+ 'desc' => __('The initial amount collected on the first payment.', 'wp-multisite-waas'),
'value' => $this->get_object()->get_initial_amount(),
'money' => true,
'html_attr' => [
@@ -641,8 +641,8 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page {
],
'recurring' => [
'type' => 'toggle',
- 'title' => __('Is Recurring', 'wp-ultimo'),
- 'desc' => __('Use this option to manually enable or disable this membership.', 'wp-ultimo'),
+ 'title' => __('Is Recurring', 'wp-multisite-waas'),
+ 'desc' => __('Use this option to manually enable or disable this membership.', 'wp-multisite-waas'),
'value' => $this->get_object()->is_recurring(),
'html_attr' => [
'v-model' => 'is_recurring',
@@ -659,9 +659,9 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page {
],
'recurring_amount_group' => [
'type' => 'group',
- 'title' => __('Recurring Amount', 'wp-ultimo'),
+ 'title' => __('Recurring Amount', 'wp-multisite-waas'),
// translators: placeholder %1$s is the amount, %2$s is the duration (such as 1, 2, 3), and %3$s is the unit (such as month, year, week)
- 'desc' => sprintf(__('The customer will be charged %1$s every %2$s %3$s(s).', 'wp-ultimo'), '{{ wu_format_money(amount) }}', '{{ duration }}', '{{ duration_unit }}'),
+ 'desc' => sprintf(__('The customer will be charged %1$s every %2$s %3$s(s).', 'wp-multisite-waas'), '{{ wu_format_money(amount) }}', '{{ duration }}', '{{ duration_unit }}'),
'wrapper_html_attr' => [
'v-show' => 'is_recurring',
'v-cloak' => '1',
@@ -697,10 +697,10 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page {
'v-model' => 'duration_unit',
],
'options' => [
- 'day' => __('Days', 'wp-ultimo'),
- 'week' => __('Weeks', 'wp-ultimo'),
- 'month' => __('Months', 'wp-ultimo'),
- 'year' => __('Years', 'wp-ultimo'),
+ 'day' => __('Days', 'wp-multisite-waas'),
+ 'week' => __('Weeks', 'wp-multisite-waas'),
+ 'month' => __('Months', 'wp-multisite-waas'),
+ 'year' => __('Years', 'wp-multisite-waas'),
],
],
],
@@ -733,9 +733,9 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page {
],
'billing_cycles' => [
'type' => 'number',
- 'title' => __('Billing Cycles', 'wp-ultimo'),
- 'placeholder' => __('E.g. 0', 'wp-ultimo'),
- 'desc' => __('How many times should we bill this customer. Leave 0 to charge until cancelled.', 'wp-ultimo'),
+ 'title' => __('Billing Cycles', 'wp-multisite-waas'),
+ 'placeholder' => __('E.g. 0', 'wp-multisite-waas'),
+ 'desc' => __('How many times should we bill this customer. Leave 0 to charge until cancelled.', 'wp-multisite-waas'),
'value' => $this->get_object()->get_billing_cycles(),
'min' => 0,
'wrapper_html_attr' => [
@@ -745,8 +745,8 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page {
],
'times_billed' => [
'type' => 'number',
- 'title' => __('Times Billed', 'wp-ultimo'),
- 'desc' => __('The number of times this membership was billed so far.', 'wp-ultimo'),
+ 'title' => __('Times Billed', 'wp-multisite-waas'),
+ 'desc' => __('The number of times this membership was billed so far.', 'wp-multisite-waas'),
'value' => $this->get_object()->get_times_billed(),
'min' => 0,
'wrapper_html_attr' => [
@@ -757,8 +757,8 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page {
'auto_renew' => [
'type' => 'toggle',
- 'title' => __('Auto-Renew?', 'wp-ultimo'),
- 'desc' => __('Activating this will tell the gateway to try to automatically charge for this membership.', 'wp-ultimo'),
+ 'title' => __('Auto-Renew?', 'wp-multisite-waas'),
+ 'desc' => __('Activating this will tell the gateway to try to automatically charge for this membership.', 'wp-multisite-waas'),
'value' => $this->get_object()->should_auto_renew(),
'wrapper_html_attr' => [
'v-show' => 'is_recurring',
@@ -770,10 +770,10 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page {
],
'gateway' => [
'type' => 'text',
- 'title' => __('Gateway', 'wp-ultimo'),
- 'placeholder' => __('e.g. stripe', 'wp-ultimo'),
- 'description' => __('e.g. stripe', 'wp-ultimo'),
- 'desc' => __('Payment gateway used to process the payment.', 'wp-ultimo'),
+ 'title' => __('Gateway', 'wp-multisite-waas'),
+ 'placeholder' => __('e.g. stripe', 'wp-multisite-waas'),
+ 'description' => __('e.g. stripe', 'wp-multisite-waas'),
+ 'desc' => __('Payment gateway used to process the payment.', 'wp-multisite-waas'),
'value' => $this->get_object()->get_gateway(),
'wrapper_classes' => 'wu-w-full',
'html_attr' => [
@@ -797,7 +797,7 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page {
$url = apply_filters("wu_{$gateway_id}_remote_customer_url", $this->get_object()->get_gateway_customer_id());
if ($url) {
- return sprintf('%s', esc_attr($url), __('View on Gateway →', 'wp-ultimo'));
+ return sprintf('%s', esc_attr($url), __('View on Gateway →', 'wp-multisite-waas'));
}
return '';
@@ -809,8 +809,8 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page {
'fields' => [
'gateway_customer_id' => [
'type' => 'text',
- 'title' => __('Gateway Customer ID', 'wp-ultimo'),
- 'placeholder' => __('Gateway Customer ID', 'wp-ultimo'),
+ 'title' => __('Gateway Customer ID', 'wp-multisite-waas'),
+ 'placeholder' => __('Gateway Customer ID', 'wp-multisite-waas'),
'value' => $this->get_object()->get_gateway_customer_id(),
'tooltip' => '',
'wrapper_classes' => 'wu-w-full',
@@ -835,7 +835,7 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page {
$url = apply_filters("wu_{$gateway_id}_remote_subscription_url", $this->get_object()->get_gateway_subscription_id());
if ($url) {
- return sprintf('%s', esc_attr($url), __('View on Gateway →', 'wp-ultimo'));
+ return sprintf('%s', esc_attr($url), __('View on Gateway →', 'wp-multisite-waas'));
}
return '';
@@ -847,8 +847,8 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page {
'fields' => [
'gateway_subscription_id' => [
'type' => 'text',
- 'title' => __('Gateway Subscription ID', 'wp-ultimo'),
- 'placeholder' => __('Gateway Subscription ID', 'wp-ultimo'),
+ 'title' => __('Gateway Subscription ID', 'wp-multisite-waas'),
+ 'placeholder' => __('Gateway Subscription ID', 'wp-multisite-waas'),
'value' => $this->get_object()->get_gateway_subscription_id(),
'tooltip' => '',
'wrapper_classes' => 'wu-w-full',
@@ -862,7 +862,7 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page {
'gateway_note' => [
'type' => 'note',
- 'desc' => __('We will try to cancel the old subscription on the gateway.', 'wp-ultimo'),
+ 'desc' => __('We will try to cancel the old subscription on the gateway.', 'wp-multisite-waas'),
'classes' => 'wu-p-2 wu-bg-red-100 wu-text-red-600 wu-rounded wu-w-full',
'wrapper_html_attr' => [
'v-show' => 'is_recurring && (' . implode(
@@ -883,10 +883,10 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page {
$timestamp_fields = [];
$timestamps = [
- 'date_expiration' => __('Expires at', 'wp-ultimo'),
- 'date_renewed' => __('Last Renewed at', 'wp-ultimo'),
- 'date_trial_end' => __('Trial Ends at', 'wp-ultimo'),
- 'date_cancellation' => __('Cancelled at', 'wp-ultimo'),
+ 'date_expiration' => __('Expires at', 'wp-multisite-waas'),
+ 'date_renewed' => __('Last Renewed at', 'wp-multisite-waas'),
+ 'date_trial_end' => __('Trial Ends at', 'wp-multisite-waas'),
+ 'date_cancellation' => __('Cancelled at', 'wp-multisite-waas'),
];
foreach ($timestamps as $timestamp_name => $timestamp_label) {
@@ -911,7 +911,7 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page {
if ( ! $this->get_object()->is_lifetime()) {
$timestamp_fields['convert_to_lifetime'] = [
'type' => 'submit',
- 'title' => __('Convert to Lifetime', 'wp-ultimo'),
+ 'title' => __('Convert to Lifetime', 'wp-multisite-waas'),
'value' => 'convert_to_lifetime',
'classes' => 'button wu-w-full',
'wrapper_html_attr' => [],
@@ -921,7 +921,7 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page {
$this->add_fields_widget(
'membership-timestamps',
[
- 'title' => __('Important Timestamps', 'wp-ultimo'),
+ 'title' => __('Important Timestamps', 'wp-multisite-waas'),
'fields' => $timestamp_fields,
]
);
@@ -951,7 +951,7 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page {
*/
public function get_title() {
- return $this->edit ? __('Edit Membership', 'wp-ultimo') : __('Add new Membership', 'wp-ultimo');
+ return $this->edit ? __('Edit Membership', 'wp-multisite-waas') : __('Add new Membership', 'wp-multisite-waas');
}
/**
@@ -962,7 +962,7 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page {
*/
public function get_menu_title() {
- return __('Edit Membership', 'wp-ultimo');
+ return __('Edit Membership', 'wp-multisite-waas');
}
/**
@@ -985,15 +985,15 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page {
public function get_labels() {
return [
- 'edit_label' => __('Edit Membership', 'wp-ultimo'),
- 'add_new_label' => __('Add new Membership', 'wp-ultimo'),
- 'updated_message' => __('Membership updated with success!', 'wp-ultimo'),
- 'title_placeholder' => __('Enter Membership Name', 'wp-ultimo'),
- 'title_description' => __('This name will be used on pricing tables, invoices, and more.', 'wp-ultimo'),
- 'save_button_label' => __('Save Membership', 'wp-ultimo'),
+ 'edit_label' => __('Edit Membership', 'wp-multisite-waas'),
+ 'add_new_label' => __('Add new Membership', 'wp-multisite-waas'),
+ 'updated_message' => __('Membership updated with success!', 'wp-multisite-waas'),
+ 'title_placeholder' => __('Enter Membership Name', 'wp-multisite-waas'),
+ 'title_description' => __('This name will be used on pricing tables, invoices, and more.', 'wp-multisite-waas'),
+ 'save_button_label' => __('Save Membership', 'wp-multisite-waas'),
'save_description' => '',
- 'delete_button_label' => __('Delete Membership', 'wp-ultimo'),
- 'delete_description' => __('Be careful. This action is irreversible.', 'wp-ultimo'),
+ 'delete_button_label' => __('Delete Membership', 'wp-multisite-waas'),
+ 'delete_description' => __('Be careful. This action is irreversible.', 'wp-multisite-waas'),
];
}
@@ -1103,7 +1103,7 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page {
$actions = [
'preview' => [
- 'title' => __('← Go back', 'wp-ultimo'),
+ 'title' => __('← Go back', 'wp-multisite-waas'),
'url' => remove_query_arg('preview-swap', wu_get_current_url()),
],
];
@@ -1111,7 +1111,7 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page {
$date = new \DateTime($swap_order->scheduled_date);
// translators: %s is the date, using the site format options
- $message = sprintf(__('This is a preview. This page displays the final stage of the membership after the changes scheduled for %s. Saving here will persist these changes, so be careful.', 'wp-ultimo'), $date->format(get_option('date_format')));
+ $message = sprintf(__('This is a preview. This page displays the final stage of the membership after the changes scheduled for %s. Saving here will persist these changes, so be careful.', 'wp-multisite-waas'), $date->format(get_option('date_format')));
WP_Ultimo()->notices->add($message, 'info', 'network-admin', false, $actions);
@@ -1260,8 +1260,8 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page {
$fields = [
'product_id' => [
'type' => 'model',
- 'title' => __('Product', 'wp-ultimo'),
- 'placeholder' => __('Search product...', 'wp-ultimo'),
+ 'title' => __('Product', 'wp-multisite-waas'),
+ 'placeholder' => __('Search product...', 'wp-multisite-waas'),
'value' => '',
'tooltip' => '',
'html_attr' => [
@@ -1275,7 +1275,7 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page {
],
'quantity' => [
'type' => 'number',
- 'title' => __('Quantity', 'wp-ultimo'),
+ 'title' => __('Quantity', 'wp-multisite-waas'),
'value' => 1,
'placeholder' => 1,
'wrapper_classes' => 'wu-w-1/2',
@@ -1286,8 +1286,8 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page {
],
'update_price' => [
'type' => 'toggle',
- 'title' => __('Update Pricing', 'wp-ultimo'),
- 'desc' => __('Checking this box will update the membership pricing. Otherwise, the products will be added without changing the membership prices.', 'wp-ultimo'),
+ 'title' => __('Update Pricing', 'wp-multisite-waas'),
+ 'desc' => __('Checking this box will update the membership pricing. Otherwise, the products will be added without changing the membership prices.', 'wp-multisite-waas'),
'html_attr' => [
'v-model' => 'update_pricing',
],
@@ -1303,8 +1303,8 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page {
],
'submit_button' => [
'type' => 'submit',
- 'title' => __('Add Product', 'wp-ultimo'),
- 'placeholder' => __('Add Product', 'wp-ultimo'),
+ 'title' => __('Add Product', 'wp-multisite-waas'),
+ 'placeholder' => __('Add Product', 'wp-multisite-waas'),
'value' => 'save',
'classes' => 'wu-w-full button button-primary',
'wrapper_classes' => 'wu-items-end',
@@ -1351,7 +1351,7 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page {
$membership = wu_get_membership(wu_request('id'));
if ( ! $membership) {
- $error = new \WP_Error('membership-not-found', __('Membership not found.', 'wp-ultimo'));
+ $error = new \WP_Error('membership-not-found', __('Membership not found.', 'wp-multisite-waas'));
wp_send_json_error($error);
}
@@ -1359,7 +1359,7 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page {
$product = wu_get_product(wu_request('product_id'));
if ( ! $product) {
- $error = new \WP_Error('product-not-found', __('Product not found.', 'wp-ultimo'));
+ $error = new \WP_Error('product-not-found', __('Product not found.', 'wp-multisite-waas'));
wp_send_json_error($error);
}
@@ -1415,7 +1415,7 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page {
$fields = [
'quantity' => [
'type' => 'number',
- 'title' => __('Quantity', 'wp-ultimo'),
+ 'title' => __('Quantity', 'wp-multisite-waas'),
'value' => 1,
'placeholder' => 1,
'wrapper_classes' => 'wu-w-1/2',
@@ -1426,8 +1426,8 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page {
],
'update_price' => [
'type' => 'toggle',
- 'title' => __('Update Pricing?', 'wp-ultimo'),
- 'desc' => __('Checking this box will update the membership pricing. Otherwise, the products will be added without changing the membership prices.', 'wp-ultimo'),
+ 'title' => __('Update Pricing?', 'wp-multisite-waas'),
+ 'desc' => __('Checking this box will update the membership pricing. Otherwise, the products will be added without changing the membership prices.', 'wp-multisite-waas'),
'html_attr' => [
'v-model' => 'update_pricing',
],
@@ -1443,8 +1443,8 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page {
],
'submit_button' => [
'type' => 'submit',
- 'title' => __('Remove Product', 'wp-ultimo'),
- 'placeholder' => __('Remove Product', 'wp-ultimo'),
+ 'title' => __('Remove Product', 'wp-multisite-waas'),
+ 'placeholder' => __('Remove Product', 'wp-multisite-waas'),
'value' => 'save',
'classes' => 'wu-w-full button button-primary',
'wrapper_classes' => 'wu-items-end',
@@ -1495,7 +1495,7 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page {
$membership = wu_get_membership(wu_request('id'));
if ( ! $membership) {
- $error = new \WP_Error('membership-not-found', __('Membership not found.', 'wp-ultimo'));
+ $error = new \WP_Error('membership-not-found', __('Membership not found.', 'wp-multisite-waas'));
wp_send_json_error($error);
}
@@ -1503,7 +1503,7 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page {
$product = wu_get_product(wu_request('product_id'));
if ( ! $product) {
- $error = new \WP_Error('product-not-found', __('Product not found.', 'wp-ultimo'));
+ $error = new \WP_Error('product-not-found', __('Product not found.', 'wp-multisite-waas'));
wp_send_json_error($error);
}
@@ -1571,9 +1571,9 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page {
$fields = [
'plan_id' => [
'type' => 'model',
- 'title' => __('Plan', 'wp-ultimo'),
- 'placeholder' => __('Search new Plan...', 'wp-ultimo'),
- 'desc' => __('Select a new plan for this membership.', 'wp-ultimo'),
+ 'title' => __('Plan', 'wp-multisite-waas'),
+ 'placeholder' => __('Search new Plan...', 'wp-multisite-waas'),
+ 'desc' => __('Select a new plan for this membership.', 'wp-multisite-waas'),
'value' => $product->get_id(),
'tooltip' => '',
'html_attr' => [
@@ -1588,8 +1588,8 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page {
],
'update_price' => [
'type' => 'toggle',
- 'title' => __('Update Pricing', 'wp-ultimo'),
- 'desc' => __('Checking this box will update the membership pricing. Otherwise, the products will be added without changing the membership prices.', 'wp-ultimo'),
+ 'title' => __('Update Pricing', 'wp-multisite-waas'),
+ 'desc' => __('Checking this box will update the membership pricing. Otherwise, the products will be added without changing the membership prices.', 'wp-multisite-waas'),
'html_attr' => [
'v-model' => 'update_pricing',
],
@@ -1605,8 +1605,8 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page {
],
'submit_button' => [
'type' => 'submit',
- 'title' => __('Change Product', 'wp-ultimo'),
- 'placeholder' => __('Change Product', 'wp-ultimo'),
+ 'title' => __('Change Product', 'wp-multisite-waas'),
+ 'placeholder' => __('Change Product', 'wp-multisite-waas'),
'value' => 'save',
'classes' => 'wu-w-full button button-primary',
'wrapper_classes' => 'wu-items-end',
@@ -1659,7 +1659,7 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page {
$membership = wu_get_membership(wu_request('id'));
if ( ! $membership) {
- $error = new \WP_Error('membership-not-found', __('Membership not found.', 'wp-ultimo'));
+ $error = new \WP_Error('membership-not-found', __('Membership not found.', 'wp-multisite-waas'));
wp_send_json_error($error);
}
@@ -1667,7 +1667,7 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page {
$plan = wu_get_product(wu_request('plan_id'));
if ( ! $plan) {
- $error = new \WP_Error('plan-not-found', __('Plan not found.', 'wp-ultimo'));
+ $error = new \WP_Error('plan-not-found', __('Plan not found.', 'wp-multisite-waas'));
wp_send_json_error($error);
}
@@ -1675,7 +1675,7 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page {
$original_plan_id = $membership->get_plan_id();
if (absint($original_plan_id) === absint($plan->get_id())) {
- $error = new \WP_Error('same-plan', __('No change performed. The same plan selected.', 'wp-ultimo'));
+ $error = new \WP_Error('same-plan', __('No change performed. The same plan selected.', 'wp-multisite-waas'));
wp_send_json_error($error);
}
diff --git a/inc/admin-pages/class-membership-list-admin-page.php b/inc/admin-pages/class-membership-list-admin-page.php
index 0f00401..da784c3 100644
--- a/inc/admin-pages/class-membership-list-admin-page.php
+++ b/inc/admin-pages/class-membership-list-admin-page.php
@@ -88,9 +88,9 @@ class Membership_List_Admin_Page extends List_Admin_Page {
$fields = [
'customer_id' => [
'type' => 'model',
- 'title' => __('Customer', 'wp-ultimo'),
- 'placeholder' => __('Search Customer...', 'wp-ultimo'),
- 'desc' => __('The customer to attach this membership to.', 'wp-ultimo'),
+ 'title' => __('Customer', 'wp-multisite-waas'),
+ 'placeholder' => __('Search Customer...', 'wp-multisite-waas'),
+ 'desc' => __('The customer to attach this membership to.', 'wp-multisite-waas'),
'html_attr' => [
'data-model' => 'customer',
'data-value-field' => 'id',
@@ -101,9 +101,9 @@ class Membership_List_Admin_Page extends List_Admin_Page {
],
'product_ids' => [
'type' => 'model',
- 'title' => __('Products', 'wp-ultimo'),
- 'placeholder' => __('Search Products...', 'wp-ultimo'),
- 'desc' => __('You can add multiples products to this membership.', 'wp-ultimo'),
+ 'title' => __('Products', 'wp-multisite-waas'),
+ 'placeholder' => __('Search Products...', 'wp-multisite-waas'),
+ 'desc' => __('You can add multiples products to this membership.', 'wp-multisite-waas'),
'tooltip' => '',
'html_attr' => [
'data-model' => 'product',
@@ -115,25 +115,25 @@ class Membership_List_Admin_Page extends List_Admin_Page {
],
'status' => [
'type' => 'select',
- 'title' => __('Status', 'wp-ultimo'),
- 'placeholder' => __('Status', 'wp-ultimo'),
- 'desc' => __('The membership status.', 'wp-ultimo'),
+ 'title' => __('Status', 'wp-multisite-waas'),
+ 'placeholder' => __('Status', 'wp-multisite-waas'),
+ 'desc' => __('The membership status.', 'wp-multisite-waas'),
'tooltip' => '',
'value' => Membership_Status::PENDING,
'options' => Membership_Status::to_array(),
],
'lifetime' => [
'type' => 'toggle',
- 'title' => __('Lifetime', 'wp-ultimo'),
- 'desc' => __('Activate this toggle to mark the newly created membership as lifetime.', 'wp-ultimo'),
+ 'title' => __('Lifetime', 'wp-multisite-waas'),
+ 'desc' => __('Activate this toggle to mark the newly created membership as lifetime.', 'wp-multisite-waas'),
'value' => 1,
'html_attr' => [
'v-model' => 'lifetime',
],
],
'date_expiration' => [
- 'title' => __('Expiration Date', 'wp-ultimo'),
- 'desc' => __('Set the expiration date of the membership to be created.', 'wp-ultimo'),
+ 'title' => __('Expiration Date', 'wp-multisite-waas'),
+ 'desc' => __('Set the expiration date of the membership to be created.', 'wp-multisite-waas'),
'type' => 'text',
'date' => true,
'value' => gmdate('Y-m-d', strtotime('+1 month')),
@@ -150,7 +150,7 @@ class Membership_List_Admin_Page extends List_Admin_Page {
],
'submit_button' => [
'type' => 'submit',
- 'title' => __('Create Membership', 'wp-ultimo'),
+ 'title' => __('Create Membership', 'wp-multisite-waas'),
'value' => 'save',
'classes' => 'button button-primary wu-w-full',
'wrapper_classes' => 'wu-items-end',
@@ -197,7 +197,7 @@ class Membership_List_Admin_Page extends List_Admin_Page {
wp_send_json_error(
new \WP_Error(
'empty-products',
- __('Products can not be empty.', 'wp-ultimo')
+ __('Products can not be empty.', 'wp-multisite-waas')
)
);
}
@@ -208,7 +208,7 @@ class Membership_List_Admin_Page extends List_Admin_Page {
wp_send_json_error(
new \WP_Error(
'customer-not-found',
- __('The selected customer does not exist.', 'wp-ultimo')
+ __('The selected customer does not exist.', 'wp-multisite-waas')
)
);
}
@@ -263,8 +263,8 @@ class Membership_List_Admin_Page extends List_Admin_Page {
public function get_labels() {
return [
- 'deleted_message' => __('Membership removed successfully.', 'wp-ultimo'),
- 'search_label' => __('Search Membership', 'wp-ultimo'),
+ 'deleted_message' => __('Membership removed successfully.', 'wp-multisite-waas'),
+ 'search_label' => __('Search Membership', 'wp-multisite-waas'),
];
}
@@ -276,7 +276,7 @@ class Membership_List_Admin_Page extends List_Admin_Page {
*/
public function get_title() {
- return __('Memberships', 'wp-ultimo');
+ return __('Memberships', 'wp-multisite-waas');
}
/**
@@ -287,7 +287,7 @@ class Membership_List_Admin_Page extends List_Admin_Page {
*/
public function get_menu_title() {
- return __('Memberships', 'wp-ultimo');
+ return __('Memberships', 'wp-multisite-waas');
}
/**
@@ -298,7 +298,7 @@ class Membership_List_Admin_Page extends List_Admin_Page {
*/
public function get_submenu_title() {
- return __('Memberships', 'wp-ultimo');
+ return __('Memberships', 'wp-multisite-waas');
}
/**
diff --git a/inc/admin-pages/class-migration-alert-admin-page.php b/inc/admin-pages/class-migration-alert-admin-page.php
index 61370ec..efb0c97 100644
--- a/inc/admin-pages/class-migration-alert-admin-page.php
+++ b/inc/admin-pages/class-migration-alert-admin-page.php
@@ -104,7 +104,7 @@ class Migration_Alert_Admin_Page extends Wizard_Admin_Page {
*/
public function get_title(): string {
- return sprintf(__('Migration', 'wp-ultimo'));
+ return sprintf(__('Migration', 'wp-multisite-waas'));
}
/**
@@ -115,7 +115,7 @@ class Migration_Alert_Admin_Page extends Wizard_Admin_Page {
*/
public function get_menu_title() {
- return WP_Ultimo()->is_loaded() ? __('WP Multisite WaaS Migration Alert', 'wp-ultimo') : __('WP Multisite WaaS', 'wp-ultimo');
+ return WP_Ultimo()->is_loaded() ? __('WP Multisite WaaS Migration Alert', 'wp-multisite-waas') : __('WP Multisite WaaS', 'wp-multisite-waas');
}
/**
@@ -128,7 +128,7 @@ class Migration_Alert_Admin_Page extends Wizard_Admin_Page {
return [
'alert' => [
- 'title' => __('Alert!', 'wp-ultimo'),
+ 'title' => __('Alert!', 'wp-multisite-waas'),
'view' => [$this, 'section_alert'],
'handler' => [$this, 'handle_proceed'],
],
diff --git a/inc/admin-pages/class-payment-edit-admin-page.php b/inc/admin-pages/class-payment-edit-admin-page.php
index c1ce10f..6865209 100644
--- a/inc/admin-pages/class-payment-edit-admin-page.php
+++ b/inc/admin-pages/class-payment-edit-admin-page.php
@@ -167,15 +167,15 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page {
$fields = [
'confirm' => [
'type' => 'toggle',
- 'title' => __('Confirm Deletion', 'wp-ultimo'),
- 'desc' => __('This action can not be undone.', 'wp-ultimo'),
+ 'title' => __('Confirm Deletion', 'wp-multisite-waas'),
+ 'desc' => __('This action can not be undone.', 'wp-multisite-waas'),
'html_attr' => [
'v-model' => 'confirmed',
],
],
'submit_button' => [
'type' => 'submit',
- 'title' => __('Delete', 'wp-ultimo'),
+ 'title' => __('Delete', 'wp-multisite-waas'),
'value' => 'save',
'classes' => 'button button-primary wu-w-full',
'wrapper_classes' => 'wu-items-end',
@@ -227,7 +227,7 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page {
$line_item = wu_get_line_item(wu_request('line_item_id'), $payment->get_id());
if ( ! $payment || ! $line_item) {
- wp_send_json_error(new \WP_Error('not-found', __('Payment not found.', 'wp-ultimo')));
+ wp_send_json_error(new \WP_Error('not-found', __('Payment not found.', 'wp-multisite-waas')));
}
$line_items = $payment->get_line_items();
@@ -266,8 +266,8 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page {
$fields = [
'_amount' => [
'type' => 'text',
- 'title' => __('Refund Amount', 'wp-ultimo'),
- 'placeholder' => __('Refund Amount', 'wp-ultimo'),
+ 'title' => __('Refund Amount', 'wp-multisite-waas'),
+ 'placeholder' => __('Refund Amount', 'wp-multisite-waas'),
'money' => true,
'min' => 0,
'html_attr' => [
@@ -287,15 +287,15 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page {
],
'cancel_membership' => [
'type' => 'toggle',
- 'title' => __('Cancel Related Membership?', 'wp-ultimo'),
- 'desc' => __('Checking this option will cancel the membership as well.', 'wp-ultimo'),
+ 'title' => __('Cancel Related Membership?', 'wp-multisite-waas'),
+ 'desc' => __('Checking this option will cancel the membership as well.', 'wp-multisite-waas'),
'wrapper_html_attr' => [
'v-show' => 'step === 1',
],
],
'refund_not_immediate_note' => [
'type' => 'note',
- 'desc' => __('Confirming the refund might not immediately change the status of the payment, as each gateway handles refunds differently and WP Multisite WaaS relies on the gateway reporting a successful refund before changing the status.', 'wp-ultimo'),
+ 'desc' => __('Confirming the refund might not immediately change the status of the payment, as each gateway handles refunds differently and WP Multisite WaaS relies on the gateway reporting a successful refund before changing the status.', 'wp-multisite-waas'),
'classes' => 'wu-p-2 wu-bg-yellow-200 wu-text-yellow-700 wu-rounded wu-w-full',
'wrapper_html_attr' => [
'v-show' => 'step === 2',
@@ -304,8 +304,8 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page {
],
'confirm' => [
'type' => 'toggle',
- 'title' => __('Confirm Refund', 'wp-ultimo'),
- 'desc' => __('This action can not be undone.', 'wp-ultimo'),
+ 'title' => __('Confirm Refund', 'wp-multisite-waas'),
+ 'desc' => __('This action can not be undone.', 'wp-multisite-waas'),
'wrapper_html_attr' => [
'v-show' => 'step === 2',
],
@@ -315,8 +315,8 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page {
],
'submit_button' => [
'type' => 'submit',
- 'title' => __('Next Step', 'wp-ultimo'),
- 'placeholder' => __('Next Step', 'wp-ultimo'),
+ 'title' => __('Next Step', 'wp-multisite-waas'),
+ 'placeholder' => __('Next Step', 'wp-multisite-waas'),
'value' => 'save',
'classes' => 'button button-primary wu-w-full',
'wrapper_classes' => 'wu-items-end',
@@ -330,8 +330,8 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page {
],
'submit_button_2' => [
'type' => 'submit',
- 'title' => __('Issue Refund', 'wp-ultimo'),
- 'placeholder' => __('Issue Refund', 'wp-ultimo'),
+ 'title' => __('Issue Refund', 'wp-multisite-waas'),
+ 'placeholder' => __('Issue Refund', 'wp-multisite-waas'),
'value' => 'save',
'classes' => 'button button-primary wu-w-full',
'wrapper_classes' => 'wu-items-end',
@@ -385,14 +385,14 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page {
$payment = wu_get_payment(wu_request('id'));
if ( ! $payment) {
- wp_send_json_error(new \WP_Error('not-found', __('Payment not found.', 'wp-ultimo')));
+ wp_send_json_error(new \WP_Error('not-found', __('Payment not found.', 'wp-multisite-waas')));
}
/*
* Checks for a valid amount.
*/
if (empty($amount) || $amount > $payment->get_total()) {
- wp_send_json_error(new \WP_Error('invalid-amount', __('The refund amount is out of bounds.', 'wp-ultimo')));
+ wp_send_json_error(new \WP_Error('invalid-amount', __('The refund amount is out of bounds.', 'wp-multisite-waas')));
}
/*
@@ -402,7 +402,7 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page {
$is_refundable = in_array($payment->get_status(), wu_get_refundable_payment_types(), true);
if ( ! $is_refundable) {
- wp_send_json_error(new \WP_Error('payment-not-refunded', __('This payment is not in a refundable state.', 'wp-ultimo')));
+ wp_send_json_error(new \WP_Error('payment-not-refunded', __('This payment is not in a refundable state.', 'wp-multisite-waas')));
}
/*
@@ -453,7 +453,7 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page {
$gateway = wu_get_gateway($gateway_id);
if ( ! $gateway) {
- wp_send_json_error(new \WP_Error('gateway-not-found', __('Payment gateway not found.', 'wp-ultimo')));
+ wp_send_json_error(new \WP_Error('gateway-not-found', __('Payment gateway not found.', 'wp-multisite-waas')));
}
/*
@@ -482,14 +482,14 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page {
if (is_wp_error($status)) {
// translators: %s is the exception error message.
- $error = new \WP_Error('refund-error', sprintf(__('An error occurred: %s', 'wp-ultimo'), $status->get_error_message()));
+ $error = new \WP_Error('refund-error', sprintf(__('An error occurred: %s', 'wp-multisite-waas'), $status->get_error_message()));
wp_send_json_error($error);
}
} catch (\Throwable $e) {
// translators: %s is the exception error message.
- $error = new \WP_Error('refund-error', sprintf(__('An error occurred: %s', 'wp-ultimo'), $e->getMessage()));
+ $error = new \WP_Error('refund-error', sprintf(__('An error occurred: %s', 'wp-multisite-waas'), $e->getMessage()));
wp_send_json_error($error);
}
@@ -541,7 +541,7 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page {
$product = wu_get_product(wu_request('product_id'));
if (empty($product)) {
- $error = new \WP_Error('missing-product', __('The product was not found.', 'wp-ultimo'));
+ $error = new \WP_Error('missing-product', __('The product was not found.', 'wp-multisite-waas'));
wp_send_json_error($error);
}
@@ -578,7 +578,7 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page {
);
if ( ! in_array($type, $allowed_types, true)) {
- $error = new \WP_Error('invalid-type', __('The line item type is invalid.', 'wp-ultimo'));
+ $error = new \WP_Error('invalid-type', __('The line item type is invalid.', 'wp-multisite-waas'));
wp_send_json_error($error);
}
@@ -610,7 +610,7 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page {
$saved = $payment->recalculate_totals()->save();
if ( ! $saved) {
- wp_send_json_error(new \WP_Error('error', __('Something wrong happened.', 'wp-ultimo')));
+ wp_send_json_error(new \WP_Error('error', __('Something wrong happened.', 'wp-multisite-waas')));
}
if (is_wp_error($saved)) {
@@ -648,9 +648,9 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page {
'tab' => [
'type' => 'tab-select',
'options' => [
- 'type' => __('Type', 'wp-ultimo'),
- 'info' => __('Additional Info', 'wp-ultimo'),
- 'tax' => __('Tax Info', 'wp-ultimo'),
+ 'type' => __('Type', 'wp-multisite-waas'),
+ 'info' => __('Additional Info', 'wp-multisite-waas'),
+ 'tax' => __('Tax Info', 'wp-multisite-waas'),
],
'html_attr' => [
'v-model' => 'tab',
@@ -658,13 +658,13 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page {
],
'type' => [
'type' => 'select',
- 'title' => __('Line Item Type', 'wp-ultimo'),
- 'desc' => __('Select the line item type.', 'wp-ultimo'),
+ 'title' => __('Line Item Type', 'wp-multisite-waas'),
+ 'desc' => __('Select the line item type.', 'wp-multisite-waas'),
'options' => [
- 'product' => __('Product', 'wp-ultimo'),
- 'refund' => __('Refund', 'wp-ultimo'),
- 'fee' => __('Fee', 'wp-ultimo'),
- 'credit' => __('Credit', 'wp-ultimo'),
+ 'product' => __('Product', 'wp-multisite-waas'),
+ 'refund' => __('Refund', 'wp-multisite-waas'),
+ 'fee' => __('Fee', 'wp-multisite-waas'),
+ 'credit' => __('Credit', 'wp-multisite-waas'),
],
'wrapper_html_attr' => [
'v-show' => 'tab === "type"',
@@ -675,9 +675,9 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page {
],
'product_id' => [
'type' => 'model',
- 'title' => __('Product', 'wp-ultimo'),
- 'desc' => __('Product associated with this line item.', 'wp-ultimo'),
- 'placeholder' => __('Search Products', 'wp-ultimo'),
+ 'title' => __('Product', 'wp-multisite-waas'),
+ 'desc' => __('Product associated with this line item.', 'wp-multisite-waas'),
+ 'placeholder' => __('Search Products', 'wp-multisite-waas'),
'value' => $line_item->get_product_id(),
'tooltip' => '',
'wrapper_html_attr' => [
@@ -694,9 +694,9 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page {
],
'title' => [
'type' => 'text',
- 'title' => __('Line Item Title', 'wp-ultimo'),
- 'placeholder' => __('E.g. Extra Charge', 'wp-ultimo'),
- 'desc' => __('This is used when generating invoices.', 'wp-ultimo'),
+ 'title' => __('Line Item Title', 'wp-multisite-waas'),
+ 'placeholder' => __('E.g. Extra Charge', 'wp-multisite-waas'),
+ 'desc' => __('This is used when generating invoices.', 'wp-multisite-waas'),
'value' => $line_item->get_title(),
'wrapper_html_attr' => [
'v-show' => 'tab === "info"',
@@ -704,9 +704,9 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page {
],
'description' => [
'type' => 'textarea',
- 'title' => __('Line Item Description', 'wp-ultimo'),
- 'placeholder' => __('E.g. This service was done to improve performance.', 'wp-ultimo'),
- 'desc' => __('This is used when generating invoices.', 'wp-ultimo'),
+ 'title' => __('Line Item Description', 'wp-multisite-waas'),
+ 'placeholder' => __('E.g. This service was done to improve performance.', 'wp-multisite-waas'),
+ 'desc' => __('This is used when generating invoices.', 'wp-multisite-waas'),
'value' => $line_item->get_description(),
'html_attr' => [
'rows' => 4,
@@ -717,10 +717,10 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page {
],
'quantity' => [
'type' => 'number',
- 'title' => __('Quantity', 'wp-ultimo'),
- 'desc' => __('Item quantity.', 'wp-ultimo'),
+ 'title' => __('Quantity', 'wp-multisite-waas'),
+ 'desc' => __('Item quantity.', 'wp-multisite-waas'),
'value' => $line_item->get_quantity(),
- 'placeholder' => __('E.g. 1', 'wp-ultimo'),
+ 'placeholder' => __('E.g. 1', 'wp-multisite-waas'),
'wrapper_classes' => 'wu-w-1/2',
'wrapper_html_attr' => [
'v-show' => 'type === "product" && tab === "type"',
@@ -738,10 +738,10 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page {
],
'_unit_price' => [
'type' => 'text',
- 'title' => __('Unit Price', 'wp-ultimo'),
- 'desc' => __('Item unit price. This is multiplied by the quantity to calculate the sub-total.', 'wp-ultimo'),
+ 'title' => __('Unit Price', 'wp-multisite-waas'),
+ 'desc' => __('Item unit price. This is multiplied by the quantity to calculate the sub-total.', 'wp-multisite-waas'),
// translators: %s is a price placeholder value.
- 'placeholder' => sprintf(__('E.g. %s', 'wp-ultimo'), wu_format_currency(99)),
+ 'placeholder' => sprintf(__('E.g. %s', 'wp-multisite-waas'), wu_format_currency(99)),
'value' => $line_item->get_unit_price(),
'money' => true,
'wrapper_classes' => 'wu-w-1/2',
@@ -756,10 +756,10 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page {
],
'_unit_price_amount' => [
'type' => 'text',
- 'title' => __('Amount', 'wp-ultimo'),
- 'desc' => __('Refund, credit or fee amount.', 'wp-ultimo'),
+ 'title' => __('Amount', 'wp-multisite-waas'),
+ 'desc' => __('Refund, credit or fee amount.', 'wp-multisite-waas'),
// translators: %s is a price placeholder value.
- 'placeholder' => sprintf(__('E.g. %s', 'wp-ultimo'), wu_format_currency(99)),
+ 'placeholder' => sprintf(__('E.g. %s', 'wp-multisite-waas'), wu_format_currency(99)),
'value' => $line_item->get_unit_price(),
'money' => true,
'wrapper_classes' => 'wu-w-1/2',
@@ -774,8 +774,8 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page {
],
'taxable' => [
'type' => 'toggle',
- 'title' => __('Is Taxable?', 'wp-ultimo'),
- 'desc' => __('Checking this box will toggle the tax controls.', 'wp-ultimo'),
+ 'title' => __('Is Taxable?', 'wp-multisite-waas'),
+ 'desc' => __('Checking this box will toggle the tax controls.', 'wp-multisite-waas'),
'wrapper_html_attr' => [
'v-bind:class' => 'type !== "product" ? "wu-opacity-50" : ""',
'v-show' => 'tab === "tax"',
@@ -787,9 +787,9 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page {
],
'tax_label' => [
'type' => 'text',
- 'title' => __('Tax Label', 'wp-ultimo'),
- 'placeholder' => __('E.g. ES VAT', 'wp-ultimo'),
- 'desc' => __('Tax description. This is shown on invoices to end customers.', 'wp-ultimo'),
+ 'title' => __('Tax Label', 'wp-multisite-waas'),
+ 'placeholder' => __('E.g. ES VAT', 'wp-multisite-waas'),
+ 'desc' => __('Tax description. This is shown on invoices to end customers.', 'wp-multisite-waas'),
'value' => $line_item->get_tax_label(),
'wrapper_html_attr' => [
'v-show' => 'taxable && tab === "tax"',
@@ -797,8 +797,8 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page {
],
'tax_rate_group' => [
'type' => 'group',
- 'title' => __('Tax Rate', 'wp-ultimo'),
- 'desc' => __('Tax rate and type to apply to this item.', 'wp-ultimo'),
+ 'title' => __('Tax Rate', 'wp-multisite-waas'),
+ 'desc' => __('Tax rate and type to apply to this item.', 'wp-multisite-waas'),
'wrapper_html_attr' => [
'v-show' => 'taxable && tab === "tax"',
],
@@ -819,16 +819,16 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page {
'placeholder' => '',
'wrapper_classes' => 'wu-w-2/3',
'options' => [
- 'percentage' => __('Percentage (%)', 'wp-ultimo'),
- 'absolute' => __('Flat Rate ($)', 'wp-ultimo'),
+ 'percentage' => __('Percentage (%)', 'wp-multisite-waas'),
+ 'absolute' => __('Flat Rate ($)', 'wp-multisite-waas'),
],
],
],
],
'submit_button' => [
'type' => 'submit',
- 'title' => __('Save', 'wp-ultimo'),
- 'placeholder' => __('Save', 'wp-ultimo'),
+ 'title' => __('Save', 'wp-multisite-waas'),
+ 'placeholder' => __('Save', 'wp-multisite-waas'),
'value' => 'save',
'classes' => 'wu-w-full button button-primary',
'wrapper_classes' => 'wu-items-end',
@@ -881,7 +881,7 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page {
if ($is_refundable) {
$actions['refund_payment'] = [
- 'label' => __('Refund Payment', 'wp-ultimo'),
+ 'label' => __('Refund Payment', 'wp-multisite-waas'),
'icon_classes' => 'dashicons-wu-ccw wu-align-text-bottom',
'classes' => 'button wubox',
'href' => wu_get_form_url(
@@ -894,7 +894,7 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page {
}
$actions['add_line_item'] = [
- 'label' => __('Add Line Item', 'wp-ultimo'),
+ 'label' => __('Add Line Item', 'wp-multisite-waas'),
'icon_classes' => 'dashicons-wu-circle-with-plus wu-align-text-bottom',
'classes' => 'button wubox',
'href' => wu_get_form_url(
@@ -952,26 +952,26 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page {
$this->add_fields_widget(
'at_a_glance',
[
- 'title' => __('At a Glance', 'wp-ultimo'),
+ 'title' => __('At a Glance', 'wp-multisite-waas'),
'position' => 'normal',
'classes' => 'wu-overflow-hidden wu-widget-inset',
'field_wrapper_classes' => 'wu-w-1/3 wu-box-border wu-items-center wu-flex wu-justify-between wu-p-4 wu-m-0 wu-border-t-0 wu-border-l-0 wu-border-r wu-border-b-0 wu-border-gray-300 wu-border-solid wu-float-left wu-relative',
'fields' => [
'status' => [
'type' => 'text-display',
- 'title' => __('Payment Status', 'wp-ultimo'),
+ 'title' => __('Payment Status', 'wp-multisite-waas'),
'display_value' => $tag,
'tooltip' => '',
],
'hash' => [
'copy' => true,
'type' => 'text-display',
- 'title' => __('Reference ID', 'wp-ultimo'),
+ 'title' => __('Reference ID', 'wp-multisite-waas'),
'display_value' => $this->get_object()->get_hash(),
],
'total' => [
'type' => 'text-display',
- 'title' => __('Total', 'wp-ultimo'),
+ 'title' => __('Total', 'wp-multisite-waas'),
'display_value' => wu_format_currency($this->get_object()->get_total(), $this->get_object()->get_currency()),
'wrapper_classes' => 'sm:wu-border-r-0',
],
@@ -982,7 +982,7 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page {
$this->add_list_table_widget(
'line-items',
[
- 'title' => __('Line Items', 'wp-ultimo'),
+ 'title' => __('Line Items', 'wp-multisite-waas'),
'table' => new \WP_Ultimo\List_Tables\Payment_Line_Item_List_Table(),
'position' => 'normal',
'query_filter' => [$this, 'payments_query_filter'],
@@ -993,7 +993,7 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page {
$this->add_widget(
'tax-rates',
[
- 'title' => __('Tax Rate Breakthrough', 'wp-ultimo'),
+ 'title' => __('Tax Rate Breakthrough', 'wp-multisite-waas'),
'position' => 'normal',
'display' => [$this, 'display_tax_breakthrough'],
]
@@ -1002,7 +1002,7 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page {
$this->add_tabs_widget(
'options',
[
- 'title' => __('Payment Options', 'wp-ultimo'),
+ 'title' => __('Payment Options', 'wp-multisite-waas'),
'position' => 'normal',
'sections' => apply_filters('wu_payments_options_sections', [], $this->get_object()),
]
@@ -1011,7 +1011,7 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page {
$this->add_list_table_widget(
'events',
[
- 'title' => __('Events', 'wp-ultimo'),
+ 'title' => __('Events', 'wp-multisite-waas'),
'table' => new \WP_Ultimo\List_Tables\Inside_Events_List_Table(),
'query_filter' => [$this, 'events_query_filter'],
]
@@ -1037,9 +1037,9 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page {
'fields' => [
'status' => [
'type' => 'select',
- 'title' => __('Status', 'wp-ultimo'),
- 'placeholder' => __('Status', 'wp-ultimo'),
- 'desc' => __('The payment current status.', 'wp-ultimo'),
+ 'title' => __('Status', 'wp-multisite-waas'),
+ 'placeholder' => __('Status', 'wp-multisite-waas'),
+ 'desc' => __('The payment current status.', 'wp-multisite-waas'),
'value' => $this->get_object()->get_status(),
'options' => Payment_Status::to_array(),
'tooltip' => '',
@@ -1052,8 +1052,8 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page {
],
'confirm_membership' => [
'type' => 'toggle',
- 'title' => __('Activate Membership?', 'wp-ultimo'),
- 'desc' => __('This payment belongs to a pending membership. If you toggle this option, this change in status will also apply to the membership. If any sites are pending, they are also going to be published automatically.', 'wp-ultimo'),
+ 'title' => __('Activate Membership?', 'wp-multisite-waas'),
+ 'desc' => __('This payment belongs to a pending membership. If you toggle this option, this change in status will also apply to the membership. If any sites are pending, they are also going to be published automatically.', 'wp-multisite-waas'),
'value' => 0,
'wrapper_html_attr' => [
'v-if' => 'status !== original_status && status === "completed" && membership_status === "pending"',
@@ -1062,8 +1062,8 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page {
],
'membership_id' => [
'type' => 'model',
- 'title' => __('Membership', 'wp-ultimo'),
- 'desc' => __('The membership associated with this payment.', 'wp-ultimo'),
+ 'title' => __('Membership', 'wp-multisite-waas'),
+ 'desc' => __('The membership associated with this payment.', 'wp-multisite-waas'),
'value' => $this->get_object()->get_membership_id(),
'tooltip' => '',
'html_attr' => [
@@ -1081,10 +1081,10 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page {
],
'gateway' => [
'type' => 'text',
- 'title' => __('Gateway', 'wp-ultimo'),
- 'placeholder' => __('e.g. stripe', 'wp-ultimo'),
- 'description' => __('e.g. stripe', 'wp-ultimo'),
- 'desc' => __('Payment gateway used to process the payment.', 'wp-ultimo'),
+ 'title' => __('Gateway', 'wp-multisite-waas'),
+ 'placeholder' => __('e.g. stripe', 'wp-multisite-waas'),
+ 'description' => __('e.g. stripe', 'wp-multisite-waas'),
+ 'desc' => __('Payment gateway used to process the payment.', 'wp-multisite-waas'),
'value' => $this->get_object()->get_gateway(),
'wrapper_classes' => 'wu-w-full',
'html_attr' => [
@@ -1108,7 +1108,7 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page {
$url = apply_filters("wu_{$gateway_id}_remote_payment_url", $this->get_object()->get_gateway_payment_id());
if ($url) {
- return sprintf('%s', esc_attr($url), __('View on Gateway →', 'wp-ultimo'));
+ return sprintf('%s', esc_attr($url), __('View on Gateway →', 'wp-multisite-waas'));
}
return '';
@@ -1120,10 +1120,10 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page {
'fields' => [
'gateway_payment_id' => [
'type' => 'text',
- 'title' => __('Gateway Payment ID', 'wp-ultimo'),
- 'placeholder' => __('e.g. EX897540987913', 'wp-ultimo'),
- 'description' => __('e.g. EX897540987913', 'wp-ultimo'),
- 'tooltip' => __('This will usually be set automatically by the payment gateway.', 'wp-ultimo'),
+ 'title' => __('Gateway Payment ID', 'wp-multisite-waas'),
+ 'placeholder' => __('e.g. EX897540987913', 'wp-multisite-waas'),
+ 'description' => __('e.g. EX897540987913', 'wp-multisite-waas'),
+ 'tooltip' => __('This will usually be set automatically by the payment gateway.', 'wp-multisite-waas'),
'value' => $this->get_object()->get_gateway_payment_id(),
'wrapper_classes' => 'wu-w-full',
'html_attr' => [],
@@ -1134,10 +1134,10 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page {
'invoice_number' => [
'type' => 'number',
'min' => 0,
- 'title' => __('Invoice Number', 'wp-ultimo'),
- 'placeholder' => __('e.g. 20', 'wp-ultimo'),
- 'tooltip' => __('This number gets saved automatically when a payment transitions to a complete state. You can change it to generate invoices with a particular number. The number chosen here has no effect on other invoices in the platform.', 'wp-ultimo'),
- 'desc' => __('The invoice number for this particular payment.', 'wp-ultimo'),
+ 'title' => __('Invoice Number', 'wp-multisite-waas'),
+ 'placeholder' => __('e.g. 20', 'wp-multisite-waas'),
+ 'tooltip' => __('This number gets saved automatically when a payment transitions to a complete state. You can change it to generate invoices with a particular number. The number chosen here has no effect on other invoices in the platform.', 'wp-multisite-waas'),
+ 'desc' => __('The invoice number for this particular payment.', 'wp-multisite-waas'),
'value' => $this->get_object()->get_saved_invoice_number(),
'wrapper_classes' => 'wu-w-full',
'wrapper_html_attr' => [
@@ -1158,7 +1158,7 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page {
*/
public function get_title() {
- return $this->edit ? __('Edit Payment', 'wp-ultimo') : __('Add new Payment', 'wp-ultimo');
+ return $this->edit ? __('Edit Payment', 'wp-multisite-waas') : __('Add new Payment', 'wp-multisite-waas');
}
/**
@@ -1169,7 +1169,7 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page {
*/
public function get_menu_title() {
- return __('Edit Payment', 'wp-ultimo');
+ return __('Edit Payment', 'wp-multisite-waas');
}
/**
@@ -1187,14 +1187,14 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page {
if ($payment) {
$actions[] = [
'url' => $payment->get_invoice_url(),
- 'label' => __('Generate Invoice', 'wp-ultimo'),
+ 'label' => __('Generate Invoice', 'wp-multisite-waas'),
'icon' => 'wu-attachment',
];
if ($payment->is_payable()) {
$actions[] = [
'url' => $payment->get_payment_url(),
- 'label' => __('Payment URL', 'wp-ultimo'),
+ 'label' => __('Payment URL', 'wp-multisite-waas'),
'icon' => 'wu-credit-card',
];
}
@@ -1212,15 +1212,15 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page {
public function get_labels() {
return [
- 'edit_label' => __('Edit Payment', 'wp-ultimo'),
- 'add_new_label' => __('Add new Payment', 'wp-ultimo'),
- 'updated_message' => __('Payment updated with success!', 'wp-ultimo'),
- 'title_placeholder' => __('Enter Payment Name', 'wp-ultimo'),
- 'title_description' => __('This name will be used on pricing tables, invoices, and more.', 'wp-ultimo'),
- 'save_button_label' => __('Save Payment', 'wp-ultimo'),
+ 'edit_label' => __('Edit Payment', 'wp-multisite-waas'),
+ 'add_new_label' => __('Add new Payment', 'wp-multisite-waas'),
+ 'updated_message' => __('Payment updated with success!', 'wp-multisite-waas'),
+ 'title_placeholder' => __('Enter Payment Name', 'wp-multisite-waas'),
+ 'title_description' => __('This name will be used on pricing tables, invoices, and more.', 'wp-multisite-waas'),
+ 'save_button_label' => __('Save Payment', 'wp-multisite-waas'),
'save_description' => '',
- 'delete_button_label' => __('Delete Payment', 'wp-ultimo'),
- 'delete_description' => __('Be careful. This action is irreversible.', 'wp-ultimo'),
+ 'delete_button_label' => __('Delete Payment', 'wp-multisite-waas'),
+ 'delete_description' => __('Be careful. This action is irreversible.', 'wp-multisite-waas'),
];
}
diff --git a/inc/admin-pages/class-payment-list-admin-page.php b/inc/admin-pages/class-payment-list-admin-page.php
index fad858e..c3a0ae9 100644
--- a/inc/admin-pages/class-payment-list-admin-page.php
+++ b/inc/admin-pages/class-payment-list-admin-page.php
@@ -87,9 +87,9 @@ class Payment_List_Admin_Page extends List_Admin_Page {
$fields = [
'products' => [
'type' => 'model',
- 'title' => __('Products', 'wp-ultimo'),
- 'placeholder' => __('Search Products...', 'wp-ultimo'),
- 'desc' => __('Each product will be added as a line item.', 'wp-ultimo'),
+ 'title' => __('Products', 'wp-multisite-waas'),
+ 'placeholder' => __('Search Products...', 'wp-multisite-waas'),
+ 'desc' => __('Each product will be added as a line item.', 'wp-multisite-waas'),
'value' => '',
'tooltip' => '',
'html_attr' => [
@@ -102,18 +102,18 @@ class Payment_List_Admin_Page extends List_Admin_Page {
],
'status' => [
'type' => 'select',
- 'title' => __('Status', 'wp-ultimo'),
- 'placeholder' => __('Status', 'wp-ultimo'),
- 'desc' => __('The payment status to attach to the newly created payment.', 'wp-ultimo'),
+ 'title' => __('Status', 'wp-multisite-waas'),
+ 'placeholder' => __('Status', 'wp-multisite-waas'),
+ 'desc' => __('The payment status to attach to the newly created payment.', 'wp-multisite-waas'),
'value' => Payment_Status::COMPLETED,
'options' => Payment_Status::to_array(),
'tooltip' => '',
],
'membership_id' => [
'type' => 'model',
- 'title' => __('Membership', 'wp-ultimo'),
- 'placeholder' => __('Search Membership...', 'wp-ultimo'),
- 'desc' => __('The membership associated with this payment.', 'wp-ultimo'),
+ 'title' => __('Membership', 'wp-multisite-waas'),
+ 'placeholder' => __('Search Membership...', 'wp-multisite-waas'),
+ 'desc' => __('The membership associated with this payment.', 'wp-multisite-waas'),
'value' => '',
'tooltip' => '',
'html_attr' => [
@@ -126,13 +126,13 @@ class Payment_List_Admin_Page extends List_Admin_Page {
],
'add_setup_fees' => [
'type' => 'toggle',
- 'title' => __('Include Setup Fees', 'wp-ultimo'),
- 'desc' => __('Checking this box will include setup fees attached to the selected products as well.', 'wp-ultimo'),
+ 'title' => __('Include Setup Fees', 'wp-multisite-waas'),
+ 'desc' => __('Checking this box will include setup fees attached to the selected products as well.', 'wp-multisite-waas'),
'value' => 1,
],
'submit_button' => [
'type' => 'submit',
- 'title' => __('Add Payment', 'wp-ultimo'),
+ 'title' => __('Add Payment', 'wp-multisite-waas'),
'value' => 'save',
'classes' => 'wu-w-full button button-primary',
'wrapper_classes' => 'wu-items-end',
@@ -172,7 +172,7 @@ class Payment_List_Admin_Page extends List_Admin_Page {
$membership = wu_get_membership(wu_request('membership_id'));
if ( ! $membership) {
- $error = new \WP_Error('invalid-membership', __('Invalid membership.', 'wp-ultimo'));
+ $error = new \WP_Error('invalid-membership', __('Invalid membership.', 'wp-multisite-waas'));
return wp_send_json_error($error);
}
@@ -228,8 +228,8 @@ class Payment_List_Admin_Page extends List_Admin_Page {
public function get_labels() {
return [
- 'deleted_message' => __('Payment removed successfully.', 'wp-ultimo'),
- 'search_label' => __('Search Payment', 'wp-ultimo'),
+ 'deleted_message' => __('Payment removed successfully.', 'wp-multisite-waas'),
+ 'search_label' => __('Search Payment', 'wp-multisite-waas'),
];
}
@@ -241,7 +241,7 @@ class Payment_List_Admin_Page extends List_Admin_Page {
*/
public function get_title() {
- return __('Payments', 'wp-ultimo');
+ return __('Payments', 'wp-multisite-waas');
}
/**
@@ -252,7 +252,7 @@ class Payment_List_Admin_Page extends List_Admin_Page {
*/
public function get_menu_title() {
- return __('Payments', 'wp-ultimo');
+ return __('Payments', 'wp-multisite-waas');
}
/**
@@ -263,7 +263,7 @@ class Payment_List_Admin_Page extends List_Admin_Page {
*/
public function get_submenu_title() {
- return __('Payments', 'wp-ultimo');
+ return __('Payments', 'wp-multisite-waas');
}
/**
@@ -276,7 +276,7 @@ class Payment_List_Admin_Page extends List_Admin_Page {
return [
[
- 'label' => __('Add Payment', 'wp-ultimo'),
+ 'label' => __('Add Payment', 'wp-multisite-waas'),
'icon' => 'wu-circle-with-plus',
'classes' => 'wubox',
'url' => wu_get_form_url('add_new_payment'),
diff --git a/inc/admin-pages/class-placeholders-admin-page.php b/inc/admin-pages/class-placeholders-admin-page.php
index 0162e8e..4d0f2ed 100644
--- a/inc/admin-pages/class-placeholders-admin-page.php
+++ b/inc/admin-pages/class-placeholders-admin-page.php
@@ -70,7 +70,7 @@ class Placeholders_Admin_Page extends Base_Admin_Page {
*/
public function get_title() {
- return __('Edit Template Placeholders', 'wp-ultimo');
+ return __('Edit Template Placeholders', 'wp-multisite-waas');
}
/**
@@ -81,7 +81,7 @@ class Placeholders_Admin_Page extends Base_Admin_Page {
*/
public function get_menu_title() {
- return __('Edit Template Placeholders', 'wp-ultimo');
+ return __('Edit Template Placeholders', 'wp-multisite-waas');
}
/**
@@ -92,7 +92,7 @@ class Placeholders_Admin_Page extends Base_Admin_Page {
*/
public function get_submenu_title() {
- return __('Edit Template Placeholders', 'wp-ultimo');
+ return __('Edit Template Placeholders', 'wp-multisite-waas');
}
/**
@@ -108,8 +108,8 @@ class Placeholders_Admin_Page extends Base_Admin_Page {
$columns = apply_filters(
'wu_edit_placeholders_columns',
[
- 'placeholder' => __('Placeholder', 'wp-ultimo'),
- 'content' => __('Content', 'wp-ultimo'),
+ 'placeholder' => __('Placeholder', 'wp-multisite-waas'),
+ 'content' => __('Content', 'wp-multisite-waas'),
]
);
@@ -138,9 +138,9 @@ class Placeholders_Admin_Page extends Base_Admin_Page {
'wu-edit-placeholders',
'wu_placeholdersl10n',
[
- 'name' => __('Tax', 'wp-ultimo'),
- 'confirm_message' => __('Are you sure you want to delete this rows?', 'wp-ultimo'),
- 'confirm_delete_tax_category_message' => __('Are you sure you want to delete this tax category?', 'wp-ultimo'),
+ 'name' => __('Tax', 'wp-multisite-waas'),
+ 'confirm_message' => __('Are you sure you want to delete this rows?', 'wp-multisite-waas'),
+ 'confirm_delete_tax_category_message' => __('Are you sure you want to delete this tax category?', 'wp-multisite-waas'),
]
);
diff --git a/inc/admin-pages/class-product-edit-admin-page.php b/inc/admin-pages/class-product-edit-admin-page.php
index 7673899..f1fa04a 100644
--- a/inc/admin-pages/class-product-edit-admin-page.php
+++ b/inc/admin-pages/class-product-edit-admin-page.php
@@ -116,16 +116,16 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page {
[
[
'id' => 'new-product-warning',
- 'title' => __('On adding a new product...', 'wp-ultimo'),
+ 'title' => __('On adding a new product...', 'wp-multisite-waas'),
'text' => [
- __("You just successfully added a new product to your WP Multisite WaaS network and that's awesome!", 'wp-ultimo'),
- __('Keep in mind that newly created products do not appear automatically in your checkout forms.', 'wp-ultimo'),
- __('To make a product available on registration, you will need to manually add it to the pricing table field of your checkout forms.', 'wp-ultimo'),
+ __("You just successfully added a new product to your WP Multisite WaaS network and that's awesome!", 'wp-multisite-waas'),
+ __('Keep in mind that newly created products do not appear automatically in your checkout forms.', 'wp-multisite-waas'),
+ __('To make a product available on registration, you will need to manually add it to the pricing table field of your checkout forms.', 'wp-multisite-waas'),
],
'buttons' => [
[
'classes' => 'button wu-text-xs sm:wu-normal-case wu-float-left',
- 'text' => __('Go to Checkout Forms', 'wp-ultimo'),
+ 'text' => __('Go to Checkout Forms', 'wp-multisite-waas'),
'url' => wu_network_admin_url('wp-ultimo-checkout-forms'),
],
],
@@ -153,9 +153,9 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page {
$custom_fields = [
're_assignment_product_id' => [
'type' => 'model',
- 'title' => __('Re-assign Memberships to', 'wp-ultimo'),
- 'placeholder' => __('Select Product...', 'wp-ultimo'),
- 'tooltip' => __('The product you select here will be assigned to all the memberships attached to the product you are deleting.', 'wp-ultimo'),
+ 'title' => __('Re-assign Memberships to', 'wp-multisite-waas'),
+ 'placeholder' => __('Select Product...', 'wp-multisite-waas'),
+ 'tooltip' => __('The product you select here will be assigned to all the memberships attached to the product you are deleting.', 'wp-multisite-waas'),
'html_attr' => [
'data-model' => 'product',
'data-value-field' => 'id',
@@ -225,14 +225,14 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page {
$this->add_fields_widget(
'description',
[
- 'title' => __('Description', 'wp-ultimo'),
+ 'title' => __('Description', 'wp-multisite-waas'),
'position' => 'normal',
'fields' => [
'description' => [
'type' => 'textarea',
- 'title' => __('Product Description', 'wp-ultimo'),
- 'placeholder' => __('Tell your customers what this product is about.', 'wp-ultimo'),
- 'tooltip' => __('This description is made available for layouts and can be shown to end customers.', 'wp-ultimo'),
+ 'title' => __('Product Description', 'wp-multisite-waas'),
+ 'placeholder' => __('Tell your customers what this product is about.', 'wp-multisite-waas'),
+ 'tooltip' => __('This description is made available for layouts and can be shown to end customers.', 'wp-multisite-waas'),
'value' => $this->get_object()->get_description(),
'html_attr' => [
'rows' => 3,
@@ -245,7 +245,7 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page {
$this->add_tabs_widget(
'product_options',
[
- 'title' => __('Product Options', 'wp-ultimo'),
+ 'title' => __('Product Options', 'wp-multisite-waas'),
'position' => 'normal',
'sections' => $this->get_product_option_sections(),
]
@@ -259,7 +259,7 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page {
$this->add_list_table_widget(
'events',
[
- 'title' => __('Events', 'wp-ultimo'),
+ 'title' => __('Events', 'wp-multisite-waas'),
'table' => new \WP_Ultimo\List_Tables\Inside_Events_List_Table(),
'query_filter' => [$this, 'query_filter'],
]
@@ -287,15 +287,15 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page {
// Fields for price
'pricing_type' => [
'type' => 'select',
- 'title' => __('Pricing Type', 'wp-ultimo'),
- 'placeholder' => __('Select Pricing Type', 'wp-ultimo'),
- 'desc' => __('Products can be free, paid, or require further contact for pricing.', 'wp-ultimo'),
+ 'title' => __('Pricing Type', 'wp-multisite-waas'),
+ 'placeholder' => __('Select Pricing Type', 'wp-multisite-waas'),
+ 'desc' => __('Products can be free, paid, or require further contact for pricing.', 'wp-multisite-waas'),
'value' => $this->get_object()->get_pricing_type(),
'tooltip' => '',
'options' => [
- 'paid' => __('Paid', 'wp-ultimo'),
- 'free' => __('Free', 'wp-ultimo'),
- 'contact_us' => __('Contact Us', 'wp-ultimo'),
+ 'paid' => __('Paid', 'wp-multisite-waas'),
+ 'free' => __('Free', 'wp-multisite-waas'),
+ 'contact_us' => __('Contact Us', 'wp-multisite-waas'),
],
'wrapper_html_attr' => [
'v-cloak' => '1',
@@ -306,9 +306,9 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page {
],
'contact_us_label' => [
'type' => 'text',
- 'title' => __('Button Label', 'wp-ultimo'),
- 'placeholder' => __('E.g. Contact us', 'wp-ultimo'),
- 'desc' => __('This will be used on the pricing table CTA button, as the label.', 'wp-ultimo'),
+ 'title' => __('Button Label', 'wp-multisite-waas'),
+ 'placeholder' => __('E.g. Contact us', 'wp-multisite-waas'),
+ 'desc' => __('This will be used on the pricing table CTA button, as the label.', 'wp-multisite-waas'),
'value' => $this->get_object()->get_contact_us_label(),
'wrapper_html_attr' => [
'v-show' => "pricing_type == 'contact_us'",
@@ -317,9 +317,9 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page {
],
'contact_us_link' => [
'type' => 'url',
- 'title' => __('Button Link', 'wp-ultimo'),
- 'placeholder' => __('E.g. https://contactus.page.com', 'wp-ultimo'),
- 'desc' => __('This will be used on the pricing table CTA button.', 'wp-ultimo'),
+ 'title' => __('Button Link', 'wp-multisite-waas'),
+ 'placeholder' => __('E.g. https://contactus.page.com', 'wp-multisite-waas'),
+ 'desc' => __('This will be used on the pricing table CTA button.', 'wp-multisite-waas'),
'value' => $this->get_object()->get_contact_us_link(),
'wrapper_html_attr' => [
'v-show' => "pricing_type == 'contact_us'",
@@ -328,8 +328,8 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page {
],
'recurring' => [
'type' => 'toggle',
- 'title' => __('Is Recurring?', 'wp-ultimo'),
- 'desc' => __('Check this if this product has a recurring charge.', 'wp-ultimo'),
+ 'title' => __('Is Recurring?', 'wp-multisite-waas'),
+ 'desc' => __('Check this if this product has a recurring charge.', 'wp-multisite-waas'),
'value' => $this->get_object()->is_recurring(),
'wrapper_html_attr' => [
'v-show' => "pricing_type == 'paid'",
@@ -347,8 +347,8 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page {
],
'_amount' => [
'type' => 'text',
- 'title' => __('Price', 'wp-ultimo'),
- 'placeholder' => __('Price', 'wp-ultimo'),
+ 'title' => __('Price', 'wp-multisite-waas'),
+ 'placeholder' => __('Price', 'wp-multisite-waas'),
'value' => $this->get_object()->get_formatted_amount(),
'tooltip' => '',
'money' => true,
@@ -363,9 +363,9 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page {
],
'amount_group' => [
'type' => 'group',
- 'title' => __('Price', 'wp-ultimo'),
+ 'title' => __('Price', 'wp-multisite-waas'),
// translators: placeholder %1$s is the amount, %2$s is the duration (such as 1, 2, 3), and %3$s is the unit (such as month, year, week)
- 'desc' => sprintf(__('The customer will be charged %1$s every %2$s %3$s(s).', 'wp-ultimo'), '{{ wu_format_money(amount) }}', '{{ duration }}', '{{ duration_unit }}'),
+ 'desc' => sprintf(__('The customer will be charged %1$s every %2$s %3$s(s).', 'wp-multisite-waas'), '{{ wu_format_money(amount) }}', '{{ duration }}', '{{ duration_unit }}'),
'tooltip' => '',
'wrapper_html_attr' => [
'v-show' => "is_recurring && pricing_type == 'paid'",
@@ -403,19 +403,19 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page {
'v-model' => 'duration_unit',
],
'options' => [
- 'day' => __('Days', 'wp-ultimo'),
- 'week' => __('Weeks', 'wp-ultimo'),
- 'month' => __('Months', 'wp-ultimo'),
- 'year' => __('Years', 'wp-ultimo'),
+ 'day' => __('Days', 'wp-multisite-waas'),
+ 'week' => __('Weeks', 'wp-multisite-waas'),
+ 'month' => __('Months', 'wp-multisite-waas'),
+ 'year' => __('Years', 'wp-multisite-waas'),
],
],
],
],
'billing_cycles' => [
'type' => 'number',
- 'title' => __('Billing Cycles', 'wp-ultimo'),
- 'placeholder' => __('E.g. 1', 'wp-ultimo'),
- 'desc' => __('How many times should we bill this customer. Leave 0 to charge until cancelled.', 'wp-ultimo'),
+ 'title' => __('Billing Cycles', 'wp-multisite-waas'),
+ 'placeholder' => __('E.g. 1', 'wp-multisite-waas'),
+ 'desc' => __('How many times should we bill this customer. Leave 0 to charge until cancelled.', 'wp-multisite-waas'),
'value' => $this->get_object()->get_billing_cycles(),
'tooltip' => '',
'wrapper_html_attr' => [
@@ -425,8 +425,8 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page {
],
'has_trial' => [
'type' => 'toggle',
- 'title' => __('Offer Trial', 'wp-ultimo'),
- 'desc' => __('Check if you want to add a trial period to this product.', 'wp-ultimo'),
+ 'title' => __('Offer Trial', 'wp-multisite-waas'),
+ 'desc' => __('Check if you want to add a trial period to this product.', 'wp-multisite-waas'),
'value' => $this->get_object()->has_trial(),
'wrapper_html_attr' => [
'v-show' => "pricing_type == 'paid'",
@@ -438,7 +438,7 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page {
],
'trial_group' => [
'type' => 'group',
- 'title' => __('Trial', 'wp-ultimo'),
+ 'title' => __('Trial', 'wp-multisite-waas'),
'tooltip' => '',
'wrapper_html_attr' => [
'v-show' => "has_trial && pricing_type == 'paid'",
@@ -457,18 +457,18 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page {
'placeholder' => '',
'wrapper_classes' => 'wu-w-2/3',
'options' => [
- 'day' => __('Days', 'wp-ultimo'),
- 'week' => __('Weeks', 'wp-ultimo'),
- 'month' => __('Months', 'wp-ultimo'),
- 'year' => __('Years', 'wp-ultimo'),
+ 'day' => __('Days', 'wp-multisite-waas'),
+ 'week' => __('Weeks', 'wp-multisite-waas'),
+ 'month' => __('Months', 'wp-multisite-waas'),
+ 'year' => __('Years', 'wp-multisite-waas'),
],
],
],
],
'has_setup_fee' => [
'type' => 'toggle',
- 'title' => __('Add Setup Fee?', 'wp-ultimo'),
- 'desc' => __('Check if you want to add a setup fee.', 'wp-ultimo'),
+ 'title' => __('Add Setup Fee?', 'wp-multisite-waas'),
+ 'desc' => __('Check if you want to add a setup fee.', 'wp-multisite-waas'),
'value' => $this->get_object()->has_setup_fee(),
'wrapper_html_attr' => [
'v-show' => "pricing_type == 'paid'",
@@ -487,10 +487,10 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page {
'_setup_fee' => [
'type' => 'text',
'money' => true,
- 'title' => __('Setup Fee', 'wp-ultimo'),
- 'desc' => __('The setup fee will be added to the first charge, in addition to the regular price of the product.', 'wp-ultimo'),
+ 'title' => __('Setup Fee', 'wp-multisite-waas'),
+ 'desc' => __('The setup fee will be added to the first charge, in addition to the regular price of the product.', 'wp-multisite-waas'),
// translators: %s is a price placeholder value.
- 'placeholder' => sprintf(__('E.g. %s', 'wp-ultimo'), wu_format_currency(199)),
+ 'placeholder' => sprintf(__('E.g. %s', 'wp-multisite-waas'), wu_format_currency(199)),
'value' => $this->get_object()->get_formatted_amount('setup_fee'),
'wrapper_html_attr' => [
'v-show' => "has_setup_fee && pricing_type == 'paid'",
@@ -510,12 +510,12 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page {
$this->add_fields_widget(
'active',
[
- 'title' => __('Active', 'wp-ultimo'),
+ 'title' => __('Active', 'wp-multisite-waas'),
'fields' => [
'active' => [
'type' => 'toggle',
- 'title' => __('Active', 'wp-ultimo'),
- 'desc' => __('Use this option to manually enable or disable this product for new sign-ups.', 'wp-ultimo'),
+ 'title' => __('Active', 'wp-multisite-waas'),
+ 'desc' => __('Use this option to manually enable or disable this product for new sign-ups.', 'wp-multisite-waas'),
'value' => $this->get_object()->is_active(),
],
],
@@ -525,13 +525,13 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page {
$this->add_fields_widget(
'image',
[
- 'title' => __('Product Image', 'wp-ultimo'),
+ 'title' => __('Product Image', 'wp-multisite-waas'),
'fields' => [
'featured_image_id' => [
'type' => 'image',
'stacked' => true,
- 'title' => __('Product Image', 'wp-ultimo'),
- 'desc' => __('This image is used on product list tables and other places.', 'wp-ultimo'),
+ 'title' => __('Product Image', 'wp-multisite-waas'),
+ 'desc' => __('This image is used on product list tables and other places.', 'wp-multisite-waas'),
'value' => $this->get_object()->get_featured_image_id(),
'img' => $this->get_object()->get_featured_image(),
],
@@ -570,9 +570,9 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page {
$fields = [
'heading' => [
'type' => 'header',
- 'title' => __('Legacy Options', 'wp-ultimo'),
+ 'title' => __('Legacy Options', 'wp-multisite-waas'),
// translators: %s is the name of legacy add-ons.
- 'desc' => sprintf(__('Options for %s, and others.', 'wp-ultimo'), implode(', ', $tabs)),
+ 'desc' => sprintf(__('Options for %s, and others.', 'wp-multisite-waas'), implode(', ', $tabs)),
],
];
@@ -592,7 +592,7 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page {
$this->add_fields_widget(
'legacy-options',
[
- 'title' => __('Legacy Options', 'wp-ultimo'),
+ 'title' => __('Legacy Options', 'wp-multisite-waas'),
'position' => 'normal',
'fields' => $fields,
'classes' => 'wu-legacy-options-panel',
@@ -618,8 +618,8 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page {
$sections = [
'general' => [
- 'title' => __('General', 'wp-ultimo'),
- 'desc' => __('General product options such as product slug, type, etc.', 'wp-ultimo'),
+ 'title' => __('General', 'wp-multisite-waas'),
+ 'desc' => __('General product options such as product slug, type, etc.', 'wp-multisite-waas'),
'icon' => 'dashicons-wu-globe',
'state' => [
'slug' => $this->get_object()->get_slug(),
@@ -628,11 +628,11 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page {
'fields' => [
'slug' => [
'type' => 'text',
- 'title' => __('Product Slug', 'wp-ultimo'),
- 'placeholder' => __('e.g. premium', 'wp-ultimo'),
- 'desc' => __('This serves as a id to the product in a number of different contexts.', 'wp-ultimo'),
+ 'title' => __('Product Slug', 'wp-multisite-waas'),
+ 'placeholder' => __('e.g. premium', 'wp-multisite-waas'),
+ 'desc' => __('This serves as a id to the product in a number of different contexts.', 'wp-multisite-waas'),
'value' => $this->get_object()->get_slug(),
- 'tooltip' => __('Lowercase alpha-numeric characters with dashes or underlines. No spaces allowed.', 'wp-ultimo'),
+ 'tooltip' => __('Lowercase alpha-numeric characters with dashes or underlines. No spaces allowed.', 'wp-multisite-waas'),
'html_attr' => [
'v-on:input' => 'slug = $event.target.value.toLowerCase().replace(/[^a-z0-9-_]+/g, "")',
'v-bind:value' => 'slug',
@@ -641,9 +641,9 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page {
// Fields for price
'type' => [
'type' => 'select',
- 'title' => __('Product Type', 'wp-ultimo'),
- 'placeholder' => __('Product Type', 'wp-ultimo'),
- 'desc' => __('Different product types have different options.', 'wp-ultimo'),
+ 'title' => __('Product Type', 'wp-multisite-waas'),
+ 'placeholder' => __('Product Type', 'wp-multisite-waas'),
+ 'desc' => __('Different product types have different options.', 'wp-multisite-waas'),
'value' => $this->get_object()->get_type(),
'tooltip' => '',
'options' => Product_Type::to_array(),
@@ -652,8 +652,8 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page {
],
],
'modules[customer_user_role][limit]' => [
- 'title' => __('Customer Role', 'wp-ultimo'),
- 'desc' => __('Select the role WP Multisite WaaS should use when adding the user to their newly created site.', 'wp-ultimo'),
+ 'title' => __('Customer Role', 'wp-multisite-waas'),
+ 'desc' => __('Select the role WP Multisite WaaS should use when adding the user to their newly created site.', 'wp-multisite-waas'),
'type' => 'select',
'value' => $this->get_object()->get_customer_role(),
'default' => 'administrator',
@@ -668,36 +668,36 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page {
];
$sections['ups-and-downs'] = [
- 'title' => __('Up & Downgrades', 'wp-ultimo'),
- 'desc' => __('Settings related to upgrade and downgrade flows.', 'wp-ultimo'),
+ 'title' => __('Up & Downgrades', 'wp-multisite-waas'),
+ 'desc' => __('Settings related to upgrade and downgrade flows.', 'wp-multisite-waas'),
'icon' => 'dashicons-wu-shop',
'v-show' => 'product_type === "plan"',
'state' => [],
'fields' => [
'group' => [
- 'title' => __('Plan Group', 'wp-ultimo'),
- 'desc' => __('Add related plans to the same group to have them show up as upgrade/downgrade paths.', 'wp-ultimo'),
- 'placeholder' => __('Type and press enter to search and/or add.', 'wp-ultimo'),
+ 'title' => __('Plan Group', 'wp-multisite-waas'),
+ 'desc' => __('Add related plans to the same group to have them show up as upgrade/downgrade paths.', 'wp-multisite-waas'),
+ 'placeholder' => __('Type and press enter to search and/or add.', 'wp-multisite-waas'),
'type' => 'select',
'value' => $this->get_object()->get_group(),
- 'options' => array_merge(['' => __('Select Group', 'wp-ultimo')], wu_get_product_groups()),
+ 'options' => array_merge(['' => __('Select Group', 'wp-multisite-waas')], wu_get_product_groups()),
'html_attr' => [
'data-selectize-categories' => 999,
'data-max-items' => 1,
],
],
'list_order' => [
- 'title' => __('Product Order', 'wp-ultimo'),
- 'desc' => __('Plans are shown in the order determined by this parameter, from the lowest to the highest.', 'wp-ultimo'),
- 'placeholder' => __('Type and press enter to search and/or add.', 'wp-ultimo'),
+ 'title' => __('Product Order', 'wp-multisite-waas'),
+ 'desc' => __('Plans are shown in the order determined by this parameter, from the lowest to the highest.', 'wp-multisite-waas'),
+ 'placeholder' => __('Type and press enter to search and/or add.', 'wp-multisite-waas'),
'type' => 'number',
'value' => $this->get_object()->get_list_order(),
],
'available_addons' => [
'type' => 'model',
- 'title' => __('Offer Add-ons', 'wp-ultimo'),
- 'placeholder' => __('Search for a package or service', 'wp-ultimo'),
- 'desc' => __('This products will be offered inside upgrade/downgrade forms as order bumps.', 'wp-ultimo'),
+ 'title' => __('Offer Add-ons', 'wp-multisite-waas'),
+ 'placeholder' => __('Search for a package or service', 'wp-multisite-waas'),
+ 'desc' => __('This products will be offered inside upgrade/downgrade forms as order bumps.', 'wp-multisite-waas'),
'html_attr' => [
'data-exclude' => implode(',', array_keys(wu_get_plans_as_options())),
'data-model' => 'product',
@@ -719,8 +719,8 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page {
];
$sections['price-variations'] = [
- 'title' => __('Price Variations', 'wp-ultimo'),
- 'desc' => __('Discounts for longer membership commitments.', 'wp-ultimo'),
+ 'title' => __('Price Variations', 'wp-multisite-waas'),
+ 'desc' => __('Discounts for longer membership commitments.', 'wp-multisite-waas'),
'icon' => 'dashicons-wu-price-tag',
'state' => [
'enable_price_variations' => ! empty($this->get_object()->get_price_variations()),
@@ -729,8 +729,8 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page {
'fields' => [
'enable_price_variations' => [
'type' => 'toggle',
- 'title' => __('Enable Price Variations', 'wp-ultimo'),
- 'desc' => __('Price Variations are an easy way to offer discounted prices for longer subscription commitments.', 'wp-ultimo'),
+ 'title' => __('Enable Price Variations', 'wp-multisite-waas'),
+ 'desc' => __('Price Variations are an easy way to offer discounted prices for longer subscription commitments.', 'wp-multisite-waas'),
'value' => false,
'html_attr' => [
'v-model' => 'enable_price_variations',
@@ -739,7 +739,7 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page {
'price_variations' => [
'type' => 'group',
// translators: 1 is the price, 2 is the duration and 3 the duration unit
- 'desc' => sprintf(__('A discounted price of %1$s will be used when memberships are created with the recurrence of %2$s %3$s(s) instead of the regular period.', 'wp-ultimo'), '{{ wu_format_money(price_variation.amount) }}', '{{ price_variation.duration }}', '{{ price_variation.duration_unit }}'),
+ 'desc' => sprintf(__('A discounted price of %1$s will be used when memberships are created with the recurrence of %2$s %3$s(s) instead of the regular period.', 'wp-multisite-waas'), '{{ wu_format_money(price_variation.amount) }}', '{{ price_variation.duration }}', '{{ price_variation.duration_unit }}'),
'tooltip' => '',
'wrapper_classes' => 'wu-relative',
'wrapper_html_attr' => [
@@ -750,12 +750,12 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page {
'fields' => [
'price_variations_remove' => [
'type' => 'note',
- 'desc' => sprintf(' price_variations.splice(index, 1)">', __('Remove', 'wp-ultimo')),
+ 'desc' => sprintf(' price_variations.splice(index, 1)">', __('Remove', 'wp-multisite-waas')),
'wrapper_classes' => 'wu-absolute wu-top-0 wu-right-0',
],
'price_variations_duration' => [
'type' => 'number',
- 'title' => __('Duration', 'wp-ultimo'),
+ 'title' => __('Duration', 'wp-multisite-waas'),
'placeholder' => '',
'wrapper_classes' => 'wu-w-1/3',
'min' => 1,
@@ -767,7 +767,7 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page {
],
'price_variations_duration_unit' => [
'type' => 'select',
- 'title' => __('Period', 'wp-ultimo'),
+ 'title' => __('Period', 'wp-multisite-waas'),
'placeholder' => '',
'wrapper_classes' => 'wu-w-1/3 wu-mx-2',
'html_attr' => [
@@ -775,10 +775,10 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page {
'v-bind:name' => '"price_variations[" + index + "][duration_unit]"',
],
'options' => [
- 'day' => __('Days', 'wp-ultimo'),
- 'week' => __('Weeks', 'wp-ultimo'),
- 'month' => __('Months', 'wp-ultimo'),
- 'year' => __('Years', 'wp-ultimo'),
+ 'day' => __('Days', 'wp-multisite-waas'),
+ 'week' => __('Weeks', 'wp-multisite-waas'),
+ 'month' => __('Months', 'wp-multisite-waas'),
+ 'year' => __('Years', 'wp-multisite-waas'),
],
],
// Bind the amount of the price variation to another field so we don't send the formatted value to the server.
@@ -791,7 +791,7 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page {
],
'_price_variations_amount' => [
'type' => 'text',
- 'title' => __('New Price', 'wp-ultimo'),
+ 'title' => __('New Price', 'wp-multisite-waas'),
'placeholder' => wu_format_currency('99'),
'wrapper_classes' => 'wu-w-1/3',
'money' => true,
@@ -804,7 +804,7 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page {
],
'repeat' => [
'type' => 'submit',
- 'title' => __('Add new Price Variation', 'wp-ultimo'),
+ 'title' => __('Add new Price Variation', 'wp-multisite-waas'),
'classes' => 'button wu-self-end',
'wrapper_classes' => 'wu-bg-whiten wu-items-end',
'wrapper_html_attr' => [
@@ -823,8 +823,8 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page {
];
$sections['taxes'] = [
- 'title' => __('Taxes', 'wp-ultimo'),
- 'desc' => __('Tax settings for your products.', 'wp-ultimo'),
+ 'title' => __('Taxes', 'wp-multisite-waas'),
+ 'desc' => __('Tax settings for your products.', 'wp-multisite-waas'),
'icon' => 'dashicons-wu-credit',
'state' => [
'taxable' => $this->get_object()->is_taxable(),
@@ -832,8 +832,8 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page {
'fields' => [
'taxable' => [
'type' => 'toggle',
- 'title' => __('Is Taxable?', 'wp-ultimo'),
- 'desc' => __('Enable this if you plan to collect taxes for this product.', 'wp-ultimo'),
+ 'title' => __('Is Taxable?', 'wp-multisite-waas'),
+ 'desc' => __('Enable this if you plan to collect taxes for this product.', 'wp-multisite-waas'),
'value' => $this->get_object()->is_taxable(),
'html_attr' => [
'v-model' => 'taxable',
@@ -841,8 +841,8 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page {
],
'tax_category' => [
'type' => 'select',
- 'title' => __('Tax Category', 'wp-ultimo'),
- 'desc' => __('Select the product tax category.', 'wp-ultimo'),
+ 'title' => __('Tax Category', 'wp-multisite-waas'),
+ 'desc' => __('Select the product tax category.', 'wp-multisite-waas'),
'value' => $this->get_object()->get_tax_category(),
'options' => 'wu_get_tax_categories_as_options',
'wrapper_html_attr' => [
@@ -854,8 +854,8 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page {
];
$sections['allowed_templates'] = [
- 'title' => __('Site Templates', 'wp-ultimo'),
- 'desc' => __('Limit which site templates are available for this particular template.', 'wp-ultimo'),
+ 'title' => __('Site Templates', 'wp-multisite-waas'),
+ 'desc' => __('Limit which site templates are available for this particular template.', 'wp-multisite-waas'),
'icon' => 'dashicons-wu-grid1 wu-align-text-bottom',
'v-show' => "get_state_value('product_type', 'none') !== 'service'",
'state' => [
@@ -866,8 +866,8 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page {
'fields' => [
'modules[site_templates][enabled]' => [
'type' => 'toggle',
- 'title' => __('Allow Site Templates', 'wp-ultimo'),
- 'desc' => __('Toggle this option on to allow this plan to use Site Templates. If this option is disabled, sign-ups on this plan will get a default WordPress site.', 'wp-ultimo'),
+ 'title' => __('Allow Site Templates', 'wp-multisite-waas'),
+ 'desc' => __('Toggle this option on to allow this plan to use Site Templates. If this option is disabled, sign-ups on this plan will get a default WordPress site.', 'wp-multisite-waas'),
'wrapper_html_attr' => [
'v-cloak' => '1',
],
@@ -877,15 +877,15 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page {
],
'modules[site_templates][mode]' => [
'type' => 'select',
- 'title' => __('Site Template Selection Mode', 'wp-ultimo'),
- 'placeholder' => __('Site Template Selection Mode', 'wp-ultimo'),
- 'desc' => __('Select the type of limitation you want to apply.', 'wp-ultimo'),
- 'tooltip' => __('"Default" will follow the settings of the checkout form: if you have a template selection field in there, all the templates selected will show up. If no field is present, then a default WordPress site will be created.
"Assign Site Template" forces new accounts with this plan to use a particular template site (this option removes the template selection field from the signup, if one exists).
Finally, "Choose Available Site Templates", overrides the templates selected on the checkout form with the templates selected here, while also giving you the chance of pre-select a template to be used as default.', 'wp-ultimo'),
+ 'title' => __('Site Template Selection Mode', 'wp-multisite-waas'),
+ 'placeholder' => __('Site Template Selection Mode', 'wp-multisite-waas'),
+ 'desc' => __('Select the type of limitation you want to apply.', 'wp-multisite-waas'),
+ 'tooltip' => __('"Default" will follow the settings of the checkout form: if you have a template selection field in there, all the templates selected will show up. If no field is present, then a default WordPress site will be created.
"Assign Site Template" forces new accounts with this plan to use a particular template site (this option removes the template selection field from the signup, if one exists).
Finally, "Choose Available Site Templates", overrides the templates selected on the checkout form with the templates selected here, while also giving you the chance of pre-select a template to be used as default.', 'wp-multisite-waas'),
'value' => 'default',
'options' => [
- 'default' => __('Default', 'wp-ultimo'),
- 'assign_template' => __('Assign Site Template', 'wp-ultimo'),
- 'choose_available_templates' => __('Choose Available Site Templates', 'wp-ultimo'),
+ 'default' => __('Default', 'wp-multisite-waas'),
+ 'assign_template' => __('Assign Site Template', 'wp-multisite-waas'),
+ 'choose_available_templates' => __('Choose Available Site Templates', 'wp-multisite-waas'),
],
'html_attr' => [
'v-model' => 'site_template_selection_mode',
@@ -897,8 +897,8 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page {
],
'templates' => [
'type' => 'html',
- 'title' => __('Site Templates', 'wp-ultimo'),
- 'desc' => esc_attr(sprintf('{{ site_template_selection_mode === "assign_template" ? "%s" : "%s" }}', __('Select the Site Template to assign.', 'wp-ultimo'), __('Customize the access level of each Site Template below.', 'wp-ultimo'))),
+ 'title' => __('Site Templates', 'wp-multisite-waas'),
+ 'desc' => esc_attr(sprintf('{{ site_template_selection_mode === "assign_template" ? "%s" : "%s" }}', __('Select the Site Template to assign.', 'wp-multisite-waas'), __('Customize the access level of each Site Template below.', 'wp-multisite-waas'))),
'wrapper_html_attr' => [
'v-cloak' => '1',
'v-show' => "allow_site_templates && site_template_selection_mode !== 'default'",
@@ -940,7 +940,7 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page {
*/
public function get_title() {
- return $this->edit ? __('Edit Product', 'wp-ultimo') : __('Add new Product', 'wp-ultimo');
+ return $this->edit ? __('Edit Product', 'wp-multisite-waas') : __('Add new Product', 'wp-multisite-waas');
}
/**
@@ -951,7 +951,7 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page {
*/
public function get_menu_title() {
- return __('Edit Product', 'wp-ultimo');
+ return __('Edit Product', 'wp-multisite-waas');
}
/**
@@ -969,7 +969,7 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page {
$actions[] = [
'url' => '#',
- 'label' => __('Click to copy Shareable Link', 'wp-ultimo'),
+ 'label' => __('Click to copy Shareable Link', 'wp-multisite-waas'),
'icon' => 'wu-attachment',
'classes' => 'wu-copy',
'attrs' => 'data-clipboard-text="' . esc_attr($shareable_link) . '"',
@@ -988,15 +988,15 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page {
public function get_labels() {
return [
- 'edit_label' => __('Edit Product', 'wp-ultimo'),
- 'add_new_label' => __('Add new Product', 'wp-ultimo'),
- 'updated_message' => __('Product updated with success!', 'wp-ultimo'),
- 'title_placeholder' => __('Enter Product Name', 'wp-ultimo'),
- 'title_description' => __('This name will be used on pricing tables, invoices, and more.', 'wp-ultimo'),
- 'save_button_label' => __('Save Product', 'wp-ultimo'),
+ 'edit_label' => __('Edit Product', 'wp-multisite-waas'),
+ 'add_new_label' => __('Add new Product', 'wp-multisite-waas'),
+ 'updated_message' => __('Product updated with success!', 'wp-multisite-waas'),
+ 'title_placeholder' => __('Enter Product Name', 'wp-multisite-waas'),
+ 'title_description' => __('This name will be used on pricing tables, invoices, and more.', 'wp-multisite-waas'),
+ 'save_button_label' => __('Save Product', 'wp-multisite-waas'),
'save_description' => '',
- 'delete_button_label' => __('Delete Product', 'wp-ultimo'),
- 'delete_description' => __('Be careful. This action is irreversible.', 'wp-ultimo'),
+ 'delete_button_label' => __('Delete Product', 'wp-multisite-waas'),
+ 'delete_description' => __('Be careful. This action is irreversible.', 'wp-multisite-waas'),
];
}
diff --git a/inc/admin-pages/class-product-list-admin-page.php b/inc/admin-pages/class-product-list-admin-page.php
index 72d1ef3..9bbf96f 100644
--- a/inc/admin-pages/class-product-list-admin-page.php
+++ b/inc/admin-pages/class-product-list-admin-page.php
@@ -71,8 +71,8 @@ class Product_List_Admin_Page extends List_Admin_Page {
public function get_labels() {
return [
- 'deleted_message' => __('Product removed successfully.', 'wp-ultimo'),
- 'search_label' => __('Search Product', 'wp-ultimo'),
+ 'deleted_message' => __('Product removed successfully.', 'wp-multisite-waas'),
+ 'search_label' => __('Search Product', 'wp-multisite-waas'),
];
}
@@ -84,7 +84,7 @@ class Product_List_Admin_Page extends List_Admin_Page {
*/
public function get_title() {
- return __('Products', 'wp-ultimo');
+ return __('Products', 'wp-multisite-waas');
}
/**
@@ -95,7 +95,7 @@ class Product_List_Admin_Page extends List_Admin_Page {
*/
public function get_menu_title() {
- return __('Products', 'wp-ultimo');
+ return __('Products', 'wp-multisite-waas');
}
/**
@@ -106,7 +106,7 @@ class Product_List_Admin_Page extends List_Admin_Page {
*/
public function get_submenu_title() {
- return __('Products', 'wp-ultimo');
+ return __('Products', 'wp-multisite-waas');
}
/**
diff --git a/inc/admin-pages/class-settings-admin-page.php b/inc/admin-pages/class-settings-admin-page.php
index b89bae6..45815f5 100644
--- a/inc/admin-pages/class-settings-admin-page.php
+++ b/inc/admin-pages/class-settings-admin-page.php
@@ -137,7 +137,7 @@ class Settings_Admin_Page extends Wizard_Admin_Page {
wu_register_settings_side_panel(
'login-and-registration',
[
- 'title' => __('Checkout Forms', 'wp-ultimo'),
+ 'title' => __('Checkout Forms', 'wp-multisite-waas'),
'render' => [$this, 'render_checkout_forms_side_panel'],
]
);
@@ -145,7 +145,7 @@ class Settings_Admin_Page extends Wizard_Admin_Page {
wu_register_settings_side_panel(
'sites',
[
- 'title' => __('Template Previewer', 'wp-ultimo'),
+ 'title' => __('Template Previewer', 'wp-multisite-waas'),
'render' => [$this, 'render_site_template_side_panel'],
]
);
@@ -153,7 +153,7 @@ class Settings_Admin_Page extends Wizard_Admin_Page {
wu_register_settings_side_panel(
'sites',
[
- 'title' => __('Placeholder Editor', 'wp-ultimo'),
+ 'title' => __('Placeholder Editor', 'wp-multisite-waas'),
'render' => [$this, 'render_site_placeholders_side_panel'],
]
);
@@ -161,7 +161,7 @@ class Settings_Admin_Page extends Wizard_Admin_Page {
wu_register_settings_side_panel(
'payment-gateways',
[
- 'title' => __('Invoices', 'wp-ultimo'),
+ 'title' => __('Invoices', 'wp-multisite-waas'),
'render' => [$this, 'render_invoice_side_panel'],
]
);
@@ -169,7 +169,7 @@ class Settings_Admin_Page extends Wizard_Admin_Page {
wu_register_settings_side_panel(
'emails',
[
- 'title' => __('System Emails', 'wp-ultimo'),
+ 'title' => __('System Emails', 'wp-multisite-waas'),
'render' => [$this, 'render_system_emails_side_panel'],
]
);
@@ -177,7 +177,7 @@ class Settings_Admin_Page extends Wizard_Admin_Page {
wu_register_settings_side_panel(
'emails',
[
- 'title' => __('Email Template', 'wp-ultimo'),
+ 'title' => __('Email Template', 'wp-multisite-waas'),
'render' => [$this, 'render_email_template_side_panel'],
]
);
@@ -197,15 +197,15 @@ class Settings_Admin_Page extends Wizard_Admin_Page {
-
+
-
+
-
+
@@ -214,7 +214,7 @@ class Settings_Admin_Page extends Wizard_Admin_Page {
@@ -450,7 +450,7 @@ class Settings_Admin_Page extends Wizard_Admin_Page {
*/
public function get_title() {
- return __('Settings', 'wp-ultimo');
+ return __('Settings', 'wp-multisite-waas');
}
/**
@@ -461,7 +461,7 @@ class Settings_Admin_Page extends Wizard_Admin_Page {
*/
public function get_menu_title() {
- return __('Settings', 'wp-ultimo');
+ return __('Settings', 'wp-multisite-waas');
}
/**
@@ -517,7 +517,7 @@ class Settings_Admin_Page extends Wizard_Admin_Page {
public function default_handler(): void {
if ( ! current_user_can('wu_edit_settings')) {
- wp_die(__('You do not have the permissions required to change settings.', 'wp-ultimo'));
+ wp_die(__('You do not have the permissions required to change settings.', 'wp-multisite-waas'));
}
if ( ! isset($_POST['active_gateways']) && 'payment-gateways' === wu_request('tab')) {
@@ -554,7 +554,7 @@ class Settings_Admin_Page extends Wizard_Admin_Page {
*/
$fields['save'] = [
'type' => 'submit',
- 'title' => __('Save Settings', 'wp-ultimo'),
+ 'title' => __('Save Settings', 'wp-multisite-waas'),
'classes' => 'button button-primary button-large wu-ml-auto wu-w-full md:wu-w-auto',
'wrapper_classes' => 'wu-sticky wu-bottom-0 wu-save-button wu-mr-px wu-w-full md:wu-w-auto',
'html_attr' => [
diff --git a/inc/admin-pages/class-setup-wizard-admin-page.php b/inc/admin-pages/class-setup-wizard-admin-page.php
index 2919968..51e61a1 100644
--- a/inc/admin-pages/class-setup-wizard-admin-page.php
+++ b/inc/admin-pages/class-setup-wizard-admin-page.php
@@ -236,7 +236,7 @@ class Setup_Wizard_Admin_Page extends Wizard_Admin_Page {
global $wpdb;
if ( ! current_user_can('manage_network')) {
- wp_send_json_error(new \WP_Error('not-allowed', __('Permission denied.', 'wp-ultimo')));
+ wp_send_json_error(new \WP_Error('not-allowed', __('Permission denied.', 'wp-multisite-waas')));
exit;
}
@@ -290,7 +290,7 @@ class Setup_Wizard_Admin_Page extends Wizard_Admin_Page {
*/
public function get_title(): string {
- return sprintf(__('Installation', 'wp-ultimo'));
+ return sprintf(__('Installation', 'wp-multisite-waas'));
}
/**
@@ -301,7 +301,7 @@ class Setup_Wizard_Admin_Page extends Wizard_Admin_Page {
*/
public function get_menu_title() {
- return WP_Ultimo()->is_loaded() ? __('WP Multisite WaaS Install', 'wp-ultimo') : __('WP Multisite WaaS', 'wp-ultimo');
+ return WP_Ultimo()->is_loaded() ? __('WP Multisite WaaS Install', 'wp-multisite-waas') : __('WP Multisite WaaS', 'wp-multisite-waas');
}
/**
@@ -314,22 +314,22 @@ class Setup_Wizard_Admin_Page extends Wizard_Admin_Page {
$sections = [
'welcome' => [
- 'title' => __('Welcome', 'wp-ultimo'),
+ 'title' => __('Welcome', 'wp-multisite-waas'),
'description' => implode(
'
',
[
- __('...and thanks for choosing WP Multisite WaaS!', 'wp-ultimo'),
- __('This quick setup wizard will make sure your server is correctly setup, help you configure your new network, and migrate data from previous WP Multisite WaaS versions if necessary.', 'wp-ultimo'),
- __('You will also have the option of importing default content. It should take 10 minutes or less!', 'wp-ultimo'),
+ __('...and thanks for choosing WP Multisite WaaS!', 'wp-multisite-waas'),
+ __('This quick setup wizard will make sure your server is correctly setup, help you configure your new network, and migrate data from previous WP Multisite WaaS versions if necessary.', 'wp-multisite-waas'),
+ __('You will also have the option of importing default content. It should take 10 minutes or less!', 'wp-multisite-waas'),
]
),
- 'next_label' => __('Get Started →', 'wp-ultimo'),
+ 'next_label' => __('Get Started →', 'wp-multisite-waas'),
'back' => false,
],
'checks' => [
- 'title' => __('Pre-install Checks', 'wp-ultimo'),
- 'description' => __('Now it is time to see if this machine has what it takes to run WP Multisite WaaS well!', 'wp-ultimo'),
- 'next_label' => \WP_Ultimo\Requirements::met() ? __('Go to the Next Step →', 'wp-ultimo') : __('Check Again', 'wp-ultimo'),
+ 'title' => __('Pre-install Checks', 'wp-multisite-waas'),
+ 'description' => __('Now it is time to see if this machine has what it takes to run WP Multisite WaaS well!', 'wp-multisite-waas'),
+ 'next_label' => \WP_Ultimo\Requirements::met() ? __('Go to the Next Step →', 'wp-multisite-waas') : __('Check Again', 'wp-multisite-waas'),
'handler' => [$this, 'handle_checks'],
'back' => false,
'fields' => [
@@ -340,9 +340,9 @@ class Setup_Wizard_Admin_Page extends Wizard_Admin_Page {
],
],
'installation' => [
- 'title' => __('Installation', 'wp-ultimo'),
- 'description' => __('Now, let\'s update your database and install the Sunrise.php file, which are necessary for the correct functioning of WP Multisite WaaS.', 'wp-ultimo'),
- 'next_label' => Core_Installer::get_instance()->all_done() ? __('Go to the Next Step →', 'wp-ultimo') : __('Install', 'wp-ultimo'),
+ 'title' => __('Installation', 'wp-multisite-waas'),
+ 'description' => __('Now, let\'s update your database and install the Sunrise.php file, which are necessary for the correct functioning of WP Multisite WaaS.', 'wp-multisite-waas'),
+ 'next_label' => Core_Installer::get_instance()->all_done() ? __('Go to the Next Step →', 'wp-multisite-waas') : __('Install', 'wp-multisite-waas'),
'fields' => [
'terms' => [
'type' => 'note',
@@ -364,14 +364,14 @@ class Setup_Wizard_Admin_Page extends Wizard_Admin_Page {
$back_traces = Migrator::get_instance()->get_back_traces();
- $next_label = __('Migrate!', 'wp-ultimo');
+ $next_label = __('Migrate!', 'wp-multisite-waas');
- $description = __('No errors found during dry run! Now it is time to actually migrate!
We strongly recommend creating a backup of your database before moving forward with the migration.', 'wp-ultimo');
+ $description = __('No errors found during dry run! Now it is time to actually migrate!
We strongly recommend creating a backup of your database before moving forward with the migration.', 'wp-multisite-waas');
if ($dry_run) {
- $next_label = __('Run Check', 'wp-ultimo');
+ $next_label = __('Run Check', 'wp-multisite-waas');
- $description = __('It seems that you were running WP Multisite WaaS 1.X on this network. This migrator will convert the data from the old version to the new one.', 'wp-ultimo') . '
' . __('First, let\'s run a test migration to see if we can spot any potential errors.', 'wp-ultimo');
+ $description = __('It seems that you were running WP Multisite WaaS 1.X on this network. This migrator will convert the data from the old version to the new one.', 'wp-multisite-waas') . '
' . __('First, let\'s run a test migration to see if we can spot any potential errors.', 'wp-multisite-waas');
}
$fields = [
@@ -398,17 +398,17 @@ class Setup_Wizard_Admin_Page extends Wizard_Admin_Page {
$message = implode(PHP_EOL . PHP_EOL, $message_lines);
- $description = __('The dry run test detected issues during the test migration. Please, contact our support team to get help migrating from 1.X to version 2.', 'wp-ultimo');
+ $description = __('The dry run test detected issues during the test migration. Please, contact our support team to get help migrating from 1.X to version 2.', 'wp-multisite-waas');
$next = true;
- $next_label = __('Try Again!', 'wp-ultimo');
+ $next_label = __('Try Again!', 'wp-multisite-waas');
- $error_list = '' . __('List of errors detected:', 'wp-ultimo') . '
', __('Loading...', 'wp-multisite-waas')),
'wrapper_html_attr' => [
'v-if' => 0,
],
diff --git a/inc/admin-pages/class-template-previewer-customize-admin-page.php b/inc/admin-pages/class-template-previewer-customize-admin-page.php
index bcb6ca4..2bb915d 100644
--- a/inc/admin-pages/class-template-previewer-customize-admin-page.php
+++ b/inc/admin-pages/class-template-previewer-customize-admin-page.php
@@ -97,14 +97,14 @@ class Template_Previewer_Customize_Admin_Page extends Customizer_Admin_Page {
'fields' => [
'preview_url_parameter' => [
'type' => 'text',
- 'title' => __('URL Parameter', 'wp-ultimo'),
- 'desc' => __('This is the URL parameter WP Multisite WaaS will use to generate the template preview URLs.', 'wp-ultimo'),
+ 'title' => __('URL Parameter', 'wp-multisite-waas'),
+ 'desc' => __('This is the URL parameter WP Multisite WaaS will use to generate the template preview URLs.', 'wp-multisite-waas'),
'value' => Template_Previewer::get_instance()->get_setting('preview_url_parameter', 'template-preview'),
],
'enabled' => [
'type' => 'toggle',
- 'title' => __('Active', 'wp-ultimo'),
- 'desc' => __('If your site templates are not loading, you can disable the top-bar using this setting.', 'wp-ultimo'),
+ 'title' => __('Active', 'wp-multisite-waas'),
+ 'desc' => __('If your site templates are not loading, you can disable the top-bar using this setting.', 'wp-multisite-waas'),
'value' => Template_Previewer::get_instance()->get_setting('enabled', true),
'html_attr' => [],
],
@@ -129,16 +129,16 @@ class Template_Previewer_Customize_Admin_Page extends Customizer_Admin_Page {
'v-model' => 'tab',
],
'options' => [
- 'general' => __('General', 'wp-ultimo'),
- 'colors' => __('Colors', 'wp-ultimo'),
- 'images' => __('Images', 'wp-ultimo'),
+ 'general' => __('General', 'wp-multisite-waas'),
+ 'colors' => __('Colors', 'wp-multisite-waas'),
+ 'images' => __('Images', 'wp-multisite-waas'),
],
],
'display_responsive_controls' => [
'type' => 'toggle',
- 'title' => __('Show Responsive Controls', 'wp-ultimo'),
- 'desc' => __('Toggle to show or hide the responsive controls.', 'wp-ultimo'),
+ 'title' => __('Show Responsive Controls', 'wp-multisite-waas'),
+ 'desc' => __('Toggle to show or hide the responsive controls.', 'wp-multisite-waas'),
'value' => true,
'wrapper_html_attr' => [
'v-show' => 'require("tab", "general")',
@@ -150,8 +150,8 @@ class Template_Previewer_Customize_Admin_Page extends Customizer_Admin_Page {
],
'button_text' => [
'type' => 'text',
- 'title' => __('Button Text', 'wp-ultimo'),
- 'value' => __('Use this Template', 'wp-ultimo'),
+ 'title' => __('Button Text', 'wp-multisite-waas'),
+ 'value' => __('Use this Template', 'wp-multisite-waas'),
'wrapper_html_attr' => [
'v-show' => 'require("tab", "general")',
'v-cloak' => 1,
@@ -163,8 +163,8 @@ class Template_Previewer_Customize_Admin_Page extends Customizer_Admin_Page {
'bg_color' => [
'type' => 'color-picker',
- 'title' => __('Background Color', 'wp-ultimo'),
- 'desc' => __('Choose the background color for the top-bar.', 'wp-ultimo'),
+ 'title' => __('Background Color', 'wp-multisite-waas'),
+ 'desc' => __('Choose the background color for the top-bar.', 'wp-multisite-waas'),
'value' => '#f9f9f9',
'wrapper_html_attr' => [
'v-show' => 'require("tab", "colors")',
@@ -176,8 +176,8 @@ class Template_Previewer_Customize_Admin_Page extends Customizer_Admin_Page {
],
'button_bg_color' => [
'type' => 'color-picker',
- 'title' => __('Button BG Color', 'wp-ultimo'),
- 'desc' => __('Pick the background color for the button.', 'wp-ultimo'),
+ 'title' => __('Button BG Color', 'wp-multisite-waas'),
+ 'desc' => __('Pick the background color for the button.', 'wp-multisite-waas'),
'wrapper_html_attr' => [
'v-show' => 'require("tab", "colors")',
'v-cloak' => 1,
@@ -189,8 +189,8 @@ class Template_Previewer_Customize_Admin_Page extends Customizer_Admin_Page {
'use_custom_logo' => [
'type' => 'toggle',
- 'title' => __('Use Custom Logo', 'wp-ultimo'),
- 'desc' => __('You can set a different logo to be used on the top-bar.', 'wp-ultimo'),
+ 'title' => __('Use Custom Logo', 'wp-multisite-waas'),
+ 'desc' => __('You can set a different logo to be used on the top-bar.', 'wp-multisite-waas'),
'wrapper_html_attr' => [
'v-show' => 'require("tab", "images")',
'v-cloak' => 1,
@@ -202,8 +202,8 @@ class Template_Previewer_Customize_Admin_Page extends Customizer_Admin_Page {
'custom_logo' => [
'type' => 'image',
'stacked' => true,
- 'title' => __('Custom Logo', 'wp-ultimo'),
- 'desc' => __('The logo is displayed on the preview page top-bar.', 'wp-ultimo'),
+ 'title' => __('Custom Logo', 'wp-multisite-waas'),
+ 'desc' => __('The logo is displayed on the preview page top-bar.', 'wp-multisite-waas'),
'value' => $custom_logo_id,
'img' => $custom_logo,
'wrapper_html_attr' => [
@@ -226,7 +226,7 @@ class Template_Previewer_Customize_Admin_Page extends Customizer_Admin_Page {
$this->add_fields_widget(
'customizer',
[
- 'title' => __('Customizer', 'wp-ultimo'),
+ 'title' => __('Customizer', 'wp-multisite-waas'),
'position' => 'side',
'fields' => $fields,
'html_attr' => [
@@ -247,7 +247,7 @@ class Template_Previewer_Customize_Admin_Page extends Customizer_Admin_Page {
*/
public function get_title() {
- return __('Customize Template Previewer', 'wp-ultimo');
+ return __('Customize Template Previewer', 'wp-multisite-waas');
}
/**
@@ -258,7 +258,7 @@ class Template_Previewer_Customize_Admin_Page extends Customizer_Admin_Page {
*/
public function get_menu_title() {
- return __('Customize Template Previewer', 'wp-ultimo');
+ return __('Customize Template Previewer', 'wp-multisite-waas');
}
/**
@@ -281,13 +281,13 @@ class Template_Previewer_Customize_Admin_Page extends Customizer_Admin_Page {
public function get_labels() {
return [
- 'customize_label' => __('Customize Template Previewer', 'wp-ultimo'),
- 'add_new_label' => __('Customize Template Previewer', 'wp-ultimo'),
- 'edit_label' => __('Edit Template Previewer', 'wp-ultimo'),
- 'updated_message' => __('Template Previewer updated with success!', 'wp-ultimo'),
- 'title_placeholder' => __('Enter Template Previewer Name', 'wp-ultimo'),
- 'title_description' => __('This name is used for internal reference only.', 'wp-ultimo'),
- 'save_button_label' => __('Save Changes', 'wp-ultimo'),
+ 'customize_label' => __('Customize Template Previewer', 'wp-multisite-waas'),
+ 'add_new_label' => __('Customize Template Previewer', 'wp-multisite-waas'),
+ 'edit_label' => __('Edit Template Previewer', 'wp-multisite-waas'),
+ 'updated_message' => __('Template Previewer updated with success!', 'wp-multisite-waas'),
+ 'title_placeholder' => __('Enter Template Previewer Name', 'wp-multisite-waas'),
+ 'title_description' => __('This name is used for internal reference only.', 'wp-multisite-waas'),
+ 'save_button_label' => __('Save Changes', 'wp-multisite-waas'),
'save_description' => '',
];
}
diff --git a/inc/admin-pages/class-top-admin-nav-menu.php b/inc/admin-pages/class-top-admin-nav-menu.php
index a0f6901..fb80654 100644
--- a/inc/admin-pages/class-top-admin-nav-menu.php
+++ b/inc/admin-pages/class-top-admin-nav-menu.php
@@ -52,11 +52,11 @@ class Top_Admin_Nav_Menu {
// Add Parent element
$parent = [
'id' => 'wp-ultimo',
- 'title' => __('Multisite Waas', 'wp-ultimo'),
+ 'title' => __('Multisite Waas', 'wp-multisite-waas'),
'href' => current_user_can('wu_read_dashboard') ? network_admin_url('admin.php?page=wp-ultimo') : '#',
'meta' => [
'class' => 'wp-ultimo-top-menu',
- 'title' => __('Go to the dashboard', 'wp-ultimo'),
+ 'title' => __('Go to the dashboard', 'wp-multisite-waas'),
],
];
@@ -64,11 +64,11 @@ class Top_Admin_Nav_Menu {
$sites = [
'id' => 'wp-ultimo-sites',
'parent' => 'wp-ultimo',
- 'title' => __('Manage Sites', 'wp-ultimo'),
+ 'title' => __('Manage Sites', 'wp-multisite-waas'),
'href' => network_admin_url('admin.php?page=wp-ultimo-sites'),
'meta' => [
'class' => 'wp-ultimo-top-menu',
- 'title' => __('Go to the sites page', 'wp-ultimo'),
+ 'title' => __('Go to the sites page', 'wp-multisite-waas'),
],
];
@@ -76,11 +76,11 @@ class Top_Admin_Nav_Menu {
$memberships = [
'id' => 'wp-ultimo-memberships',
'parent' => 'wp-ultimo',
- 'title' => __('Manage Memberships', 'wp-ultimo'),
+ 'title' => __('Manage Memberships', 'wp-multisite-waas'),
'href' => network_admin_url('admin.php?page=wp-ultimo-memberships'),
'meta' => [
'class' => 'wp-ultimo-top-menu',
- 'title' => __('Go to the memberships page', 'wp-ultimo'),
+ 'title' => __('Go to the memberships page', 'wp-multisite-waas'),
],
];
@@ -88,11 +88,11 @@ class Top_Admin_Nav_Menu {
$customers = [
'id' => 'wp-ultimo-customers',
'parent' => 'wp-ultimo',
- 'title' => __('Customers', 'wp-ultimo'),
+ 'title' => __('Customers', 'wp-multisite-waas'),
'href' => network_admin_url('admin.php?page=wp-ultimo-customers'),
'meta' => [
'class' => 'wp-ultimo-top-menu',
- 'title' => __('Go to the customers page', 'wp-ultimo'),
+ 'title' => __('Go to the customers page', 'wp-multisite-waas'),
],
];
@@ -100,11 +100,11 @@ class Top_Admin_Nav_Menu {
$products = [
'id' => 'wp-ultimo-products',
'parent' => 'wp-ultimo',
- 'title' => __('Products', 'wp-ultimo'),
+ 'title' => __('Products', 'wp-multisite-waas'),
'href' => network_admin_url('admin.php?page=wp-ultimo-products'),
'meta' => [
'class' => 'wp-ultimo-top-menu',
- 'title' => __('Go to the products page', 'wp-ultimo'),
+ 'title' => __('Go to the products page', 'wp-multisite-waas'),
],
];
@@ -112,11 +112,11 @@ class Top_Admin_Nav_Menu {
$payments = [
'id' => 'wp-ultimo-payments',
'parent' => 'wp-ultimo',
- 'title' => __('Payments', 'wp-ultimo'),
+ 'title' => __('Payments', 'wp-multisite-waas'),
'href' => network_admin_url('admin.php?page=wp-ultimo-payments'),
'meta' => [
'class' => 'wp-ultimo-top-menu',
- 'title' => __('Go to the payments page', 'wp-ultimo'),
+ 'title' => __('Go to the payments page', 'wp-multisite-waas'),
],
];
@@ -124,11 +124,11 @@ class Top_Admin_Nav_Menu {
$discount_codes = [
'id' => 'wp-ultimo-discount-codes',
'parent' => 'wp-ultimo',
- 'title' => __('Discount Codes', 'wp-ultimo'),
+ 'title' => __('Discount Codes', 'wp-multisite-waas'),
'href' => network_admin_url('admin.php?page=wp-ultimo-discount-codes'),
'meta' => [
'class' => 'wp-ultimo-top-menu',
- 'title' => __('Go to the discount codes page', 'wp-ultimo'),
+ 'title' => __('Go to the discount codes page', 'wp-multisite-waas'),
],
];
@@ -136,11 +136,11 @@ class Top_Admin_Nav_Menu {
'id' => 'wp-ultimo-settings-group',
'parent' => 'wp-ultimo',
'group' => true,
- 'title' => __('Settings Container', 'wp-ultimo'),
+ 'title' => __('Settings Container', 'wp-multisite-waas'),
'href' => '#',
'meta' => [
'class' => 'wp-ultimo-top-menu ab-sub-secondary',
- 'title' => __('Go to the settings page', 'wp-ultimo'),
+ 'title' => __('Go to the settings page', 'wp-multisite-waas'),
],
];
@@ -148,11 +148,11 @@ class Top_Admin_Nav_Menu {
$settings = [
'id' => 'wp-ultimo-settings',
'parent' => 'wp-ultimo-settings-group',
- 'title' => __('Settings', 'wp-ultimo'),
+ 'title' => __('Settings', 'wp-multisite-waas'),
'href' => network_admin_url('admin.php?page=wp-ultimo-settings'),
'meta' => [
'class' => 'wp-ultimo-top-menu ab-sub-secondary',
- 'title' => __('Go to the settings page', 'wp-ultimo'),
+ 'title' => __('Go to the settings page', 'wp-multisite-waas'),
],
];
@@ -215,7 +215,7 @@ class Top_Admin_Nav_Menu {
'href' => network_admin_url('admin.php?page=wp-ultimo-settings&tab=') . $tab,
'meta' => [
'class' => 'wp-ultimo-top-menu',
- 'title' => __('Go to the settings page', 'wp-ultimo'),
+ 'title' => __('Go to the settings page', 'wp-multisite-waas'),
],
];
diff --git a/inc/admin-pages/class-view-logs-admin-page.php b/inc/admin-pages/class-view-logs-admin-page.php
index 0422e8f..aa488fb 100644
--- a/inc/admin-pages/class-view-logs-admin-page.php
+++ b/inc/admin-pages/class-view-logs-admin-page.php
@@ -100,7 +100,7 @@ class View_Logs_Admin_Page extends Edit_Admin_Page {
'wu_view_logs',
[
'i18n' => [
- 'copied' => __('Copied!', 'wp-ultimo'),
+ 'copied' => __('Copied!', 'wp-multisite-waas'),
],
]
);
@@ -118,7 +118,7 @@ class View_Logs_Admin_Page extends Edit_Admin_Page {
*/
public function get_title() {
- return __('View Log', 'wp-ultimo');
+ return __('View Log', 'wp-multisite-waas');
}
/**
@@ -129,7 +129,7 @@ class View_Logs_Admin_Page extends Edit_Admin_Page {
*/
public function get_menu_title() {
- return __('View Log', 'wp-ultimo');
+ return __('View Log', 'wp-multisite-waas');
}
/**
@@ -152,7 +152,7 @@ class View_Logs_Admin_Page extends Edit_Admin_Page {
$logs_list = array_combine(array_values($logs_list), array_map(fn($file) => str_replace(Logger::get_logs_folder(), '', (string) $file), $logs_list));
if (empty($logs_list)) {
- $logs_list[''] = __('No log files found', 'wp-ultimo');
+ $logs_list[''] = __('No log files found', 'wp-multisite-waas');
}
$file = wu_request('file');
@@ -163,7 +163,7 @@ class View_Logs_Admin_Page extends Edit_Admin_Page {
// Security check
if ($file && ! stristr((string) $file, Logger::get_logs_folder())) {
- wp_die(__('You can see files that are not WP Multisite WaaS\'s logs', 'wp-ultimo'));
+ wp_die(__('You can see files that are not WP Multisite WaaS\'s logs', 'wp-multisite-waas'));
}
if ( ! $file && ! empty($logs_list)) {
@@ -172,7 +172,7 @@ class View_Logs_Admin_Page extends Edit_Admin_Page {
$file_name = str_replace(Logger::get_logs_folder(), '', (string) $file);
- $default_content = wu_request('return_ascii', 'yes') === 'yes' ? wu_get_template_contents('events/ascii-badge') : __('No log entries found.', 'wp-ultimo');
+ $default_content = wu_request('return_ascii', 'yes') === 'yes' ? wu_get_template_contents('events/ascii-badge') : __('No log entries found.', 'wp-multisite-waas');
$contents = $file && file_exists($file) ? file_get_contents($file) : $default_content;
@@ -200,24 +200,24 @@ class View_Logs_Admin_Page extends Edit_Admin_Page {
$info = $this->handle_view_logs();
- add_meta_box('wp-ultimo-log-contents', __('Log Contents', 'wp-ultimo'), [$this, 'output_default_widget_payload'], get_current_screen()->id, 'normal', null, $info);
+ add_meta_box('wp-ultimo-log-contents', __('Log Contents', 'wp-multisite-waas'), [$this, 'output_default_widget_payload'], get_current_screen()->id, 'normal', null, $info);
$this->add_fields_widget(
'file-selector',
[
- 'title' => __('Log Files', 'wp-ultimo'),
+ 'title' => __('Log Files', 'wp-multisite-waas'),
'fields' => [
'log_file' => [
'type' => 'select',
- 'title' => __('Select Log File', 'wp-ultimo'),
- 'placeholder' => __('Select Log File', 'wp-ultimo'),
+ 'title' => __('Select Log File', 'wp-multisite-waas'),
+ 'placeholder' => __('Select Log File', 'wp-multisite-waas'),
'value' => wu_request('file'),
'tooltip' => '',
'options' => $info['logs_list'],
],
'download' => [
'type' => 'submit',
- 'title' => __('Download Log', 'wp-ultimo'),
+ 'title' => __('Download Log', 'wp-multisite-waas'),
'value' => 'download',
'classes' => 'button button-primary wu-w-full',
],
@@ -228,11 +228,11 @@ class View_Logs_Admin_Page extends Edit_Admin_Page {
$this->add_fields_widget(
'info',
[
- 'title' => __('Timestamps', 'wp-ultimo'),
+ 'title' => __('Timestamps', 'wp-multisite-waas'),
'position' => 'side',
'fields' => [
'date_modified' => [
- 'title' => __('Last Modified at', 'wp-ultimo'),
+ 'title' => __('Last Modified at', 'wp-multisite-waas'),
'type' => 'text-edit',
'date' => true,
'value' => date_i18n('Y-m-d H:i:s', filemtime($info['file'])),
@@ -257,8 +257,8 @@ class View_Logs_Admin_Page extends Edit_Admin_Page {
wu_get_template(
'events/widget-payload',
[
- 'title' => __('Event Payload', 'wp-ultimo'),
- 'loading_text' => __('Loading Payload', 'wp-ultimo'),
+ 'title' => __('Event Payload', 'wp-multisite-waas'),
+ 'loading_text' => __('Loading Payload', 'wp-multisite-waas'),
'payload' => $data['args']['contents'],
]
);
@@ -273,12 +273,12 @@ class View_Logs_Admin_Page extends Edit_Admin_Page {
public function get_labels() {
return [
- 'edit_label' => __('View Log', 'wp-ultimo'),
- 'add_new_label' => __('View Log', 'wp-ultimo'),
- 'title_placeholder' => __('Enter Customer', 'wp-ultimo'),
- 'title_description' => __('Viewing file: ', 'wp-ultimo'),
- 'delete_button_label' => __('Delete Log File', 'wp-ultimo'),
- 'delete_description' => __('Be careful. This action is irreversible.', 'wp-ultimo'),
+ 'edit_label' => __('View Log', 'wp-multisite-waas'),
+ 'add_new_label' => __('View Log', 'wp-multisite-waas'),
+ 'title_placeholder' => __('Enter Customer', 'wp-multisite-waas'),
+ 'title_description' => __('Viewing file: ', 'wp-multisite-waas'),
+ 'delete_button_label' => __('Delete Log File', 'wp-multisite-waas'),
+ 'delete_description' => __('Be careful. This action is irreversible.', 'wp-multisite-waas'),
];
}
@@ -323,7 +323,7 @@ class View_Logs_Admin_Page extends Edit_Admin_Page {
$action = wu_request('submit_button', 'none');
if ('none' === $action) {
- WP_Ultimo()->notices->add(__('Something wrong happened', 'wp-ultimo'), 'error', 'network-admin');
+ WP_Ultimo()->notices->add(__('Something wrong happened', 'wp-multisite-waas'), 'error', 'network-admin');
return;
}
@@ -331,7 +331,7 @@ class View_Logs_Admin_Page extends Edit_Admin_Page {
$file = wu_request('log_file', false);
if ( ! file_exists($file)) {
- WP_Ultimo()->notices->add(__('File not found', 'wp-ultimo'), 'error', 'network-admin');
+ WP_Ultimo()->notices->add(__('File not found', 'wp-multisite-waas'), 'error', 'network-admin');
return;
}
@@ -350,7 +350,7 @@ class View_Logs_Admin_Page extends Edit_Admin_Page {
$status = unlink($file);
if ( ! $status) {
- WP_Ultimo()->notices->add(__('We were unable to delete file', 'wp-ultimo'), 'error', 'network-admin');
+ WP_Ultimo()->notices->add(__('We were unable to delete file', 'wp-multisite-waas'), 'error', 'network-admin');
return;
}
diff --git a/inc/admin-pages/class-webhook-edit-admin-page.php b/inc/admin-pages/class-webhook-edit-admin-page.php
index 3d5fd23..51a614f 100644
--- a/inc/admin-pages/class-webhook-edit-admin-page.php
+++ b/inc/admin-pages/class-webhook-edit-admin-page.php
@@ -97,9 +97,9 @@ class Webhook_Edit_Admin_Page extends Edit_Admin_Page {
'wu_webhook_page',
[
'i18n' => [
- 'error_title' => __('Webhook Test', 'wp-ultimo'),
- 'error_message' => __('An error occurred when sending the test webhook, please try again.', 'wp-ultimo'),
- 'copied' => __('Copied!', 'wp-ultimo'),
+ 'error_title' => __('Webhook Test', 'wp-multisite-waas'),
+ 'error_message' => __('An error occurred when sending the test webhook, please try again.', 'wp-multisite-waas'),
+ 'copied' => __('Copied!', 'wp-multisite-waas'),
],
]
);
@@ -138,22 +138,22 @@ class Webhook_Edit_Admin_Page extends Edit_Admin_Page {
$this->add_fields_widget(
'domain-url',
[
- 'title' => __('Webhook URL', 'wp-ultimo'),
+ 'title' => __('Webhook URL', 'wp-multisite-waas'),
'position' => 'normal',
'fields' => [
'webhook_url' => [
'type' => 'url',
- 'title' => __('Webhook URL', 'wp-ultimo'),
- 'desc' => __('The URL where we will send the payload when the event triggers.', 'wp-ultimo'),
- 'placeholder' => __('https://example.com', 'wp-ultimo'),
+ 'title' => __('Webhook URL', 'wp-multisite-waas'),
+ 'desc' => __('The URL where we will send the payload when the event triggers.', 'wp-multisite-waas'),
+ 'placeholder' => __('https://example.com', 'wp-multisite-waas'),
'value' => $this->get_object()->get_webhook_url(),
],
'actions' => [
'type' => 'actions',
- 'tooltip' => __('The event .', 'wp-ultimo'),
+ 'tooltip' => __('The event .', 'wp-multisite-waas'),
'actions' => [
'send_test_event' => [
- 'title' => __('Send Test Event', 'wp-ultimo'),
+ 'title' => __('Send Test Event', 'wp-multisite-waas'),
'action' => 'wu_send_test_event',
'object_id' => $this->get_object()->get_id(),
'loading_text' => 'Sending Test...',
@@ -168,12 +168,12 @@ class Webhook_Edit_Admin_Page extends Edit_Admin_Page {
]
);
- add_meta_box('wp-ultimo-payload', __('Event Payload', 'wp-ultimo'), [$this, 'output_default_widget_payload'], get_current_screen()->id, 'normal');
+ add_meta_box('wp-ultimo-payload', __('Event Payload', 'wp-multisite-waas'), [$this, 'output_default_widget_payload'], get_current_screen()->id, 'normal');
$this->add_list_table_widget(
'events',
[
- 'title' => __('Events', 'wp-ultimo'),
+ 'title' => __('Events', 'wp-multisite-waas'),
'table' => new \WP_Ultimo\List_Tables\Inside_Events_List_Table(),
'query_filter' => [$this, 'query_filter'],
]
@@ -191,9 +191,9 @@ class Webhook_Edit_Admin_Page extends Edit_Admin_Page {
'fields' => [
'event' => [
'type' => 'select',
- 'title' => __('Event', 'wp-ultimo'),
- 'desc' => __('The event that triggers this webhook.', 'wp-ultimo'),
- 'placeholder' => __('Select Event', 'wp-ultimo'),
+ 'title' => __('Event', 'wp-multisite-waas'),
+ 'desc' => __('The event that triggers this webhook.', 'wp-multisite-waas'),
+ 'placeholder' => __('Select Event', 'wp-multisite-waas'),
'options' => $event_list,
'value' => $this->get_object()->get_event(),
],
@@ -204,13 +204,13 @@ class Webhook_Edit_Admin_Page extends Edit_Admin_Page {
$this->add_fields_widget(
'active',
[
- 'title' => __('Active', 'wp-ultimo'),
+ 'title' => __('Active', 'wp-multisite-waas'),
'fields' => [
'active' => [
'type' => 'toggle',
- 'title' => __('Active', 'wp-ultimo'),
- 'tooltip' => __('Deactivate will end the event trigger for this webhook.', 'wp-ultimo'),
- 'desc' => __('Use this option to manually enable or disable this webhook.', 'wp-ultimo'),
+ 'title' => __('Active', 'wp-multisite-waas'),
+ 'tooltip' => __('Deactivate will end the event trigger for this webhook.', 'wp-multisite-waas'),
+ 'desc' => __('Use this option to manually enable or disable this webhook.', 'wp-multisite-waas'),
'value' => $this->get_object()->is_active(),
],
],
@@ -220,27 +220,27 @@ class Webhook_Edit_Admin_Page extends Edit_Admin_Page {
$this->add_fields_widget(
'options',
[
- 'title' => __('Options', 'wp-ultimo'),
+ 'title' => __('Options', 'wp-multisite-waas'),
'fields' => [
'integration' => [
'edit' => true,
- 'title' => __('Integration', 'wp-ultimo'),
+ 'title' => __('Integration', 'wp-multisite-waas'),
'type' => 'text-edit',
'placeholder' => 'manual',
'value' => $this->get_object()->get_integration(),
'display_value' => ucwords((string) $this->get_object()->get_integration()),
- 'tooltip' => __('Name of the service responsible for creating this webhook. If you are manually creating this webhook, use the value "manual".', 'wp-ultimo'),
+ 'tooltip' => __('Name of the service responsible for creating this webhook. If you are manually creating this webhook, use the value "manual".', 'wp-multisite-waas'),
],
'event_count' => [
- 'title' => __('Run Count', 'wp-ultimo'),
+ 'title' => __('Run Count', 'wp-multisite-waas'),
'type' => 'text-edit',
'min' => 0,
'placeholder' => 0,
'edit' => true,
'value' => $this->get_object()->get_event_count(),
// translators: %d is the number of times that this webhook was triggered.
- 'display_value' => sprintf(__('This webhook was triggered %d time(s).', 'wp-ultimo'), $this->get_object()->get_event_count()),
- 'tooltip' => __('The number of times that this webhook was triggered so far. It includes test runs.', 'wp-ultimo'),
+ 'display_value' => sprintf(__('This webhook was triggered %d time(s).', 'wp-multisite-waas'), $this->get_object()->get_event_count()),
+ 'tooltip' => __('The number of times that this webhook was triggered so far. It includes test runs.', 'wp-multisite-waas'),
],
],
]
@@ -264,8 +264,8 @@ class Webhook_Edit_Admin_Page extends Edit_Admin_Page {
wu_get_template(
'events/widget-payload',
[
- 'title' => __('Event Payload', 'wp-ultimo'),
- 'loading_text' => __('Loading Payload', 'wp-ultimo'),
+ 'title' => __('Event Payload', 'wp-multisite-waas'),
+ 'loading_text' => __('Loading Payload', 'wp-multisite-waas'),
'payload' => $payload,
]
);
@@ -297,7 +297,7 @@ class Webhook_Edit_Admin_Page extends Edit_Admin_Page {
*/
public function get_title() {
- return $this->edit ? __('Edit Webhook', 'wp-ultimo') : __('Add new Webhook', 'wp-ultimo');
+ return $this->edit ? __('Edit Webhook', 'wp-multisite-waas') : __('Add new Webhook', 'wp-multisite-waas');
}
/**
@@ -308,7 +308,7 @@ class Webhook_Edit_Admin_Page extends Edit_Admin_Page {
*/
public function get_menu_title() {
- return __('Edit Webhook', 'wp-ultimo');
+ return __('Edit Webhook', 'wp-multisite-waas');
}
/**
@@ -331,15 +331,15 @@ class Webhook_Edit_Admin_Page extends Edit_Admin_Page {
public function get_labels() {
return [
- 'edit_label' => __('Edit Webhook', 'wp-ultimo'),
- 'add_new_label' => __('Add new Webhook', 'wp-ultimo'),
- 'updated_message' => __('Webhook updated successfully!', 'wp-ultimo'),
- 'title_placeholder' => __('Enter Webhook', 'wp-ultimo'),
+ 'edit_label' => __('Edit Webhook', 'wp-multisite-waas'),
+ 'add_new_label' => __('Add new Webhook', 'wp-multisite-waas'),
+ 'updated_message' => __('Webhook updated successfully!', 'wp-multisite-waas'),
+ 'title_placeholder' => __('Enter Webhook', 'wp-multisite-waas'),
'title_description' => '',
- 'save_button_label' => __('Save Webhook', 'wp-ultimo'),
+ 'save_button_label' => __('Save Webhook', 'wp-multisite-waas'),
'save_description' => '',
- 'delete_button_label' => __('Delete Webhook', 'wp-ultimo'),
- 'delete_description' => __('Be careful. This action is irreversible.', 'wp-ultimo'),
+ 'delete_button_label' => __('Delete Webhook', 'wp-multisite-waas'),
+ 'delete_description' => __('Be careful. This action is irreversible.', 'wp-multisite-waas'),
];
}
diff --git a/inc/admin-pages/class-webhook-list-admin-page.php b/inc/admin-pages/class-webhook-list-admin-page.php
index 5b0ac80..744fb88 100644
--- a/inc/admin-pages/class-webhook-list-admin-page.php
+++ b/inc/admin-pages/class-webhook-list-admin-page.php
@@ -71,9 +71,9 @@ class Webhook_List_Admin_Page extends List_Admin_Page {
'wu_webhook_page',
[
'i18n' => [
- 'error_title' => __('Webhook Test', 'wp-ultimo'),
- 'error_message' => __('An error occurred when sending the test webhook, please try again.', 'wp-ultimo'),
- 'copied' => __('Copied!', 'wp-ultimo'),
+ 'error_title' => __('Webhook Test', 'wp-multisite-waas'),
+ 'error_message' => __('An error occurred when sending the test webhook, please try again.', 'wp-multisite-waas'),
+ 'copied' => __('Copied!', 'wp-multisite-waas'),
],
]
);
@@ -120,25 +120,25 @@ class Webhook_List_Admin_Page extends List_Admin_Page {
$fields = [
'name' => [
'type' => 'text',
- 'title' => __('Webhook Name', 'wp-ultimo'),
- 'desc' => __('A name to easily identify your webhook.', 'wp-ultimo'),
- 'placeholder' => __('E.g. Zapier Integration', 'wp-ultimo'),
+ 'title' => __('Webhook Name', 'wp-multisite-waas'),
+ 'desc' => __('A name to easily identify your webhook.', 'wp-multisite-waas'),
+ 'placeholder' => __('E.g. Zapier Integration', 'wp-multisite-waas'),
],
'event' => [
- 'title' => __('Event', 'wp-ultimo'),
+ 'title' => __('Event', 'wp-multisite-waas'),
'type' => 'select',
- 'desc' => __('The event that will trigger the webhook.', 'wp-ultimo'),
+ 'desc' => __('The event that will trigger the webhook.', 'wp-multisite-waas'),
'options' => $event_options,
],
'webhook_url' => [
'type' => 'url',
- 'title' => __('Webhook Url', 'wp-ultimo'),
- 'desc' => __('The url of your webhook.', 'wp-ultimo'),
- 'placeholder' => __('E.g. https://example.com/', 'wp-ultimo'),
+ 'title' => __('Webhook Url', 'wp-multisite-waas'),
+ 'desc' => __('The url of your webhook.', 'wp-multisite-waas'),
+ 'placeholder' => __('E.g. https://example.com/', 'wp-multisite-waas'),
],
'submit_button' => [
'type' => 'submit',
- 'title' => __('Add New Webhook', 'wp-ultimo'),
+ 'title' => __('Add New Webhook', 'wp-multisite-waas'),
'value' => 'save',
'classes' => 'button button-primary wu-w-full',
'wrapper_classes' => 'wu-items-end',
@@ -212,8 +212,8 @@ class Webhook_List_Admin_Page extends List_Admin_Page {
public function get_labels() {
return [
- 'deleted_message' => __('Webhook removed successfully.', 'wp-ultimo'),
- 'search_label' => __('Search Webhook', 'wp-ultimo'),
+ 'deleted_message' => __('Webhook removed successfully.', 'wp-multisite-waas'),
+ 'search_label' => __('Search Webhook', 'wp-multisite-waas'),
];
}
@@ -225,7 +225,7 @@ class Webhook_List_Admin_Page extends List_Admin_Page {
*/
public function get_title() {
- return __('Webhooks', 'wp-ultimo');
+ return __('Webhooks', 'wp-multisite-waas');
}
/**
@@ -236,7 +236,7 @@ class Webhook_List_Admin_Page extends List_Admin_Page {
*/
public function get_menu_title() {
- return __('Webhooks', 'wp-ultimo');
+ return __('Webhooks', 'wp-multisite-waas');
}
/**
@@ -247,7 +247,7 @@ class Webhook_List_Admin_Page extends List_Admin_Page {
*/
public function get_submenu_title() {
- return __('Webhooks', 'wp-ultimo');
+ return __('Webhooks', 'wp-multisite-waas');
}
/**
@@ -260,7 +260,7 @@ class Webhook_List_Admin_Page extends List_Admin_Page {
return [
[
- 'label' => __('Add New Webhook', 'wp-ultimo'),
+ 'label' => __('Add New Webhook', 'wp-multisite-waas'),
'icon' => 'wu-circle-with-plus',
'classes' => 'wubox',
'url' => wu_get_form_url('add_new_webhook_modal'),
diff --git a/inc/admin-pages/class-wizard-admin-page.php b/inc/admin-pages/class-wizard-admin-page.php
index 3eaec49..e86abb4 100644
--- a/inc/admin-pages/class-wizard-admin-page.php
+++ b/inc/admin-pages/class-wizard-admin-page.php
@@ -124,12 +124,12 @@ abstract class Wizard_Admin_Page extends Base_Admin_Page {
public function get_labels() {
return [
- 'edit_label' => __('Edit Object', 'wp-ultimo'),
- 'add_new_label' => __('Add New Object', 'wp-ultimo'),
- 'updated_message' => __('Object updated with success!', 'wp-ultimo'),
- 'title_placeholder' => __('Enter Object Name', 'wp-ultimo'),
+ 'edit_label' => __('Edit Object', 'wp-multisite-waas'),
+ 'add_new_label' => __('Add New Object', 'wp-multisite-waas'),
+ 'updated_message' => __('Object updated with success!', 'wp-multisite-waas'),
+ 'title_placeholder' => __('Enter Object Name', 'wp-multisite-waas'),
'title_description' => '',
- 'save_button_label' => __('Save', 'wp-ultimo'),
+ 'save_button_label' => __('Save', 'wp-multisite-waas'),
'save_description' => '',
];
}
@@ -152,7 +152,7 @@ abstract class Wizard_Admin_Page extends Base_Admin_Page {
return;
}
- add_meta_box('wp-ultimo-wizard-body', wu_get_isset($this->current_section, 'title', __('Section', 'wp-ultimo')), [$this, 'output_default_widget_body'], $screen->id, 'normal', null);
+ add_meta_box('wp-ultimo-wizard-body', wu_get_isset($this->current_section, 'title', __('Section', 'wp-multisite-waas')), [$this, 'output_default_widget_body'], $screen->id, 'normal', null);
}
/**
@@ -319,9 +319,9 @@ abstract class Wizard_Admin_Page extends Base_Admin_Page {
'description' => '',
'content' => '',
'fields' => [],
- 'next_label' => __('Continue →', 'wp-ultimo'),
- 'back_label' => __('← Go Back', 'wp-ultimo'),
- 'skip_label' => __('Skip this Step', 'wp-ultimo'),
+ 'next_label' => __('Continue →', 'wp-multisite-waas'),
+ 'back_label' => __('← Go Back', 'wp-multisite-waas'),
+ 'skip_label' => __('Skip this Step', 'wp-multisite-waas'),
'back' => false,
'skip' => false,
'next' => true,
diff --git a/inc/admin-pages/customer-panel/class-account-admin-page.php b/inc/admin-pages/customer-panel/class-account-admin-page.php
index 12ae960..067d41e 100644
--- a/inc/admin-pages/customer-panel/class-account-admin-page.php
+++ b/inc/admin-pages/customer-panel/class-account-admin-page.php
@@ -138,7 +138,7 @@ class Account_Admin_Page extends Base_Customer_Facing_Admin_Page {
return;
}
- $update_message = apply_filters('wu_account_update_message', __('Your account was successfully updated.', 'wp-ultimo'), $update_type);
+ $update_message = apply_filters('wu_account_update_message', __('Your account was successfully updated.', 'wp-multisite-waas'), $update_type);
WP_Ultimo()->notices->add($update_message);
}
@@ -197,7 +197,7 @@ class Account_Admin_Page extends Base_Customer_Facing_Admin_Page {
*/
public function get_title() {
- return __('Account', 'wp-ultimo');
+ return __('Account', 'wp-multisite-waas');
}
/**
@@ -208,7 +208,7 @@ class Account_Admin_Page extends Base_Customer_Facing_Admin_Page {
*/
public function get_menu_title() {
- return __('Account', 'wp-ultimo');
+ return __('Account', 'wp-multisite-waas');
}
/**
@@ -219,7 +219,7 @@ class Account_Admin_Page extends Base_Customer_Facing_Admin_Page {
*/
public function get_submenu_title() {
- return __('Account', 'wp-ultimo');
+ return __('Account', 'wp-multisite-waas');
}
/**
diff --git a/inc/admin-pages/customer-panel/class-add-new-site-admin-page.php b/inc/admin-pages/customer-panel/class-add-new-site-admin-page.php
index d4c6b2b..6ad55cc 100644
--- a/inc/admin-pages/customer-panel/class-add-new-site-admin-page.php
+++ b/inc/admin-pages/customer-panel/class-add-new-site-admin-page.php
@@ -209,7 +209,7 @@ class Add_New_Site_Admin_Page extends Base_Customer_Facing_Admin_Page {
*/
public function get_title() {
- return __('Add New Site', 'wp-ultimo');
+ return __('Add New Site', 'wp-multisite-waas');
}
/**
@@ -220,7 +220,7 @@ class Add_New_Site_Admin_Page extends Base_Customer_Facing_Admin_Page {
*/
public function get_menu_title() {
- return __('Add New Site', 'wp-ultimo');
+ return __('Add New Site', 'wp-multisite-waas');
}
/**
@@ -231,7 +231,7 @@ class Add_New_Site_Admin_Page extends Base_Customer_Facing_Admin_Page {
*/
public function get_submenu_title() {
- return __('Add New Site', 'wp-ultimo');
+ return __('Add New Site', 'wp-multisite-waas');
}
/**
diff --git a/inc/admin-pages/customer-panel/class-checkout-admin-page.php b/inc/admin-pages/customer-panel/class-checkout-admin-page.php
index 8c5355d..8336d32 100644
--- a/inc/admin-pages/customer-panel/class-checkout-admin-page.php
+++ b/inc/admin-pages/customer-panel/class-checkout-admin-page.php
@@ -95,7 +95,7 @@ class Checkout_Admin_Page extends \WP_Ultimo\Admin_Pages\Base_Customer_Facing_Ad
*/
public function get_title() {
- return __('Checkout', 'wp-ultimo');
+ return __('Checkout', 'wp-multisite-waas');
}
/**
@@ -106,7 +106,7 @@ class Checkout_Admin_Page extends \WP_Ultimo\Admin_Pages\Base_Customer_Facing_Ad
*/
public function get_menu_title() {
- return __('Checkout', 'wp-ultimo');
+ return __('Checkout', 'wp-multisite-waas');
}
/**
@@ -143,7 +143,7 @@ class Checkout_Admin_Page extends \WP_Ultimo\Admin_Pages\Base_Customer_Facing_Ad
$sections = [
'plan' => [
- 'title' => __('Change Membership', 'wp-ultimo'),
+ 'title' => __('Change Membership', 'wp-multisite-waas'),
'view' => [$this, 'display_checkout_form'],
],
];
diff --git a/inc/admin-pages/customer-panel/class-my-sites-admin-page.php b/inc/admin-pages/customer-panel/class-my-sites-admin-page.php
index c698d1c..711467b 100644
--- a/inc/admin-pages/customer-panel/class-my-sites-admin-page.php
+++ b/inc/admin-pages/customer-panel/class-my-sites-admin-page.php
@@ -232,7 +232,7 @@ class My_Sites_Admin_Page extends Base_Customer_Facing_Admin_Page {
*/
public function get_title() {
- return __('My Sites', 'wp-ultimo');
+ return __('My Sites', 'wp-multisite-waas');
}
/**
@@ -243,7 +243,7 @@ class My_Sites_Admin_Page extends Base_Customer_Facing_Admin_Page {
*/
public function get_menu_title() {
- return __('My Sites', 'wp-ultimo');
+ return __('My Sites', 'wp-multisite-waas');
}
/**
@@ -254,7 +254,7 @@ class My_Sites_Admin_Page extends Base_Customer_Facing_Admin_Page {
*/
public function get_submenu_title() {
- return __('My Sites', 'wp-ultimo');
+ return __('My Sites', 'wp-multisite-waas');
}
/**
diff --git a/inc/admin-pages/customer-panel/class-template-switching-admin-page.php b/inc/admin-pages/customer-panel/class-template-switching-admin-page.php
index a52ce91..825e638 100644
--- a/inc/admin-pages/customer-panel/class-template-switching-admin-page.php
+++ b/inc/admin-pages/customer-panel/class-template-switching-admin-page.php
@@ -103,7 +103,7 @@ class Template_Switching_Admin_Page extends \WP_Ultimo\Admin_Pages\Base_Customer
*/
public function get_title() {
- return __('Switch Template', 'wp-ultimo');
+ return __('Switch Template', 'wp-multisite-waas');
}
/**
@@ -114,7 +114,7 @@ class Template_Switching_Admin_Page extends \WP_Ultimo\Admin_Pages\Base_Customer
*/
public function get_menu_title() {
- return __('Switch Template', 'wp-ultimo');
+ return __('Switch Template', 'wp-multisite-waas');
}
/**
@@ -158,7 +158,7 @@ class Template_Switching_Admin_Page extends \WP_Ultimo\Admin_Pages\Base_Customer
'page' => $this,
'content' => '',
'labels' => [
- 'updated_message' => __('Template switched successfully!', 'wp-ultimo'),
+ 'updated_message' => __('Template switched successfully!', 'wp-multisite-waas'),
],
]
);
diff --git a/inc/admin-pages/debug/class-debug-admin-page.php b/inc/admin-pages/debug/class-debug-admin-page.php
index ebfa24a..0c7df0f 100644
--- a/inc/admin-pages/debug/class-debug-admin-page.php
+++ b/inc/admin-pages/debug/class-debug-admin-page.php
@@ -83,7 +83,7 @@ class Debug_Admin_Page extends Base_Admin_Page {
add_meta_box(
'wp-ultimo-debug-pages',
- __('All Registered Pages', 'wp-ultimo'),
+ __('All Registered Pages', 'wp-multisite-waas'),
[$this, 'render_debug_pages'],
get_current_screen()->id,
'normal',
@@ -126,7 +126,7 @@ class Debug_Admin_Page extends Base_Admin_Page {
*/
public function get_title() {
- return __('Registered Pages', 'wp-ultimo');
+ return __('Registered Pages', 'wp-multisite-waas');
}
/**
@@ -137,7 +137,7 @@ class Debug_Admin_Page extends Base_Admin_Page {
*/
public function get_menu_title() {
- return __('Registered Pages', 'wp-ultimo');
+ return __('Registered Pages', 'wp-multisite-waas');
}
/**
@@ -148,7 +148,7 @@ class Debug_Admin_Page extends Base_Admin_Page {
*/
public function get_submenu_title() {
- return __('Registered Pages', 'wp-ultimo');
+ return __('Registered Pages', 'wp-multisite-waas');
}
/**
diff --git a/inc/api/class-register-endpoint.php b/inc/api/class-register-endpoint.php
index 202fcaa..8ed9a43 100644
--- a/inc/api/class-register-endpoint.php
+++ b/inc/api/class-register-endpoint.php
@@ -130,7 +130,7 @@ class Register_Endpoint {
$customer->add_note(
[
- 'text' => __('Created via REST API', 'wp-ultimo'),
+ 'text' => __('Created via REST API', 'wp-multisite-waas'),
'author_id' => $customer->get_user_id(),
]
);
@@ -168,7 +168,7 @@ class Register_Endpoint {
if ($cart->is_valid() && count($cart->get_line_items()) === 0) {
return new \WP_Error(
'invalid_cart',
- __('Products are required.', 'wp-ultimo'),
+ __('Products are required.', 'wp-multisite-waas'),
array_merge(
(array) $cart->done(),
[
@@ -215,7 +215,7 @@ class Register_Endpoint {
$membership->add_note(
[
- 'text' => __('Created via REST API', 'wp-ultimo'),
+ 'text' => __('Created via REST API', 'wp-multisite-waas'),
'author_id' => $customer->get_user_id(),
]
);
@@ -253,7 +253,7 @@ class Register_Endpoint {
$payment->add_note(
[
- 'text' => __('Created via REST API', 'wp-ultimo'),
+ 'text' => __('Created via REST API', 'wp-multisite-waas'),
'author_id' => $customer->get_user_id(),
]
);
@@ -333,29 +333,29 @@ class Register_Endpoint {
$customer_args = [
'customer_id' => [
- 'description' => __('The customer ID, if the customer already exists. If you also need to create a customer/wp user, use the "customer" property.', 'wp-ultimo'),
+ 'description' => __('The customer ID, if the customer already exists. If you also need to create a customer/wp user, use the "customer" property.', 'wp-multisite-waas'),
'type' => 'integer',
],
'customer' => [
- 'description' => __('Customer data. Needs to be present when customer id is not.', 'wp-ultimo'),
+ 'description' => __('Customer data. Needs to be present when customer id is not.', 'wp-multisite-waas'),
'type' => 'object',
'properties' => [
'user_id' => [
- 'description' => __('Existing WordPress user id to attach this customer to. If you also need to create a WordPress user, pass the properties "username", "password", and "email".', 'wp-ultimo'),
+ 'description' => __('Existing WordPress user id to attach this customer to. If you also need to create a WordPress user, pass the properties "username", "password", and "email".', 'wp-multisite-waas'),
'type' => 'integer',
],
'username' => [
- 'description' => __('The customer username. This is used to create the WordPress user.', 'wp-ultimo'),
+ 'description' => __('The customer username. This is used to create the WordPress user.', 'wp-multisite-waas'),
'type' => 'string',
'minLength' => 4,
],
'password' => [
- 'description' => __('The customer password. This is used to create the WordPress user. Note that no validation is performed here to enforce strength.', 'wp-ultimo'),
+ 'description' => __('The customer password. This is used to create the WordPress user. Note that no validation is performed here to enforce strength.', 'wp-multisite-waas'),
'type' => 'string',
'minLength' => 6,
],
'email' => [
- 'description' => __('The customer email address. This is used to create the WordPress user.', 'wp-ultimo'),
+ 'description' => __('The customer email address. This is used to create the WordPress user.', 'wp-multisite-waas'),
'type' => 'string',
'format' => 'email',
],
@@ -369,42 +369,42 @@ class Register_Endpoint {
$membership_args = [
'membership' => [
- 'description' => __('The membership data is automatically generated based on the cart info passed (e.g. products) but can be overridden with this property.', 'wp-ultimo'),
+ 'description' => __('The membership data is automatically generated based on the cart info passed (e.g. products) but can be overridden with this property.', 'wp-multisite-waas'),
'type' => 'object',
'properties' => [
'status' => [
- 'description' => __('The membership status.', 'wp-ultimo'),
+ 'description' => __('The membership status.', 'wp-multisite-waas'),
'type' => 'string',
'enum' => array_values(Membership_Status::get_allowed_list()),
'default' => Membership_Status::PENDING,
],
'date_expiration' => [
- 'description' => __('The membership expiration date. Must be a valid PHP date format.', 'wp-ultimo'),
+ 'description' => __('The membership expiration date. Must be a valid PHP date format.', 'wp-multisite-waas'),
'type' => 'string',
'format' => 'date-time',
],
'date_trial_end' => [
- 'description' => __('The membership trial end date. Must be a valid PHP date format.', 'wp-ultimo'),
+ 'description' => __('The membership trial end date. Must be a valid PHP date format.', 'wp-multisite-waas'),
'type' => 'string',
'format' => 'date-time',
],
'date_activated' => [
- 'description' => __('The membership activation date. Must be a valid PHP date format.', 'wp-ultimo'),
+ 'description' => __('The membership activation date. Must be a valid PHP date format.', 'wp-multisite-waas'),
'type' => 'string',
'format' => 'date-time',
],
'date_renewed' => [
- 'description' => __('The membership last renewed date. Must be a valid PHP date format.', 'wp-ultimo'),
+ 'description' => __('The membership last renewed date. Must be a valid PHP date format.', 'wp-multisite-waas'),
'type' => 'string',
'format' => 'date-time',
],
'date_cancellation' => [
- 'description' => __('The membership cancellation date. Must be a valid PHP date format.', 'wp-ultimo'),
+ 'description' => __('The membership cancellation date. Must be a valid PHP date format.', 'wp-multisite-waas'),
'type' => 'string',
'format' => 'date-time',
],
'date_payment_plan_completed' => [
- 'description' => __('The membership completion date. Used when the membership is limited to a limited number of billing cycles. Must be a valid PHP date format.', 'wp-ultimo'),
+ 'description' => __('The membership completion date. Used when the membership is limited to a limited number of billing cycles. Must be a valid PHP date format.', 'wp-multisite-waas'),
'type' => 'string',
'format' => 'date-time',
],
@@ -414,11 +414,11 @@ class Register_Endpoint {
$payment_args = [
'payment' => [
- 'description' => __('The payment data is automatically generated based on the cart info passed (e.g. products) but can be overridden with this property.', 'wp-ultimo'),
+ 'description' => __('The payment data is automatically generated based on the cart info passed (e.g. products) but can be overridden with this property.', 'wp-multisite-waas'),
'type' => 'object',
'properties' => [
'status' => [
- 'description' => __('The payment status.', 'wp-ultimo'),
+ 'description' => __('The payment status.', 'wp-multisite-waas'),
'type' => 'string',
'enum' => array_values(Payment_Status::get_allowed_list()),
'default' => Payment_Status::PENDING,
@@ -426,23 +426,23 @@ class Register_Endpoint {
],
],
'payment_method' => [
- 'description' => __('Payment method information. Useful when using the REST API to integrate other payment methods.', 'wp-ultimo'),
+ 'description' => __('Payment method information. Useful when using the REST API to integrate other payment methods.', 'wp-multisite-waas'),
'type' => 'object',
'properties' => [
'gateway' => [
- 'description' => __('The gateway name. E.g. stripe.', 'wp-ultimo'),
+ 'description' => __('The gateway name. E.g. stripe.', 'wp-multisite-waas'),
'type' => 'string',
],
'gateway_customer_id' => [
- 'description' => __('The customer ID on the gateway system.', 'wp-ultimo'),
+ 'description' => __('The customer ID on the gateway system.', 'wp-multisite-waas'),
'type' => 'string',
],
'gateway_subscription_id' => [
- 'description' => __('The subscription ID on the gateway system.', 'wp-ultimo'),
+ 'description' => __('The subscription ID on the gateway system.', 'wp-multisite-waas'),
'type' => 'string',
],
'gateway_payment_id' => [
- 'description' => __('The payment ID on the gateway system.', 'wp-ultimo'),
+ 'description' => __('The payment ID on the gateway system.', 'wp-multisite-waas'),
'type' => 'string',
],
],
@@ -455,31 +455,31 @@ class Register_Endpoint {
'properties' => [
'site_url' => [
'type' => 'string',
- 'description' => __('The site subdomain or subdirectory (depending on your Multisite install). This would be "test" in "test.your-network.com".', 'wp-ultimo'),
+ 'description' => __('The site subdomain or subdirectory (depending on your Multisite install). This would be "test" in "test.your-network.com".', 'wp-multisite-waas'),
'minLength' => 4,
'required' => true,
],
'site_title' => [
'type' => 'string',
- 'description' => __('The site title. E.g. My Amazing Site', 'wp-ultimo'),
+ 'description' => __('The site title. E.g. My Amazing Site', 'wp-multisite-waas'),
'minLength' => 4,
'required' => true,
],
'publish' => [
- 'description' => __('If we should publish this site regardless of membership/payment status. Sites are created as pending by default, and are only published when a payment is received or the status of the membership changes to "active". This flag allows you to bypass the pending state.', 'wp-ultimo'),
+ 'description' => __('If we should publish this site regardless of membership/payment status. Sites are created as pending by default, and are only published when a payment is received or the status of the membership changes to "active". This flag allows you to bypass the pending state.', 'wp-multisite-waas'),
'type' => 'boolean',
'default' => false,
],
'template_id' => [
- 'description' => __('The template ID we should copy when creating this site. If left empty, the value dictated by the products will be used.', 'wp-ultimo'),
+ 'description' => __('The template ID we should copy when creating this site. If left empty, the value dictated by the products will be used.', 'wp-multisite-waas'),
'type' => 'integer',
],
'site_meta' => [
- 'description' => __('An associative array of key values to be saved as site_meta.', 'wp-ultimo'),
+ 'description' => __('An associative array of key values to be saved as site_meta.', 'wp-multisite-waas'),
'type' => 'object',
],
'site_option' => [
- 'description' => __('An associative array of key values to be saved as site_options. Useful for changing plugin settings and other site configurations.', 'wp-ultimo'),
+ 'description' => __('An associative array of key values to be saved as site_options. Useful for changing plugin settings and other site configurations.', 'wp-multisite-waas'),
'type' => 'object',
],
],
@@ -488,17 +488,17 @@ class Register_Endpoint {
$cart_args = [
'products' => [
- 'description' => __('The products to be added to this membership. Takes an array of product ids or slugs.', 'wp-ultimo'),
+ 'description' => __('The products to be added to this membership. Takes an array of product ids or slugs.', 'wp-multisite-waas'),
'uniqueItems' => true,
'type' => 'array',
],
'duration' => [
- 'description' => __('The membership duration.', 'wp-ultimo'),
+ 'description' => __('The membership duration.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'duration_unit' => [
- 'description' => __('The membership duration unit.', 'wp-ultimo'),
+ 'description' => __('The membership duration unit.', 'wp-multisite-waas'),
'type' => 'string',
'default' => 'month',
'enum' => [
@@ -509,22 +509,22 @@ class Register_Endpoint {
],
],
'discount_code' => [
- 'description' => __('A discount code. E.g. PROMO10.', 'wp-ultimo'),
+ 'description' => __('A discount code. E.g. PROMO10.', 'wp-multisite-waas'),
'type' => 'string',
],
'auto_renew' => [
- 'description' => __('The membership auto-renew status. Useful when integrating with other payment options via this REST API.', 'wp-ultimo'),
+ 'description' => __('The membership auto-renew status. Useful when integrating with other payment options via this REST API.', 'wp-multisite-waas'),
'type' => 'boolean',
'default' => false,
'required' => true,
],
'country' => [
- 'description' => __('The customer country. Used to calculate taxes and check if registration is allowed for that country.', 'wp-ultimo'),
+ 'description' => __('The customer country. Used to calculate taxes and check if registration is allowed for that country.', 'wp-multisite-waas'),
'type' => 'string',
'default' => '',
],
'currency' => [
- 'description' => __('The currency to be used.', 'wp-ultimo'),
+ 'description' => __('The currency to be used.', 'wp-multisite-waas'),
'type' => 'string',
],
];
@@ -550,7 +550,7 @@ class Register_Endpoint {
$customer = wu_get_customer($customer_id);
if ( ! $customer) {
- return new \WP_Error('customer_not_found', __('The customer id sent does not correspond to a valid customer.', 'wp-ultimo'));
+ return new \WP_Error('customer_not_found', __('The customer id sent does not correspond to a valid customer.', 'wp-multisite-waas'));
}
} else {
$customer = wu_create_customer($p['customer']);
diff --git a/inc/api/schemas/broadcast-create.php b/inc/api/schemas/broadcast-create.php
index 1f23764..9db9e0f 100644
--- a/inc/api/schemas/broadcast-create.php
+++ b/inc/api/schemas/broadcast-create.php
@@ -20,12 +20,12 @@ defined('ABSPATH') || exit;
*/
return [
'migrated_from_id' => [
- 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-ultimo'),
+ 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'notice_type' => [
- 'description' => __('Can be info, success, warning or error.', 'wp-ultimo'),
+ 'description' => __('Can be info, success, warning or error.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
'enum' => [
@@ -36,57 +36,57 @@ return [
],
],
'name' => [
- 'description' => __('This broadcast name, which is used as broadcast title as well.', 'wp-ultimo'),
+ 'description' => __('This broadcast name, which is used as broadcast title as well.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'type' => [
- 'description' => __('The type being set.', 'wp-ultimo'),
+ 'description' => __('The type being set.', 'wp-multisite-waas'),
'type' => 'string',
'required' => true,
],
'status' => [
- 'description' => __('The status being set.', 'wp-ultimo'),
+ 'description' => __('The status being set.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'author_id' => [
- 'description' => __('The author ID.', 'wp-ultimo'),
+ 'description' => __('The author ID.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'title' => [
- 'description' => __('Post title.', 'wp-ultimo'),
+ 'description' => __('Post title.', 'wp-multisite-waas'),
'type' => 'string',
'required' => true,
],
'content' => [
- 'description' => __('Post content.', 'wp-ultimo'),
+ 'description' => __('Post content.', 'wp-multisite-waas'),
'type' => 'string',
'required' => true,
],
'excerpt' => [
- 'description' => __('Post excerpt.', 'wp-ultimo'),
+ 'description' => __('Post excerpt.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'date_created' => [
- 'description' => __('Post creation date.', 'wp-ultimo'),
+ 'description' => __('Post creation date.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'date_modified' => [
- 'description' => __('Post last modification date.', 'wp-ultimo'),
+ 'description' => __('Post last modification date.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'slug' => [
- 'description' => __('The slug.', 'wp-ultimo'),
+ 'description' => __('The slug.', 'wp-multisite-waas'),
'type' => 'mixed',
'required' => false,
],
'skip_validation' => [
- 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-ultimo'),
+ 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-multisite-waas'),
'type' => 'boolean',
'required' => false,
],
diff --git a/inc/api/schemas/broadcast-update.php b/inc/api/schemas/broadcast-update.php
index bf2abcf..9a776b2 100644
--- a/inc/api/schemas/broadcast-update.php
+++ b/inc/api/schemas/broadcast-update.php
@@ -20,12 +20,12 @@ defined('ABSPATH') || exit;
*/
return [
'migrated_from_id' => [
- 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-ultimo'),
+ 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'notice_type' => [
- 'description' => __('Can be info, success, warning or error.', 'wp-ultimo'),
+ 'description' => __('Can be info, success, warning or error.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
'enum' => [
@@ -36,57 +36,57 @@ return [
],
],
'name' => [
- 'description' => __('This broadcast name, which is used as broadcast title as well.', 'wp-ultimo'),
+ 'description' => __('This broadcast name, which is used as broadcast title as well.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'type' => [
- 'description' => __('The type being set.', 'wp-ultimo'),
+ 'description' => __('The type being set.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'status' => [
- 'description' => __('The status being set.', 'wp-ultimo'),
+ 'description' => __('The status being set.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'author_id' => [
- 'description' => __('The author ID.', 'wp-ultimo'),
+ 'description' => __('The author ID.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'title' => [
- 'description' => __('Post title.', 'wp-ultimo'),
+ 'description' => __('Post title.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'content' => [
- 'description' => __('Post content.', 'wp-ultimo'),
+ 'description' => __('Post content.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'excerpt' => [
- 'description' => __('Post excerpt.', 'wp-ultimo'),
+ 'description' => __('Post excerpt.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'date_created' => [
- 'description' => __('Post creation date.', 'wp-ultimo'),
+ 'description' => __('Post creation date.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'date_modified' => [
- 'description' => __('Post last modification date.', 'wp-ultimo'),
+ 'description' => __('Post last modification date.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'slug' => [
- 'description' => __('The slug.', 'wp-ultimo'),
+ 'description' => __('The slug.', 'wp-multisite-waas'),
'type' => 'mixed',
'required' => false,
],
'skip_validation' => [
- 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-ultimo'),
+ 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-multisite-waas'),
'type' => 'boolean',
'required' => false,
],
diff --git a/inc/api/schemas/checkout-form-create.php b/inc/api/schemas/checkout-form-create.php
index afb13ad..da304ea 100644
--- a/inc/api/schemas/checkout-form-create.php
+++ b/inc/api/schemas/checkout-form-create.php
@@ -20,47 +20,47 @@ defined('ABSPATH') || exit;
*/
return [
'slug' => [
- 'description' => __('The checkout form slug. It needs to be unique and preferably make it clear what it is about. E.g. my_checkout_form.', 'wp-ultimo'),
+ 'description' => __('The checkout form slug. It needs to be unique and preferably make it clear what it is about. E.g. my_checkout_form.', 'wp-multisite-waas'),
'type' => 'string',
'required' => true,
],
'name' => [
- 'description' => __('Your checkout form name, which is used as checkout form title as well.', 'wp-ultimo'),
+ 'description' => __('Your checkout form name, which is used as checkout form title as well.', 'wp-multisite-waas'),
'type' => 'string',
'required' => true,
],
'active' => [
- 'description' => __('Set this checkout form as active (true), which means available to be used, or inactive (false).', 'wp-ultimo'),
+ 'description' => __('Set this checkout form as active (true), which means available to be used, or inactive (false).', 'wp-multisite-waas'),
'type' => 'boolean',
'required' => true,
],
'custom_css' => [
- 'description' => __('Custom CSS code for the checkout form.', 'wp-ultimo'),
+ 'description' => __('Custom CSS code for the checkout form.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'settings' => [
- 'description' => __('The checkout form settings and configurations.', 'wp-ultimo'),
+ 'description' => __('The checkout form settings and configurations.', 'wp-multisite-waas'),
'type' => 'object',
'required' => false,
],
'allowed_countries' => [
- 'description' => __('The allowed countries that can access this checkout.', 'wp-ultimo'),
+ 'description' => __('The allowed countries that can access this checkout.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'thank_you_page_id' => [
- 'description' => __('The thank you page ID. This page is shown after a successful purchase.', 'wp-ultimo'),
+ 'description' => __('The thank you page ID. This page is shown after a successful purchase.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'conversion_snippets' => [
- 'description' => __('Snippets to run on thank you page.', 'wp-ultimo'),
+ 'description' => __('Snippets to run on thank you page.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'template' => [
- 'description' => __("Template mode. Can be either 'blank', 'single-step' or 'multi-step'.", 'wp-ultimo'),
+ 'description' => __("Template mode. Can be either 'blank', 'single-step' or 'multi-step'.", 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
'enum' => [
@@ -70,22 +70,22 @@ return [
],
],
'date_created' => [
- 'description' => __('Model creation date.', 'wp-ultimo'),
+ 'description' => __('Model creation date.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'date_modified' => [
- 'description' => __('Model last modification date.', 'wp-ultimo'),
+ 'description' => __('Model last modification date.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'migrated_from_id' => [
- 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-ultimo'),
+ 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'skip_validation' => [
- 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-ultimo'),
+ 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-multisite-waas'),
'type' => 'boolean',
'required' => false,
],
diff --git a/inc/api/schemas/checkout-form-update.php b/inc/api/schemas/checkout-form-update.php
index 04cf99b..71ac9f6 100644
--- a/inc/api/schemas/checkout-form-update.php
+++ b/inc/api/schemas/checkout-form-update.php
@@ -20,47 +20,47 @@ defined('ABSPATH') || exit;
*/
return [
'slug' => [
- 'description' => __('The checkout form slug. It needs to be unique and preferably make it clear what it is about. E.g. my_checkout_form.', 'wp-ultimo'),
+ 'description' => __('The checkout form slug. It needs to be unique and preferably make it clear what it is about. E.g. my_checkout_form.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'name' => [
- 'description' => __('Your checkout form name, which is used as checkout form title as well.', 'wp-ultimo'),
+ 'description' => __('Your checkout form name, which is used as checkout form title as well.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'active' => [
- 'description' => __('Set this checkout form as active (true), which means available to be used, or inactive (false).', 'wp-ultimo'),
+ 'description' => __('Set this checkout form as active (true), which means available to be used, or inactive (false).', 'wp-multisite-waas'),
'type' => 'boolean',
'required' => false,
],
'custom_css' => [
- 'description' => __('Custom CSS code for the checkout form.', 'wp-ultimo'),
+ 'description' => __('Custom CSS code for the checkout form.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'settings' => [
- 'description' => __('The checkout form settings and configurations.', 'wp-ultimo'),
+ 'description' => __('The checkout form settings and configurations.', 'wp-multisite-waas'),
'type' => 'array',
'required' => false,
],
'allowed_countries' => [
- 'description' => __('The allowed countries that can access this checkout.', 'wp-ultimo'),
+ 'description' => __('The allowed countries that can access this checkout.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'thank_you_page_id' => [
- 'description' => __('The thank you page ID. This page is shown after a successful purchase.', 'wp-ultimo'),
+ 'description' => __('The thank you page ID. This page is shown after a successful purchase.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'conversion_snippets' => [
- 'description' => __('Snippets to run on thank you page.', 'wp-ultimo'),
+ 'description' => __('Snippets to run on thank you page.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'template' => [
- 'description' => __("Template mode. Can be either 'blank', 'single-step' or 'multi-step'.", 'wp-ultimo'),
+ 'description' => __("Template mode. Can be either 'blank', 'single-step' or 'multi-step'.", 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
'enum' => [
@@ -70,22 +70,22 @@ return [
],
],
'date_created' => [
- 'description' => __('Model creation date.', 'wp-ultimo'),
+ 'description' => __('Model creation date.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'date_modified' => [
- 'description' => __('Model last modification date.', 'wp-ultimo'),
+ 'description' => __('Model last modification date.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'migrated_from_id' => [
- 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-ultimo'),
+ 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'skip_validation' => [
- 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-ultimo'),
+ 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-multisite-waas'),
'type' => 'boolean',
'required' => false,
],
diff --git a/inc/api/schemas/customer-create.php b/inc/api/schemas/customer-create.php
index 3204a0f..70329c0 100644
--- a/inc/api/schemas/customer-create.php
+++ b/inc/api/schemas/customer-create.php
@@ -20,17 +20,17 @@ defined('ABSPATH') || exit;
*/
return [
'user_id' => [
- 'description' => __('The WordPress user ID attached to this customer.', 'wp-ultimo'),
+ 'description' => __('The WordPress user ID attached to this customer.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => true,
],
'date_registered' => [
- 'description' => __('Date when the customer was created.', 'wp-ultimo'),
+ 'description' => __('Date when the customer was created.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'email_verification' => [
- 'description' => __('Email verification status - either `none`, `pending`, or `verified`.', 'wp-ultimo'),
+ 'description' => __('Email verification status - either `none`, `pending`, or `verified`.', 'wp-multisite-waas'),
'type' => 'string',
'required' => true,
'enum' => [
@@ -40,32 +40,32 @@ return [
],
],
'last_login' => [
- 'description' => __('Date this customer last logged in.', 'wp-ultimo'),
+ 'description' => __('Date this customer last logged in.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'has_trialed' => [
- 'description' => __('Whether or not the customer has trialed before.', 'wp-ultimo'),
+ 'description' => __('Whether or not the customer has trialed before.', 'wp-multisite-waas'),
'type' => 'boolean',
'required' => false,
],
'vip' => [
- 'description' => __('If this customer is a VIP customer or not.', 'wp-ultimo'),
+ 'description' => __('If this customer is a VIP customer or not.', 'wp-multisite-waas'),
'type' => 'boolean',
'required' => false,
],
'ips' => [
- 'description' => __('List of IP addresses used by this customer.', 'wp-ultimo'),
+ 'description' => __('List of IP addresses used by this customer.', 'wp-multisite-waas'),
'type' => 'array',
'required' => false,
],
'extra_information' => [
- 'description' => __('Any extra information related to this customer.', 'wp-ultimo'),
+ 'description' => __('Any extra information related to this customer.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'type' => [
- 'description' => __("The customer type. Can be 'customer'.", 'wp-ultimo'),
+ 'description' => __("The customer type. Can be 'customer'.", 'wp-multisite-waas'),
'type' => 'string',
'required' => true,
'enum' => [
@@ -73,27 +73,27 @@ return [
],
],
'signup_form' => [
- 'description' => __('The form used to signup.', 'wp-ultimo'),
+ 'description' => __('The form used to signup.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'date_created' => [
- 'description' => __('Model creation date.', 'wp-ultimo'),
+ 'description' => __('Model creation date.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'date_modified' => [
- 'description' => __('Model last modification date.', 'wp-ultimo'),
+ 'description' => __('Model last modification date.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'migrated_from_id' => [
- 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-ultimo'),
+ 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'skip_validation' => [
- 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-ultimo'),
+ 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-multisite-waas'),
'type' => 'boolean',
'required' => false,
],
diff --git a/inc/api/schemas/customer-update.php b/inc/api/schemas/customer-update.php
index 7a31b9c..11b094d 100644
--- a/inc/api/schemas/customer-update.php
+++ b/inc/api/schemas/customer-update.php
@@ -20,17 +20,17 @@ defined('ABSPATH') || exit;
*/
return [
'user_id' => [
- 'description' => __('The WordPress user ID attached to this customer.', 'wp-ultimo'),
+ 'description' => __('The WordPress user ID attached to this customer.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'date_registered' => [
- 'description' => __('Date when the customer was created.', 'wp-ultimo'),
+ 'description' => __('Date when the customer was created.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'email_verification' => [
- 'description' => __('Email verification status - either `none`, `pending`, or `verified`.', 'wp-ultimo'),
+ 'description' => __('Email verification status - either `none`, `pending`, or `verified`.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
'enum' => [
@@ -40,32 +40,32 @@ return [
],
],
'last_login' => [
- 'description' => __('Date this customer last logged in.', 'wp-ultimo'),
+ 'description' => __('Date this customer last logged in.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'has_trialed' => [
- 'description' => __('Whether or not the customer has trialed before.', 'wp-ultimo'),
+ 'description' => __('Whether or not the customer has trialed before.', 'wp-multisite-waas'),
'type' => 'boolean',
'required' => false,
],
'vip' => [
- 'description' => __('If this customer is a VIP customer or not.', 'wp-ultimo'),
+ 'description' => __('If this customer is a VIP customer or not.', 'wp-multisite-waas'),
'type' => 'boolean',
'required' => false,
],
'ips' => [
- 'description' => __('List of IP addresses used by this customer.', 'wp-ultimo'),
+ 'description' => __('List of IP addresses used by this customer.', 'wp-multisite-waas'),
'type' => 'array',
'required' => false,
],
'extra_information' => [
- 'description' => __('Any extra information related to this customer.', 'wp-ultimo'),
+ 'description' => __('Any extra information related to this customer.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'type' => [
- 'description' => __("The customer type. Can be 'customer'.", 'wp-ultimo'),
+ 'description' => __("The customer type. Can be 'customer'.", 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
'enum' => [
@@ -73,27 +73,27 @@ return [
],
],
'signup_form' => [
- 'description' => __('The form used to signup.', 'wp-ultimo'),
+ 'description' => __('The form used to signup.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'date_created' => [
- 'description' => __('Model creation date.', 'wp-ultimo'),
+ 'description' => __('Model creation date.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'date_modified' => [
- 'description' => __('Model last modification date.', 'wp-ultimo'),
+ 'description' => __('Model last modification date.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'migrated_from_id' => [
- 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-ultimo'),
+ 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'skip_validation' => [
- 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-ultimo'),
+ 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-multisite-waas'),
'type' => 'boolean',
'required' => false,
],
diff --git a/inc/api/schemas/discount-code-create.php b/inc/api/schemas/discount-code-create.php
index 1dbeccf..3b62159 100644
--- a/inc/api/schemas/discount-code-create.php
+++ b/inc/api/schemas/discount-code-create.php
@@ -20,37 +20,37 @@ defined('ABSPATH') || exit;
*/
return [
'name' => [
- 'description' => __('Your discount code name, which is used as discount code title as well.', 'wp-ultimo'),
+ 'description' => __('Your discount code name, which is used as discount code title as well.', 'wp-multisite-waas'),
'type' => 'string',
'required' => true,
],
'code' => [
- 'description' => __('A unique identification to redeem the discount code. E.g. PROMO10.', 'wp-ultimo'),
+ 'description' => __('A unique identification to redeem the discount code. E.g. PROMO10.', 'wp-multisite-waas'),
'type' => 'string',
'required' => true,
],
'description' => [
- 'description' => __('A description for the discount code, usually a short text.', 'wp-ultimo'),
+ 'description' => __('A description for the discount code, usually a short text.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'uses' => [
- 'description' => __('Number of times this discount was applied.', 'wp-ultimo'),
+ 'description' => __('Number of times this discount was applied.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'max_uses' => [
- 'description' => __('The number of times this discount can be used before becoming inactive.', 'wp-ultimo'),
+ 'description' => __('The number of times this discount can be used before becoming inactive.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'apply_to_renewals' => [
- 'description' => __('Wether or not we should apply the discount to membership renewals.', 'wp-ultimo'),
+ 'description' => __('Wether or not we should apply the discount to membership renewals.', 'wp-multisite-waas'),
'type' => 'boolean',
'required' => false,
],
'type' => [
- 'description' => __("The type of the discount code. Can be 'percentage' (e.g. 10%% OFF), 'absolute' (e.g. $10 OFF).", 'wp-ultimo'),
+ 'description' => __("The type of the discount code. Can be 'percentage' (e.g. 10%% OFF), 'absolute' (e.g. $10 OFF).", 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
'enum' => [
@@ -59,12 +59,12 @@ return [
],
],
'value' => [
- 'description' => __('Amount discounted in cents.', 'wp-ultimo'),
+ 'description' => __('Amount discounted in cents.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => true,
],
'setup_fee_type' => [
- 'description' => __('Type of the discount for the setup fee value. Can be a percentage or absolute.', 'wp-ultimo'),
+ 'description' => __('Type of the discount for the setup fee value. Can be a percentage or absolute.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
'enum' => [
@@ -73,52 +73,52 @@ return [
],
],
'setup_fee_value' => [
- 'description' => __('Amount discounted for setup fees in cents.', 'wp-ultimo'),
+ 'description' => __('Amount discounted for setup fees in cents.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'active' => [
- 'description' => __('Set this discount code as active (true), which means available to be used, or inactive (false).', 'wp-ultimo'),
+ 'description' => __('Set this discount code as active (true), which means available to be used, or inactive (false).', 'wp-multisite-waas'),
'type' => 'boolean',
'required' => false,
],
'date_start' => [
- 'description' => __('Start date for the coupon code to be considered valid.', 'wp-ultimo'),
+ 'description' => __('Start date for the coupon code to be considered valid.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'date_expiration' => [
- 'description' => __('Expiration date for the coupon code.', 'wp-ultimo'),
+ 'description' => __('Expiration date for the coupon code.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'date_created' => [
- 'description' => __('Date when this discount code was created.', 'wp-ultimo'),
+ 'description' => __('Date when this discount code was created.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'allowed_products' => [
- 'description' => __('The list of products that allows this discount code to be used. If empty, all products will accept this code.', 'wp-ultimo'),
+ 'description' => __('The list of products that allows this discount code to be used. If empty, all products will accept this code.', 'wp-multisite-waas'),
'type' => 'array',
'required' => false,
],
'limit_products' => [
- 'description' => __('This discount code will be limited to be used in certain products? If set to true, you must define a list of allowed products.', 'wp-ultimo'),
+ 'description' => __('This discount code will be limited to be used in certain products? If set to true, you must define a list of allowed products.', 'wp-multisite-waas'),
'type' => 'boolean',
'required' => false,
],
'date_modified' => [
- 'description' => __('Model last modification date.', 'wp-ultimo'),
+ 'description' => __('Model last modification date.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'migrated_from_id' => [
- 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-ultimo'),
+ 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'skip_validation' => [
- 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-ultimo'),
+ 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-multisite-waas'),
'type' => 'boolean',
'required' => false,
],
diff --git a/inc/api/schemas/discount-code-update.php b/inc/api/schemas/discount-code-update.php
index f7e5874..3d5821b 100644
--- a/inc/api/schemas/discount-code-update.php
+++ b/inc/api/schemas/discount-code-update.php
@@ -20,37 +20,37 @@ defined('ABSPATH') || exit;
*/
return [
'name' => [
- 'description' => __('Your discount code name, which is used as discount code title as well.', 'wp-ultimo'),
+ 'description' => __('Your discount code name, which is used as discount code title as well.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'code' => [
- 'description' => __('A unique identification to redeem the discount code. E.g. PROMO10.', 'wp-ultimo'),
+ 'description' => __('A unique identification to redeem the discount code. E.g. PROMO10.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'description' => [
- 'description' => __('A description for the discount code, usually a short text.', 'wp-ultimo'),
+ 'description' => __('A description for the discount code, usually a short text.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'uses' => [
- 'description' => __('Number of times this discount was applied.', 'wp-ultimo'),
+ 'description' => __('Number of times this discount was applied.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'max_uses' => [
- 'description' => __('The number of times this discount can be used before becoming inactive.', 'wp-ultimo'),
+ 'description' => __('The number of times this discount can be used before becoming inactive.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'apply_to_renewals' => [
- 'description' => __('Wether or not we should apply the discount to membership renewals.', 'wp-ultimo'),
+ 'description' => __('Wether or not we should apply the discount to membership renewals.', 'wp-multisite-waas'),
'type' => 'boolean',
'required' => false,
],
'type' => [
- 'description' => __("The type of the discount code. Can be 'percentage' (e.g. 10%% OFF), 'absolute' (e.g. $10 OFF).", 'wp-ultimo'),
+ 'description' => __("The type of the discount code. Can be 'percentage' (e.g. 10%% OFF), 'absolute' (e.g. $10 OFF).", 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
'enum' => [
@@ -59,12 +59,12 @@ return [
],
],
'value' => [
- 'description' => __('Amount discounted in cents.', 'wp-ultimo'),
+ 'description' => __('Amount discounted in cents.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'setup_fee_type' => [
- 'description' => __('Type of the discount for the setup fee value. Can be a percentage or absolute.', 'wp-ultimo'),
+ 'description' => __('Type of the discount for the setup fee value. Can be a percentage or absolute.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
'enum' => [
@@ -73,52 +73,52 @@ return [
],
],
'setup_fee_value' => [
- 'description' => __('Amount discounted for setup fees in cents.', 'wp-ultimo'),
+ 'description' => __('Amount discounted for setup fees in cents.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'active' => [
- 'description' => __('Set this discount code as active (true), which means available to be used, or inactive (false).', 'wp-ultimo'),
+ 'description' => __('Set this discount code as active (true), which means available to be used, or inactive (false).', 'wp-multisite-waas'),
'type' => 'boolean',
'required' => false,
],
'date_start' => [
- 'description' => __('Start date for the coupon code to be considered valid.', 'wp-ultimo'),
+ 'description' => __('Start date for the coupon code to be considered valid.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'date_expiration' => [
- 'description' => __('Expiration date for the coupon code.', 'wp-ultimo'),
+ 'description' => __('Expiration date for the coupon code.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'date_created' => [
- 'description' => __('Date when this discount code was created.', 'wp-ultimo'),
+ 'description' => __('Date when this discount code was created.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'allowed_products' => [
- 'description' => __('The list of products that allows this discount code to be used. If empty, all products will accept this code.', 'wp-ultimo'),
+ 'description' => __('The list of products that allows this discount code to be used. If empty, all products will accept this code.', 'wp-multisite-waas'),
'type' => 'array',
'required' => false,
],
'limit_products' => [
- 'description' => __('This discount code will be limited to be used in certain products? If set to true, you must define a list of allowed products.', 'wp-ultimo'),
+ 'description' => __('This discount code will be limited to be used in certain products? If set to true, you must define a list of allowed products.', 'wp-multisite-waas'),
'type' => 'boolean',
'required' => false,
],
'date_modified' => [
- 'description' => __('Model last modification date.', 'wp-ultimo'),
+ 'description' => __('Model last modification date.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'migrated_from_id' => [
- 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-ultimo'),
+ 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'skip_validation' => [
- 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-ultimo'),
+ 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-multisite-waas'),
'type' => 'boolean',
'required' => false,
],
diff --git a/inc/api/schemas/domain-create.php b/inc/api/schemas/domain-create.php
index a851236..ed60435 100644
--- a/inc/api/schemas/domain-create.php
+++ b/inc/api/schemas/domain-create.php
@@ -20,32 +20,32 @@ defined('ABSPATH') || exit;
*/
return [
'domain' => [
- 'description' => __("Your Domain name. You don't need to put http or https in front of your domain in this field. e.g: example.com.", 'wp-ultimo'),
+ 'description' => __("Your Domain name. You don't need to put http or https in front of your domain in this field. e.g: example.com.", 'wp-multisite-waas'),
'type' => 'string',
'required' => true,
],
'blog_id' => [
- 'description' => __('The blog ID attached to this domain.', 'wp-ultimo'),
+ 'description' => __('The blog ID attached to this domain.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => true,
],
'active' => [
- 'description' => __('Set this domain as active (true), which means available to be used, or inactive (false).', 'wp-ultimo'),
+ 'description' => __('Set this domain as active (true), which means available to be used, or inactive (false).', 'wp-multisite-waas'),
'type' => 'boolean',
'required' => false,
],
'primary_domain' => [
- 'description' => __("Define true to set this as primary domain of a site, meaning it's the main url, or set false.", 'wp-ultimo'),
+ 'description' => __("Define true to set this as primary domain of a site, meaning it's the main url, or set false.", 'wp-multisite-waas'),
'type' => 'boolean',
'required' => false,
],
'secure' => [
- 'description' => __('If this domain has some SSL security or not.', 'wp-ultimo'),
+ 'description' => __('If this domain has some SSL security or not.', 'wp-multisite-waas'),
'type' => 'boolean',
'required' => false,
],
'stage' => [
- 'description' => __('The state of the domain model object. Can be one of this options: checking-dns, checking-ssl-cert, done-without-ssl, done and failed.', 'wp-ultimo'),
+ 'description' => __('The state of the domain model object. Can be one of this options: checking-dns, checking-ssl-cert, done-without-ssl, done and failed.', 'wp-multisite-waas'),
'type' => 'string',
'required' => true,
'enum' => [
@@ -57,22 +57,22 @@ return [
],
],
'date_created' => [
- 'description' => __('Date when the domain was created. If no date is set, the current date and time will be used.', 'wp-ultimo'),
+ 'description' => __('Date when the domain was created. If no date is set, the current date and time will be used.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'date_modified' => [
- 'description' => __('Model last modification date.', 'wp-ultimo'),
+ 'description' => __('Model last modification date.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'migrated_from_id' => [
- 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-ultimo'),
+ 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'skip_validation' => [
- 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-ultimo'),
+ 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-multisite-waas'),
'type' => 'boolean',
'required' => false,
],
diff --git a/inc/api/schemas/domain-update.php b/inc/api/schemas/domain-update.php
index 37a35a0..9d1f49a 100644
--- a/inc/api/schemas/domain-update.php
+++ b/inc/api/schemas/domain-update.php
@@ -20,32 +20,32 @@ defined('ABSPATH') || exit;
*/
return [
'domain' => [
- 'description' => __("Your Domain name. You don't need to put http or https in front of your domain in this field. e.g: example.com.", 'wp-ultimo'),
+ 'description' => __("Your Domain name. You don't need to put http or https in front of your domain in this field. e.g: example.com.", 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'blog_id' => [
- 'description' => __('The blog ID attached to this domain.', 'wp-ultimo'),
+ 'description' => __('The blog ID attached to this domain.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'active' => [
- 'description' => __('Set this domain as active (true), which means available to be used, or inactive (false).', 'wp-ultimo'),
+ 'description' => __('Set this domain as active (true), which means available to be used, or inactive (false).', 'wp-multisite-waas'),
'type' => 'boolean',
'required' => false,
],
'primary_domain' => [
- 'description' => __("Define true to set this as primary domain of a site, meaning it's the main url, or set false.", 'wp-ultimo'),
+ 'description' => __("Define true to set this as primary domain of a site, meaning it's the main url, or set false.", 'wp-multisite-waas'),
'type' => 'boolean',
'required' => false,
],
'secure' => [
- 'description' => __('If this domain has some SSL security or not.', 'wp-ultimo'),
+ 'description' => __('If this domain has some SSL security or not.', 'wp-multisite-waas'),
'type' => 'boolean',
'required' => false,
],
'stage' => [
- 'description' => __('The state of the domain model object. Can be one of this options: checking-dns, checking-ssl-cert, done-without-ssl, done and failed.', 'wp-ultimo'),
+ 'description' => __('The state of the domain model object. Can be one of this options: checking-dns, checking-ssl-cert, done-without-ssl, done and failed.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
'enum' => [
@@ -57,22 +57,22 @@ return [
],
],
'date_created' => [
- 'description' => __('Date when the domain was created. If no date is set, the current date and time will be used.', 'wp-ultimo'),
+ 'description' => __('Date when the domain was created. If no date is set, the current date and time will be used.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'date_modified' => [
- 'description' => __('Model last modification date.', 'wp-ultimo'),
+ 'description' => __('Model last modification date.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'migrated_from_id' => [
- 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-ultimo'),
+ 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'skip_validation' => [
- 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-ultimo'),
+ 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-multisite-waas'),
'type' => 'boolean',
'required' => false,
],
diff --git a/inc/api/schemas/email-create.php b/inc/api/schemas/email-create.php
index 504ec28..5fd7ddb 100644
--- a/inc/api/schemas/email-create.php
+++ b/inc/api/schemas/email-create.php
@@ -20,7 +20,7 @@ defined('ABSPATH') || exit;
*/
return [
'style' => [
- 'description' => __("The email style. Can be 'html' or 'plain-text'.", 'wp-ultimo'),
+ 'description' => __("The email style. Can be 'html' or 'plain-text'.", 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
'enum' => [
@@ -29,32 +29,32 @@ return [
],
],
'schedule' => [
- 'description' => __('Whether or not this is a scheduled email.', 'wp-ultimo'),
+ 'description' => __('Whether or not this is a scheduled email.', 'wp-multisite-waas'),
'type' => 'boolean',
'required' => false,
],
'type' => [
- 'description' => __('The type being set.', 'wp-ultimo'),
+ 'description' => __('The type being set.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'event' => [
- 'description' => __('The event that needs to be fired for this email to be sent.', 'wp-ultimo'),
+ 'description' => __('The event that needs to be fired for this email to be sent.', 'wp-multisite-waas'),
'type' => 'string',
'required' => true,
],
'send_hours' => [
- 'description' => __('The amount of hours that the email will wait before is sent.', 'wp-ultimo'),
+ 'description' => __('The amount of hours that the email will wait before is sent.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'send_days' => [
- 'description' => __('The amount of days that the email will wait before is sent.', 'wp-ultimo'),
+ 'description' => __('The amount of days that the email will wait before is sent.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'schedule_type' => [
- 'description' => __("The type of schedule. Can be 'days' or 'hours'.", 'wp-ultimo'),
+ 'description' => __("The type of schedule. Can be 'days' or 'hours'.", 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
'enum' => [
@@ -63,27 +63,27 @@ return [
],
],
'name' => [
- 'description' => __('The name being set as title.', 'wp-ultimo'),
+ 'description' => __('The name being set as title.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'custom_sender' => [
- 'description' => __('If has a custom sender.', 'wp-ultimo'),
+ 'description' => __('If has a custom sender.', 'wp-multisite-waas'),
'type' => 'boolean',
'required' => false,
],
'custom_sender_name' => [
- 'description' => __('The name of the custom sender. E.g. From: John Doe.', 'wp-ultimo'),
+ 'description' => __('The name of the custom sender. E.g. From: John Doe.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'custom_sender_email' => [
- 'description' => __('The email of the custom sender. E.g. From: johndoe@gmail.com.', 'wp-ultimo'),
+ 'description' => __('The email of the custom sender. E.g. From: johndoe@gmail.com.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'target' => [
- 'description' => __("If we should send this to a customer or to the network admin. Can be 'customer' or 'admin'.", 'wp-ultimo'),
+ 'description' => __("If we should send this to a customer or to the network admin. Can be 'customer' or 'admin'.", 'wp-multisite-waas'),
'type' => 'string',
'required' => true,
'enum' => [
@@ -92,52 +92,52 @@ return [
],
],
'send_copy_to_admin' => [
- 'description' => __('Checks if we should send a copy of the email to the admin.', 'wp-ultimo'),
+ 'description' => __('Checks if we should send a copy of the email to the admin.', 'wp-multisite-waas'),
'type' => 'boolean',
'required' => false,
],
'active' => [
- 'description' => __('Set this email as active (true), which means available will fire when the event occur, or inactive (false).', 'wp-ultimo'),
+ 'description' => __('Set this email as active (true), which means available will fire when the event occur, or inactive (false).', 'wp-multisite-waas'),
'type' => 'boolean',
'required' => false,
],
'legacy' => [
- 'description' => __('Whether or not this is a legacy email.', 'wp-ultimo'),
+ 'description' => __('Whether or not this is a legacy email.', 'wp-multisite-waas'),
'type' => 'boolean',
'required' => false,
],
'title' => [
- 'description' => __('Post title.', 'wp-ultimo'),
+ 'description' => __('Post title.', 'wp-multisite-waas'),
'type' => 'string',
'required' => true,
],
'content' => [
- 'description' => __('Post content.', 'wp-ultimo'),
+ 'description' => __('Post content.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'excerpt' => [
- 'description' => __('Post excerpt.', 'wp-ultimo'),
+ 'description' => __('Post excerpt.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'date_created' => [
- 'description' => __('Post creation date.', 'wp-ultimo'),
+ 'description' => __('Post creation date.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'date_modified' => [
- 'description' => __('Post last modification date.', 'wp-ultimo'),
+ 'description' => __('Post last modification date.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'migrated_from_id' => [
- 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-ultimo'),
+ 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'skip_validation' => [
- 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-ultimo'),
+ 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-multisite-waas'),
'type' => 'boolean',
'required' => false,
],
diff --git a/inc/api/schemas/email-update.php b/inc/api/schemas/email-update.php
index a604767..56012e8 100644
--- a/inc/api/schemas/email-update.php
+++ b/inc/api/schemas/email-update.php
@@ -20,7 +20,7 @@ defined('ABSPATH') || exit;
*/
return [
'style' => [
- 'description' => __("The email style. Can be 'html' or 'plain-text'.", 'wp-ultimo'),
+ 'description' => __("The email style. Can be 'html' or 'plain-text'.", 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
'enum' => [
@@ -29,32 +29,32 @@ return [
],
],
'schedule' => [
- 'description' => __('Whether or not this is a scheduled email.', 'wp-ultimo'),
+ 'description' => __('Whether or not this is a scheduled email.', 'wp-multisite-waas'),
'type' => 'boolean',
'required' => false,
],
'type' => [
- 'description' => __('The type being set.', 'wp-ultimo'),
+ 'description' => __('The type being set.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'event' => [
- 'description' => __('The event that needs to be fired for this email to be sent.', 'wp-ultimo'),
+ 'description' => __('The event that needs to be fired for this email to be sent.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'send_hours' => [
- 'description' => __('The amount of hours that the email will wait before is sent.', 'wp-ultimo'),
+ 'description' => __('The amount of hours that the email will wait before is sent.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'send_days' => [
- 'description' => __('The amount of days that the email will wait before is sent.', 'wp-ultimo'),
+ 'description' => __('The amount of days that the email will wait before is sent.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'schedule_type' => [
- 'description' => __("The type of schedule. Can be 'days' or 'hours'.", 'wp-ultimo'),
+ 'description' => __("The type of schedule. Can be 'days' or 'hours'.", 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
'enum' => [
@@ -63,27 +63,27 @@ return [
],
],
'name' => [
- 'description' => __('The name being set as title.', 'wp-ultimo'),
+ 'description' => __('The name being set as title.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'custom_sender' => [
- 'description' => __('If has a custom sender.', 'wp-ultimo'),
+ 'description' => __('If has a custom sender.', 'wp-multisite-waas'),
'type' => 'boolean',
'required' => false,
],
'custom_sender_name' => [
- 'description' => __('The name of the custom sender. E.g. From: John Doe.', 'wp-ultimo'),
+ 'description' => __('The name of the custom sender. E.g. From: John Doe.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'custom_sender_email' => [
- 'description' => __('The email of the custom sender. E.g. From: johndoe@gmail.com.', 'wp-ultimo'),
+ 'description' => __('The email of the custom sender. E.g. From: johndoe@gmail.com.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'target' => [
- 'description' => __("If we should send this to a customer or to the network admin. Can be 'customer' or 'admin'.", 'wp-ultimo'),
+ 'description' => __("If we should send this to a customer or to the network admin. Can be 'customer' or 'admin'.", 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
'enum' => [
@@ -92,52 +92,52 @@ return [
],
],
'send_copy_to_admin' => [
- 'description' => __('Checks if we should send a copy of the email to the admin.', 'wp-ultimo'),
+ 'description' => __('Checks if we should send a copy of the email to the admin.', 'wp-multisite-waas'),
'type' => 'boolean',
'required' => false,
],
'active' => [
- 'description' => __('Set this email as active (true), which means available will fire when the event occur, or inactive (false).', 'wp-ultimo'),
+ 'description' => __('Set this email as active (true), which means available will fire when the event occur, or inactive (false).', 'wp-multisite-waas'),
'type' => 'boolean',
'required' => false,
],
'legacy' => [
- 'description' => __('Whether or not this is a legacy email.', 'wp-ultimo'),
+ 'description' => __('Whether or not this is a legacy email.', 'wp-multisite-waas'),
'type' => 'boolean',
'required' => false,
],
'title' => [
- 'description' => __('Post title.', 'wp-ultimo'),
+ 'description' => __('Post title.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'content' => [
- 'description' => __('Post content.', 'wp-ultimo'),
+ 'description' => __('Post content.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'excerpt' => [
- 'description' => __('Post excerpt.', 'wp-ultimo'),
+ 'description' => __('Post excerpt.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'date_created' => [
- 'description' => __('Post creation date.', 'wp-ultimo'),
+ 'description' => __('Post creation date.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'date_modified' => [
- 'description' => __('Post last modification date.', 'wp-ultimo'),
+ 'description' => __('Post last modification date.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'migrated_from_id' => [
- 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-ultimo'),
+ 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'skip_validation' => [
- 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-ultimo'),
+ 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-multisite-waas'),
'type' => 'boolean',
'required' => false,
],
diff --git a/inc/api/schemas/event-create.php b/inc/api/schemas/event-create.php
index 9f82b38..956e24e 100644
--- a/inc/api/schemas/event-create.php
+++ b/inc/api/schemas/event-create.php
@@ -20,22 +20,22 @@ defined('ABSPATH') || exit;
*/
return [
'severity' => [
- 'description' => __('Severity of the problem.', 'wp-ultimo'),
+ 'description' => __('Severity of the problem.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => true,
],
'date_created' => [
- 'description' => __('Date when the event was created.', 'wp-ultimo'),
+ 'description' => __('Date when the event was created.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'payload' => [
- 'description' => __('Payload of the event.', 'wp-ultimo'),
+ 'description' => __('Payload of the event.', 'wp-multisite-waas'),
'type' => 'object',
'required' => true,
],
'initiator' => [
- 'description' => __('The type of user responsible for initiating the event. There are two options: Manual and System. By default, the event is saved as manual.', 'wp-ultimo'),
+ 'description' => __('The type of user responsible for initiating the event. There are two options: Manual and System. By default, the event is saved as manual.', 'wp-multisite-waas'),
'type' => 'string',
'required' => true,
'enum' => [
@@ -44,32 +44,32 @@ return [
],
],
'object_type' => [
- 'description' => __("The type of object related to this event. It's usually the model name.", 'wp-ultimo'),
+ 'description' => __("The type of object related to this event. It's usually the model name.", 'wp-multisite-waas'),
'type' => 'string',
'required' => true,
],
'slug' => [
- 'description' => __('The event slug. It needs to be unique and preferably make it clear what it is about. Example: account_created is about creating an account.', 'wp-ultimo'),
+ 'description' => __('The event slug. It needs to be unique and preferably make it clear what it is about. Example: account_created is about creating an account.', 'wp-multisite-waas'),
'type' => 'string',
'required' => true,
],
'object_id' => [
- 'description' => __('The ID of the related objects.', 'wp-ultimo'),
+ 'description' => __('The ID of the related objects.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'date_modified' => [
- 'description' => __('Model last modification date.', 'wp-ultimo'),
+ 'description' => __('Model last modification date.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'migrated_from_id' => [
- 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-ultimo'),
+ 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'skip_validation' => [
- 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-ultimo'),
+ 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-multisite-waas'),
'type' => 'boolean',
'required' => false,
],
diff --git a/inc/api/schemas/event-update.php b/inc/api/schemas/event-update.php
index e8abcf8..82ab3a9 100644
--- a/inc/api/schemas/event-update.php
+++ b/inc/api/schemas/event-update.php
@@ -20,22 +20,22 @@ defined('ABSPATH') || exit;
*/
return [
'severity' => [
- 'description' => __('Severity of the problem.', 'wp-ultimo'),
+ 'description' => __('Severity of the problem.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'date_created' => [
- 'description' => __('Date when the event was created.', 'wp-ultimo'),
+ 'description' => __('Date when the event was created.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'payload' => [
- 'description' => __('Payload of the event.', 'wp-ultimo'),
+ 'description' => __('Payload of the event.', 'wp-multisite-waas'),
'type' => 'object',
'required' => false,
],
'initiator' => [
- 'description' => __('The type of user responsible for initiating the event. There are two options: Manual and System. By default, the event is saved as manual.', 'wp-ultimo'),
+ 'description' => __('The type of user responsible for initiating the event. There are two options: Manual and System. By default, the event is saved as manual.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
'enum' => [
@@ -44,32 +44,32 @@ return [
],
],
'object_type' => [
- 'description' => __("The type of object related to this event. It's usually the model name.", 'wp-ultimo'),
+ 'description' => __("The type of object related to this event. It's usually the model name.", 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'slug' => [
- 'description' => __('The event slug. It needs to be unique and preferably make it clear what it is about. Example: account_created is about creating an account.', 'wp-ultimo'),
+ 'description' => __('The event slug. It needs to be unique and preferably make it clear what it is about. Example: account_created is about creating an account.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'object_id' => [
- 'description' => __('The ID of the related objects.', 'wp-ultimo'),
+ 'description' => __('The ID of the related objects.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'date_modified' => [
- 'description' => __('Model last modification date.', 'wp-ultimo'),
+ 'description' => __('Model last modification date.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'migrated_from_id' => [
- 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-ultimo'),
+ 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'skip_validation' => [
- 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-ultimo'),
+ 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-multisite-waas'),
'type' => 'boolean',
'required' => false,
],
diff --git a/inc/api/schemas/membership-create.php b/inc/api/schemas/membership-create.php
index c5cbf4d..bbeff3f 100644
--- a/inc/api/schemas/membership-create.php
+++ b/inc/api/schemas/membership-create.php
@@ -22,37 +22,37 @@ use WP_Ultimo\Database\Memberships\Membership_Status;
*/
return [
'customer_id' => [
- 'description' => __('The ID of the customer attached to this membership.', 'wp-ultimo'),
+ 'description' => __('The ID of the customer attached to this membership.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => true,
],
'user_id' => [
- 'description' => __('The user ID attached to this membership.', 'wp-ultimo'),
+ 'description' => __('The user ID attached to this membership.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'plan_id' => [
- 'description' => __('The plan ID associated with the membership.', 'wp-ultimo'),
+ 'description' => __('The plan ID associated with the membership.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => true,
],
'addon_products' => [
- 'description' => __('Additional products related to this membership. Services, Packages or other types of products.', 'wp-ultimo'),
+ 'description' => __('Additional products related to this membership. Services, Packages or other types of products.', 'wp-multisite-waas'),
'type' => 'mixed',
'required' => false,
],
'currency' => [
- 'description' => __("The currency that this membership. It's a 3-letter code. E.g. 'USD'.", 'wp-ultimo'),
+ 'description' => __("The currency that this membership. It's a 3-letter code. E.g. 'USD'.", 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'duration' => [
- 'description' => __('The interval period between a charge. Only the interval amount, the unit will be defined in another property.', 'wp-ultimo'),
+ 'description' => __('The interval period between a charge. Only the interval amount, the unit will be defined in another property.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'duration_unit' => [
- 'description' => __("The duration amount type. Can be 'day', 'week', 'month' or 'year'.", 'wp-ultimo'),
+ 'description' => __("The duration amount type. Can be 'day', 'week', 'month' or 'year'.", 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
'enum' => [
@@ -63,118 +63,118 @@ return [
],
],
'amount' => [
- 'description' => __('The product amount.', 'wp-ultimo'),
+ 'description' => __('The product amount.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'initial_amount' => [
- 'description' => __('The initial amount charged for this membership, including the setup fee.', 'wp-ultimo'),
+ 'description' => __('The initial amount charged for this membership, including the setup fee.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'date_created' => [
- 'description' => __('Date of creation of this membership.', 'wp-ultimo'),
+ 'description' => __('Date of creation of this membership.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'date_activated' => [
- 'description' => __('Date when this membership was activated.', 'wp-ultimo'),
+ 'description' => __('Date when this membership was activated.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'date_trial_end' => [
- 'description' => __('Date when the trial period ends, if this membership has or had a trial period.', 'wp-ultimo'),
+ 'description' => __('Date when the trial period ends, if this membership has or had a trial period.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'date_renewed' => [
- 'description' => __('Date when the membership was cancelled.', 'wp-ultimo'),
+ 'description' => __('Date when the membership was cancelled.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'date_cancellation' => [
- 'description' => __('Date when the membership was cancelled.', 'wp-ultimo'),
+ 'description' => __('Date when the membership was cancelled.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'date_expiration' => [
- 'description' => __('Date when the membership will expiry.', 'wp-ultimo'),
+ 'description' => __('Date when the membership will expiry.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'date_payment_plan_completed' => [
- 'description' => __('Change of the payment completion for the plan value.', 'wp-ultimo'),
+ 'description' => __('Change of the payment completion for the plan value.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'auto_renew' => [
- 'description' => __('If this membership should auto-renewal.', 'wp-ultimo'),
+ 'description' => __('If this membership should auto-renewal.', 'wp-multisite-waas'),
'type' => 'boolean',
'required' => false,
],
'times_billed' => [
- 'description' => __('Amount of times this membership got billed.', 'wp-ultimo'),
+ 'description' => __('Amount of times this membership got billed.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'billing_cycles' => [
- 'description' => __('Maximum times we should charge this membership.', 'wp-ultimo'),
+ 'description' => __('Maximum times we should charge this membership.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'status' => [
- 'description' => __("The membership status. Can be 'pending', 'active', 'on-hold', 'expired', 'cancelled' or other values added by third-party add-ons.", 'wp-ultimo'),
+ 'description' => __("The membership status. Can be 'pending', 'active', 'on-hold', 'expired', 'cancelled' or other values added by third-party add-ons.", 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
'enum' => Membership_Status::get_allowed_list(),
],
'gateway_customer_id' => [
- 'description' => __('The ID of the customer on the payment gateway database.', 'wp-ultimo'),
+ 'description' => __('The ID of the customer on the payment gateway database.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'gateway_subscription_id' => [
- 'description' => __('The ID of the subscription on the payment gateway database.', 'wp-ultimo'),
+ 'description' => __('The ID of the subscription on the payment gateway database.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'gateway' => [
- 'description' => __('ID of the gateway being used on this subscription.', 'wp-ultimo'),
+ 'description' => __('ID of the gateway being used on this subscription.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'signup_method' => [
- 'description' => __('Signup method used to create this membership.', 'wp-ultimo'),
+ 'description' => __('Signup method used to create this membership.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'upgraded_from' => [
- 'description' => __('Plan that this membership upgraded from.', 'wp-ultimo'),
+ 'description' => __('Plan that this membership upgraded from.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'date_modified' => [
- 'description' => __('Date this membership was last modified.', 'wp-ultimo'),
+ 'description' => __('Date this membership was last modified.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'disabled' => [
- 'description' => __('If this membership is a disabled one.', 'wp-ultimo'),
+ 'description' => __('If this membership is a disabled one.', 'wp-multisite-waas'),
'type' => 'boolean',
'required' => false,
],
'recurring' => [
- 'description' => __('If this membership is recurring (true), which means the customer paid a defined amount each period of time, or not recurring (false).', 'wp-ultimo'),
+ 'description' => __('If this membership is recurring (true), which means the customer paid a defined amount each period of time, or not recurring (false).', 'wp-multisite-waas'),
'type' => 'boolean',
'required' => false,
],
'migrated_from_id' => [
- 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-ultimo'),
+ 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'skip_validation' => [
- 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-ultimo'),
+ 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-multisite-waas'),
'type' => 'boolean',
'required' => false,
],
diff --git a/inc/api/schemas/membership-update.php b/inc/api/schemas/membership-update.php
index 2db88fa..534b781 100644
--- a/inc/api/schemas/membership-update.php
+++ b/inc/api/schemas/membership-update.php
@@ -22,37 +22,37 @@ use WP_Ultimo\Database\Memberships\Membership_Status;
*/
return [
'customer_id' => [
- 'description' => __('The ID of the customer attached to this membership.', 'wp-ultimo'),
+ 'description' => __('The ID of the customer attached to this membership.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'user_id' => [
- 'description' => __('The user ID attached to this membership.', 'wp-ultimo'),
+ 'description' => __('The user ID attached to this membership.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'plan_id' => [
- 'description' => __('The plan ID associated with the membership.', 'wp-ultimo'),
+ 'description' => __('The plan ID associated with the membership.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'addon_products' => [
- 'description' => __('Additional products related to this membership. Services, Packages or other types of products.', 'wp-ultimo'),
+ 'description' => __('Additional products related to this membership. Services, Packages or other types of products.', 'wp-multisite-waas'),
'type' => 'mixed',
'required' => false,
],
'currency' => [
- 'description' => __("The currency that this membership. It's a 3-letter code. E.g. 'USD'.", 'wp-ultimo'),
+ 'description' => __("The currency that this membership. It's a 3-letter code. E.g. 'USD'.", 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'duration' => [
- 'description' => __('The interval period between a charge. Only the interval amount, the unit will be defined in another property.', 'wp-ultimo'),
+ 'description' => __('The interval period between a charge. Only the interval amount, the unit will be defined in another property.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'duration_unit' => [
- 'description' => __("The duration amount type. Can be 'day', 'week', 'month' or 'year'.", 'wp-ultimo'),
+ 'description' => __("The duration amount type. Can be 'day', 'week', 'month' or 'year'.", 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
'enum' => [
@@ -63,118 +63,118 @@ return [
],
],
'amount' => [
- 'description' => __('The product amount.', 'wp-ultimo'),
+ 'description' => __('The product amount.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'initial_amount' => [
- 'description' => __('The initial amount charged for this membership, including the setup fee.', 'wp-ultimo'),
+ 'description' => __('The initial amount charged for this membership, including the setup fee.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'date_created' => [
- 'description' => __('Date of creation of this membership.', 'wp-ultimo'),
+ 'description' => __('Date of creation of this membership.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'date_activated' => [
- 'description' => __('Date when this membership was activated.', 'wp-ultimo'),
+ 'description' => __('Date when this membership was activated.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'date_trial_end' => [
- 'description' => __('Date when the trial period ends, if this membership has or had a trial period.', 'wp-ultimo'),
+ 'description' => __('Date when the trial period ends, if this membership has or had a trial period.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'date_renewed' => [
- 'description' => __('Date when the membership was cancelled.', 'wp-ultimo'),
+ 'description' => __('Date when the membership was cancelled.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'date_cancellation' => [
- 'description' => __('Date when the membership was cancelled.', 'wp-ultimo'),
+ 'description' => __('Date when the membership was cancelled.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'date_expiration' => [
- 'description' => __('Date when the membership will expiry.', 'wp-ultimo'),
+ 'description' => __('Date when the membership will expiry.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'date_payment_plan_completed' => [
- 'description' => __('Change of the payment completion for the plan value.', 'wp-ultimo'),
+ 'description' => __('Change of the payment completion for the plan value.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'auto_renew' => [
- 'description' => __('If this membership should auto-renewal.', 'wp-ultimo'),
+ 'description' => __('If this membership should auto-renewal.', 'wp-multisite-waas'),
'type' => 'boolean',
'required' => false,
],
'times_billed' => [
- 'description' => __('Amount of times this membership got billed.', 'wp-ultimo'),
+ 'description' => __('Amount of times this membership got billed.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'billing_cycles' => [
- 'description' => __('Maximum times we should charge this membership.', 'wp-ultimo'),
+ 'description' => __('Maximum times we should charge this membership.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'status' => [
- 'description' => __("The membership status. Can be 'pending', 'active', 'on-hold', 'expired', 'cancelled' or other values added by third-party add-ons.", 'wp-ultimo'),
+ 'description' => __("The membership status. Can be 'pending', 'active', 'on-hold', 'expired', 'cancelled' or other values added by third-party add-ons.", 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
'enum' => Membership_Status::get_allowed_list(),
],
'gateway_customer_id' => [
- 'description' => __('The ID of the customer on the payment gateway database.', 'wp-ultimo'),
+ 'description' => __('The ID of the customer on the payment gateway database.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'gateway_subscription_id' => [
- 'description' => __('The ID of the subscription on the payment gateway database.', 'wp-ultimo'),
+ 'description' => __('The ID of the subscription on the payment gateway database.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'gateway' => [
- 'description' => __('ID of the gateway being used on this subscription.', 'wp-ultimo'),
+ 'description' => __('ID of the gateway being used on this subscription.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'signup_method' => [
- 'description' => __('Signup method used to create this membership.', 'wp-ultimo'),
+ 'description' => __('Signup method used to create this membership.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'upgraded_from' => [
- 'description' => __('Plan that this membership upgraded from.', 'wp-ultimo'),
+ 'description' => __('Plan that this membership upgraded from.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'date_modified' => [
- 'description' => __('Date this membership was last modified.', 'wp-ultimo'),
+ 'description' => __('Date this membership was last modified.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'disabled' => [
- 'description' => __('If this membership is a disabled one.', 'wp-ultimo'),
+ 'description' => __('If this membership is a disabled one.', 'wp-multisite-waas'),
'type' => 'boolean',
'required' => false,
],
'recurring' => [
- 'description' => __('If this membership is recurring (true), which means the customer paid a defined amount each period of time, or not recurring (false).', 'wp-ultimo'),
+ 'description' => __('If this membership is recurring (true), which means the customer paid a defined amount each period of time, or not recurring (false).', 'wp-multisite-waas'),
'type' => 'boolean',
'required' => false,
],
'migrated_from_id' => [
- 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-ultimo'),
+ 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'skip_validation' => [
- 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-ultimo'),
+ 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-multisite-waas'),
'type' => 'boolean',
'required' => false,
],
diff --git a/inc/api/schemas/payment-create.php b/inc/api/schemas/payment-create.php
index 1975ec0..bafa100 100644
--- a/inc/api/schemas/payment-create.php
+++ b/inc/api/schemas/payment-create.php
@@ -22,103 +22,103 @@ use WP_Ultimo\Database\Payments\Payment_Status;
*/
return [
'customer_id' => [
- 'description' => __('The ID of the customer attached to this payment.', 'wp-ultimo'),
+ 'description' => __('The ID of the customer attached to this payment.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => true,
],
'membership_id' => [
- 'description' => __('The ID of the membership attached to this payment.', 'wp-ultimo'),
+ 'description' => __('The ID of the membership attached to this payment.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => true,
],
'parent_id' => [
- 'description' => __('The ID from another payment that this payment is related to.', 'wp-ultimo'),
+ 'description' => __('The ID from another payment that this payment is related to.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'currency' => [
- 'description' => __("The currency of this payment. It's a 3-letter code. E.g. 'USD'.", 'wp-ultimo'),
+ 'description' => __("The currency of this payment. It's a 3-letter code. E.g. 'USD'.", 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'subtotal' => [
- 'description' => __('Value before taxes, discounts, fees and other changes.', 'wp-ultimo'),
+ 'description' => __('Value before taxes, discounts, fees and other changes.', 'wp-multisite-waas'),
'type' => 'number',
'required' => true,
],
'refund_total' => [
- 'description' => __('Total amount refunded.', 'wp-ultimo'),
+ 'description' => __('Total amount refunded.', 'wp-multisite-waas'),
'type' => 'number',
'required' => false,
],
'tax_total' => [
- 'description' => __('The amount, in currency, of the tax.', 'wp-ultimo'),
+ 'description' => __('The amount, in currency, of the tax.', 'wp-multisite-waas'),
'type' => 'number',
'required' => false,
],
'discount_code' => [
- 'description' => __('Discount code used.', 'wp-ultimo'),
+ 'description' => __('Discount code used.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'total' => [
- 'description' => __('This takes into account fees, discounts and credits.', 'wp-ultimo'),
+ 'description' => __('This takes into account fees, discounts and credits.', 'wp-multisite-waas'),
'type' => 'number',
'required' => true,
],
'status' => [
- 'description' => __("The payment status: Can be 'pending', 'completed', 'refunded', 'partially-refunded', 'partially-paid', 'failed', 'cancelled' or other values added by third-party add-ons.", 'wp-ultimo'),
+ 'description' => __("The payment status: Can be 'pending', 'completed', 'refunded', 'partially-refunded', 'partially-paid', 'failed', 'cancelled' or other values added by third-party add-ons.", 'wp-multisite-waas'),
'type' => 'string',
'required' => true,
'enum' => Payment_Status::get_allowed_list(),
],
'gateway' => [
- 'description' => __('ID of the gateway being used on this payment.', 'wp-ultimo'),
+ 'description' => __('ID of the gateway being used on this payment.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'product_id' => [
- 'description' => __('The ID of the product of this payment.', 'wp-ultimo'),
+ 'description' => __('The ID of the product of this payment.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'gateway_payment_id' => [
- 'description' => __('The ID of the payment on the gateway, if it exists.', 'wp-ultimo'),
+ 'description' => __('The ID of the payment on the gateway, if it exists.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'discount_total' => [
- 'description' => __('The total value of the discounts applied to this payment.', 'wp-ultimo'),
+ 'description' => __('The total value of the discounts applied to this payment.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'invoice_number' => [
- 'description' => __('Sequential invoice number assigned to this payment.', 'wp-ultimo'),
+ 'description' => __('Sequential invoice number assigned to this payment.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'cancel_membership_on_refund' => [
- 'description' => __('Holds if we need to cancel the membership on refund.', 'wp-ultimo'),
+ 'description' => __('Holds if we need to cancel the membership on refund.', 'wp-multisite-waas'),
'type' => 'boolean',
'required' => false,
],
'date_created' => [
- 'description' => __('Model creation date.', 'wp-ultimo'),
+ 'description' => __('Model creation date.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'date_modified' => [
- 'description' => __('Model last modification date.', 'wp-ultimo'),
+ 'description' => __('Model last modification date.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'migrated_from_id' => [
- 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-ultimo'),
+ 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'skip_validation' => [
- 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-ultimo'),
+ 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-multisite-waas'),
'type' => 'boolean',
'required' => false,
],
diff --git a/inc/api/schemas/payment-update.php b/inc/api/schemas/payment-update.php
index 51aa85c..24a539d 100644
--- a/inc/api/schemas/payment-update.php
+++ b/inc/api/schemas/payment-update.php
@@ -22,103 +22,103 @@ use WP_Ultimo\Database\Payments\Payment_Status;
*/
return [
'customer_id' => [
- 'description' => __('The ID of the customer attached to this payment.', 'wp-ultimo'),
+ 'description' => __('The ID of the customer attached to this payment.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'membership_id' => [
- 'description' => __('The ID of the membership attached to this payment.', 'wp-ultimo'),
+ 'description' => __('The ID of the membership attached to this payment.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'parent_id' => [
- 'description' => __('The ID from another payment that this payment is related to.', 'wp-ultimo'),
+ 'description' => __('The ID from another payment that this payment is related to.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'currency' => [
- 'description' => __("The currency of this payment. It's a 3-letter code. E.g. 'USD'.", 'wp-ultimo'),
+ 'description' => __("The currency of this payment. It's a 3-letter code. E.g. 'USD'.", 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'subtotal' => [
- 'description' => __('Value before taxes, discounts, fees and other changes.', 'wp-ultimo'),
+ 'description' => __('Value before taxes, discounts, fees and other changes.', 'wp-multisite-waas'),
'type' => 'number',
'required' => false,
],
'refund_total' => [
- 'description' => __('Total amount refunded.', 'wp-ultimo'),
+ 'description' => __('Total amount refunded.', 'wp-multisite-waas'),
'type' => 'number',
'required' => false,
],
'tax_total' => [
- 'description' => __('The amount, in currency, of the tax.', 'wp-ultimo'),
+ 'description' => __('The amount, in currency, of the tax.', 'wp-multisite-waas'),
'type' => 'number',
'required' => false,
],
'discount_code' => [
- 'description' => __('Discount code used.', 'wp-ultimo'),
+ 'description' => __('Discount code used.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'total' => [
- 'description' => __('This takes into account fees, discounts and credits.', 'wp-ultimo'),
+ 'description' => __('This takes into account fees, discounts and credits.', 'wp-multisite-waas'),
'type' => 'number',
'required' => false,
],
'status' => [
- 'description' => __("The payment status: Can be 'pending', 'completed', 'refunded', 'partially-refunded', 'partially-paid', 'failed', 'cancelled' or other values added by third-party add-ons.", 'wp-ultimo'),
+ 'description' => __("The payment status: Can be 'pending', 'completed', 'refunded', 'partially-refunded', 'partially-paid', 'failed', 'cancelled' or other values added by third-party add-ons.", 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
'enum' => Payment_Status::get_allowed_list(),
],
'gateway' => [
- 'description' => __('ID of the gateway being used on this payment.', 'wp-ultimo'),
+ 'description' => __('ID of the gateway being used on this payment.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'product_id' => [
- 'description' => __('The ID of the product of this payment.', 'wp-ultimo'),
+ 'description' => __('The ID of the product of this payment.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'gateway_payment_id' => [
- 'description' => __('The ID of the payment on the gateway, if it exists.', 'wp-ultimo'),
+ 'description' => __('The ID of the payment on the gateway, if it exists.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'discount_total' => [
- 'description' => __('The total value of the discounts applied to this payment.', 'wp-ultimo'),
+ 'description' => __('The total value of the discounts applied to this payment.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'invoice_number' => [
- 'description' => __('Sequential invoice number assigned to this payment.', 'wp-ultimo'),
+ 'description' => __('Sequential invoice number assigned to this payment.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'cancel_membership_on_refund' => [
- 'description' => __('Holds if we need to cancel the membership on refund.', 'wp-ultimo'),
+ 'description' => __('Holds if we need to cancel the membership on refund.', 'wp-multisite-waas'),
'type' => 'boolean',
'required' => false,
],
'date_created' => [
- 'description' => __('Model creation date.', 'wp-ultimo'),
+ 'description' => __('Model creation date.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'date_modified' => [
- 'description' => __('Model last modification date.', 'wp-ultimo'),
+ 'description' => __('Model last modification date.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'migrated_from_id' => [
- 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-ultimo'),
+ 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'skip_validation' => [
- 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-ultimo'),
+ 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-multisite-waas'),
'type' => 'boolean',
'required' => false,
],
diff --git a/inc/api/schemas/product-create.php b/inc/api/schemas/product-create.php
index b0904e2..4a5c75b 100644
--- a/inc/api/schemas/product-create.php
+++ b/inc/api/schemas/product-create.php
@@ -20,32 +20,32 @@ defined('ABSPATH') || exit;
*/
return [
'featured_image_id' => [
- 'description' => __('The ID of the feature image of the product.', 'wp-ultimo'),
+ 'description' => __('The ID of the feature image of the product.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'slug' => [
- 'description' => __('The product slug. It needs to be unique and preferably make it clear what it is about. Example: my_new_product.', 'wp-ultimo'),
+ 'description' => __('The product slug. It needs to be unique and preferably make it clear what it is about. Example: my_new_product.', 'wp-multisite-waas'),
'type' => 'string',
'required' => true,
],
'name' => [
- 'description' => __('Your product name, which is used as product title as well.', 'wp-ultimo'),
+ 'description' => __('Your product name, which is used as product title as well.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'description' => [
- 'description' => __('A description for the product, usually a short text.', 'wp-ultimo'),
+ 'description' => __('A description for the product, usually a short text.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'currency' => [
- 'description' => __("The currency that this product accepts. It's a 3-letter code. E.g. 'USD'.", 'wp-ultimo'),
+ 'description' => __("The currency that this product accepts. It's a 3-letter code. E.g. 'USD'.", 'wp-multisite-waas'),
'type' => 'string',
'required' => true,
],
'pricing_type' => [
- 'description' => __("The pricing type can be 'free', 'paid' or 'contact_us'.", 'wp-ultimo'),
+ 'description' => __("The pricing type can be 'free', 'paid' or 'contact_us'.", 'wp-multisite-waas'),
'type' => 'string',
'required' => true,
'enum' => [
@@ -55,12 +55,12 @@ return [
],
],
'trial_duration' => [
- 'description' => __('The duration of the trial period of this product, if the product has one.', 'wp-ultimo'),
+ 'description' => __('The duration of the trial period of this product, if the product has one.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'trial_duration_unit' => [
- 'description' => __('The unit of the trial duration amount. Can be day, week, month or year.', 'wp-ultimo'),
+ 'description' => __('The unit of the trial duration amount. Can be day, week, month or year.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
'enum' => [
@@ -71,12 +71,12 @@ return [
],
],
'duration' => [
- 'description' => __('Time interval between charges.', 'wp-ultimo'),
+ 'description' => __('Time interval between charges.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'duration_unit' => [
- 'description' => __('Time interval unit between charges.', 'wp-ultimo'),
+ 'description' => __('Time interval unit between charges.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
'enum' => [
@@ -87,22 +87,22 @@ return [
],
],
'amount' => [
- 'description' => __('The value of this product. E.g. 19.99.', 'wp-ultimo'),
+ 'description' => __('The value of this product. E.g. 19.99.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'setup_fee' => [
- 'description' => __('The setup fee value, if the product has one. E.g. 159.99.', 'wp-ultimo'),
+ 'description' => __('The setup fee value, if the product has one. E.g. 159.99.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'active' => [
- 'description' => __('Set this product as active (true), which means available to be used, or inactive (false).', 'wp-ultimo'),
+ 'description' => __('Set this product as active (true), which means available to be used, or inactive (false).', 'wp-multisite-waas'),
'type' => 'boolean',
'required' => false,
],
'type' => [
- 'description' => __("The default product types are 'product', 'service' and 'package'. More types can be add using the product type filter.", 'wp-ultimo'),
+ 'description' => __("The default product types are 'product', 'service' and 'package'. More types can be add using the product type filter.", 'wp-multisite-waas'),
'type' => 'string',
'required' => true,
'enum' => [
@@ -112,87 +112,87 @@ return [
],
],
'parent_id' => [
- 'description' => __('The ID from another Product that this product is related to.', 'wp-ultimo'),
+ 'description' => __('The ID from another Product that this product is related to.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'recurring' => [
- 'description' => __('Set this product as a recurring one (true), which means the customer paid a defined amount each period of time, or not recurring (false).', 'wp-ultimo'),
+ 'description' => __('Set this product as a recurring one (true), which means the customer paid a defined amount each period of time, or not recurring (false).', 'wp-multisite-waas'),
'type' => 'boolean',
'required' => false,
],
'billing_cycles' => [
- 'description' => __('The number of times we should charge this product.', 'wp-ultimo'),
+ 'description' => __('The number of times we should charge this product.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'date_created' => [
- 'description' => __('Date when this was created.', 'wp-ultimo'),
+ 'description' => __('Date when this was created.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'date_modified' => [
- 'description' => __('Date when this was last modified.', 'wp-ultimo'),
+ 'description' => __('Date when this was last modified.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'taxable' => [
- 'description' => __('Set this product as a taxable one (true), which means tax rules are applied to, or not taxable (false).', 'wp-ultimo'),
+ 'description' => __('Set this product as a taxable one (true), which means tax rules are applied to, or not taxable (false).', 'wp-multisite-waas'),
'type' => 'boolean',
'required' => false,
],
'tax_category' => [
- 'description' => __('Category of taxes applied to this product. You need to set this if taxable is set to true.', 'wp-ultimo'),
+ 'description' => __('Category of taxes applied to this product. You need to set this if taxable is set to true.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'contact_us_label' => [
- 'description' => __("If the product is the 'contact_us' type, it will need a label for the contact us button.", 'wp-ultimo'),
+ 'description' => __("If the product is the 'contact_us' type, it will need a label for the contact us button.", 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'contact_us_link' => [
- 'description' => __('The url where the contact us button will lead to.', 'wp-ultimo'),
+ 'description' => __('The url where the contact us button will lead to.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'feature_list' => [
- 'description' => __('A list (array) of features of the product.', 'wp-ultimo'),
+ 'description' => __('A list (array) of features of the product.', 'wp-multisite-waas'),
'type' => 'array',
'required' => false,
],
'customer_role' => [
- 'description' => __('The customer role of this product.', 'wp-ultimo'),
+ 'description' => __('The customer role of this product.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'available_addons' => [
- 'description' => __('The available addons of this product.', 'wp-ultimo'),
+ 'description' => __('The available addons of this product.', 'wp-multisite-waas'),
'type' => 'array',
'required' => false,
],
'group' => [
- 'description' => __('The group of this product, if has any.', 'wp-ultimo'),
+ 'description' => __('The group of this product, if has any.', 'wp-multisite-waas'),
'type' => 'array',
'required' => false,
],
'legacy_options' => [
- 'description' => __('If the legacy options are enabled.', 'wp-ultimo'),
+ 'description' => __('If the legacy options are enabled.', 'wp-multisite-waas'),
'type' => 'boolean',
'required' => false,
],
'migrated_from_id' => [
- 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-ultimo'),
+ 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'skip_validation' => [
- 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-ultimo'),
+ 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-multisite-waas'),
'type' => 'boolean',
'required' => false,
],
'featured_plan' => [
- 'description' => __('Feature list for pricing tables.', 'wp-ultimo'),
+ 'description' => __('Feature list for pricing tables.', 'wp-multisite-waas'),
'type' => 'array',
'required' => false,
],
diff --git a/inc/api/schemas/product-update.php b/inc/api/schemas/product-update.php
index 46a175f..fe2ceb1 100644
--- a/inc/api/schemas/product-update.php
+++ b/inc/api/schemas/product-update.php
@@ -20,32 +20,32 @@ defined('ABSPATH') || exit;
*/
return [
'featured_image_id' => [
- 'description' => __('The ID of the feature image of the product.', 'wp-ultimo'),
+ 'description' => __('The ID of the feature image of the product.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'slug' => [
- 'description' => __('The product slug. It needs to be unique and preferably make it clear what it is about. Example: my_new_product.', 'wp-ultimo'),
+ 'description' => __('The product slug. It needs to be unique and preferably make it clear what it is about. Example: my_new_product.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'name' => [
- 'description' => __('Your product name, which is used as product title as well.', 'wp-ultimo'),
+ 'description' => __('Your product name, which is used as product title as well.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'description' => [
- 'description' => __('A description for the product, usually a short text.', 'wp-ultimo'),
+ 'description' => __('A description for the product, usually a short text.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'currency' => [
- 'description' => __("The currency that this product accepts. It's a 3-letter code. E.g. 'USD'.", 'wp-ultimo'),
+ 'description' => __("The currency that this product accepts. It's a 3-letter code. E.g. 'USD'.", 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'pricing_type' => [
- 'description' => __("The pricing type can be 'free', 'paid' or 'contact_us'.", 'wp-ultimo'),
+ 'description' => __("The pricing type can be 'free', 'paid' or 'contact_us'.", 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
'enum' => [
@@ -55,12 +55,12 @@ return [
],
],
'trial_duration' => [
- 'description' => __('The duration of the trial period of this product, if the product has one.', 'wp-ultimo'),
+ 'description' => __('The duration of the trial period of this product, if the product has one.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'trial_duration_unit' => [
- 'description' => __('The unit of the trial duration amount. Can be day, week, month or year.', 'wp-ultimo'),
+ 'description' => __('The unit of the trial duration amount. Can be day, week, month or year.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
'enum' => [
@@ -71,12 +71,12 @@ return [
],
],
'duration' => [
- 'description' => __('Time interval between charges.', 'wp-ultimo'),
+ 'description' => __('Time interval between charges.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'duration_unit' => [
- 'description' => __('Time interval unit between charges.', 'wp-ultimo'),
+ 'description' => __('Time interval unit between charges.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
'enum' => [
@@ -87,22 +87,22 @@ return [
],
],
'amount' => [
- 'description' => __('The value of this product. E.g. 19.99.', 'wp-ultimo'),
+ 'description' => __('The value of this product. E.g. 19.99.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'setup_fee' => [
- 'description' => __('The setup fee value, if the product has one. E.g. 159.99.', 'wp-ultimo'),
+ 'description' => __('The setup fee value, if the product has one. E.g. 159.99.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'active' => [
- 'description' => __('Set this product as active (true), which means available to be used, or inactive (false).', 'wp-ultimo'),
+ 'description' => __('Set this product as active (true), which means available to be used, or inactive (false).', 'wp-multisite-waas'),
'type' => 'boolean',
'required' => false,
],
'type' => [
- 'description' => __("The default product types are 'product', 'service' and 'package'. More types can be add using the product type filter.", 'wp-ultimo'),
+ 'description' => __("The default product types are 'product', 'service' and 'package'. More types can be add using the product type filter.", 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
'enum' => [
@@ -112,87 +112,87 @@ return [
],
],
'parent_id' => [
- 'description' => __('The ID from another Product that this product is related to.', 'wp-ultimo'),
+ 'description' => __('The ID from another Product that this product is related to.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'recurring' => [
- 'description' => __('Set this product as a recurring one (true), which means the customer paid a defined amount each period of time, or not recurring (false).', 'wp-ultimo'),
+ 'description' => __('Set this product as a recurring one (true), which means the customer paid a defined amount each period of time, or not recurring (false).', 'wp-multisite-waas'),
'type' => 'boolean',
'required' => false,
],
'billing_cycles' => [
- 'description' => __('The number of times we should charge this product.', 'wp-ultimo'),
+ 'description' => __('The number of times we should charge this product.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'date_created' => [
- 'description' => __('Date when this was created.', 'wp-ultimo'),
+ 'description' => __('Date when this was created.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'date_modified' => [
- 'description' => __('Date when this was last modified.', 'wp-ultimo'),
+ 'description' => __('Date when this was last modified.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'taxable' => [
- 'description' => __('Set this product as a taxable one (true), which means tax rules are applied to, or not taxable (false).', 'wp-ultimo'),
+ 'description' => __('Set this product as a taxable one (true), which means tax rules are applied to, or not taxable (false).', 'wp-multisite-waas'),
'type' => 'boolean',
'required' => false,
],
'tax_category' => [
- 'description' => __('Category of taxes applied to this product. You need to set this if taxable is set to true.', 'wp-ultimo'),
+ 'description' => __('Category of taxes applied to this product. You need to set this if taxable is set to true.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'contact_us_label' => [
- 'description' => __("If the product is the 'contact_us' type, it will need a label for the contact us button.", 'wp-ultimo'),
+ 'description' => __("If the product is the 'contact_us' type, it will need a label for the contact us button.", 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'contact_us_link' => [
- 'description' => __('The url where the contact us button will lead to.', 'wp-ultimo'),
+ 'description' => __('The url where the contact us button will lead to.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'feature_list' => [
- 'description' => __('A list (array) of features of the product.', 'wp-ultimo'),
+ 'description' => __('A list (array) of features of the product.', 'wp-multisite-waas'),
'type' => 'array',
'required' => false,
],
'customer_role' => [
- 'description' => __('The customer role of this product.', 'wp-ultimo'),
+ 'description' => __('The customer role of this product.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'available_addons' => [
- 'description' => __('The available addons of this product.', 'wp-ultimo'),
+ 'description' => __('The available addons of this product.', 'wp-multisite-waas'),
'type' => 'array',
'required' => false,
],
'group' => [
- 'description' => __('The group of this product, if has any.', 'wp-ultimo'),
+ 'description' => __('The group of this product, if has any.', 'wp-multisite-waas'),
'type' => 'array',
'required' => false,
],
'legacy_options' => [
- 'description' => __('If the legacy options are enabled.', 'wp-ultimo'),
+ 'description' => __('If the legacy options are enabled.', 'wp-multisite-waas'),
'type' => 'boolean',
'required' => false,
],
'migrated_from_id' => [
- 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-ultimo'),
+ 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'skip_validation' => [
- 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-ultimo'),
+ 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-multisite-waas'),
'type' => 'boolean',
'required' => false,
],
'featured_plan' => [
- 'description' => __('Feature list for pricing tables.', 'wp-ultimo'),
+ 'description' => __('Feature list for pricing tables.', 'wp-multisite-waas'),
'type' => 'array',
'required' => false,
],
diff --git a/inc/api/schemas/site-create.php b/inc/api/schemas/site-create.php
index fdfd14e..012390f 100644
--- a/inc/api/schemas/site-create.php
+++ b/inc/api/schemas/site-create.php
@@ -20,107 +20,107 @@ defined('ABSPATH') || exit;
*/
return [
'categories' => [
- 'description' => __('The categories this site belongs to.', 'wp-ultimo'),
+ 'description' => __('The categories this site belongs to.', 'wp-multisite-waas'),
'type' => 'array',
'required' => false,
],
'featured_image_id' => [
- 'description' => __('The ID of the feature image of the site.', 'wp-ultimo'),
+ 'description' => __('The ID of the feature image of the site.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'site_id' => [
- 'description' => __('The network ID for this site.', 'wp-ultimo'),
+ 'description' => __('The network ID for this site.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => true,
],
'title' => [
- 'description' => __('The site title.', 'wp-ultimo'),
+ 'description' => __('The site title.', 'wp-multisite-waas'),
'type' => 'string',
'required' => true,
],
'name' => [
- 'description' => __('The site name.', 'wp-ultimo'),
+ 'description' => __('The site name.', 'wp-multisite-waas'),
'type' => 'string',
'required' => true,
],
'description' => [
- 'description' => __('A description for the site, usually a short text.', 'wp-ultimo'),
+ 'description' => __('A description for the site, usually a short text.', 'wp-multisite-waas'),
'type' => 'string',
'required' => true,
],
'domain' => [
- 'description' => __("The site domain. You don't need to put http or https in front of your domain in this field. e.g: example.com.", 'wp-ultimo'),
+ 'description' => __("The site domain. You don't need to put http or https in front of your domain in this field. e.g: example.com.", 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'path' => [
- 'description' => __('Path of the site. Used when in sub-directory mode.', 'wp-ultimo'),
+ 'description' => __('Path of the site. Used when in sub-directory mode.', 'wp-multisite-waas'),
'type' => 'string',
'required' => true,
],
'registered' => [
- 'description' => __('Date when the site was registered.', 'wp-ultimo'),
+ 'description' => __('Date when the site was registered.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'last_updated' => [
- 'description' => __('Date of the last update on this site.', 'wp-ultimo'),
+ 'description' => __('Date of the last update on this site.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'active' => [
- 'description' => __('Holds the ID of the customer that owns this site.', 'wp-ultimo'),
+ 'description' => __('Holds the ID of the customer that owns this site.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'public' => [
- 'description' => __('Set true if this site is a public one, false if not.', 'wp-ultimo'),
+ 'description' => __('Set true if this site is a public one, false if not.', 'wp-multisite-waas'),
'type' => 'boolean',
'required' => false,
],
'archived' => [
- 'description' => __('Is this an archived site.', 'wp-ultimo'),
+ 'description' => __('Is this an archived site.', 'wp-multisite-waas'),
'type' => 'boolean',
'required' => false,
],
'mature' => [
- 'description' => __('Is this a site with mature content.', 'wp-ultimo'),
+ 'description' => __('Is this a site with mature content.', 'wp-multisite-waas'),
'type' => 'boolean',
'required' => false,
],
'spam' => [
- 'description' => __('Is this an spam site.', 'wp-ultimo'),
+ 'description' => __('Is this an spam site.', 'wp-multisite-waas'),
'type' => 'boolean',
'required' => false,
],
'deleted' => [
- 'description' => __('Is this site deleted.', 'wp-ultimo'),
+ 'description' => __('Is this site deleted.', 'wp-multisite-waas'),
'type' => 'boolean',
'required' => false,
],
'lang_id' => [
- 'description' => __('The ID of the language being used on this site.', 'wp-ultimo'),
+ 'description' => __('The ID of the language being used on this site.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'customer_id' => [
- 'description' => __('The ID of the customer that owns this site.', 'wp-ultimo'),
+ 'description' => __('The ID of the customer that owns this site.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => true,
],
'membership_id' => [
- 'description' => __('The ID of the membership associated with this site, if any.', 'wp-ultimo'),
+ 'description' => __('The ID of the membership associated with this site, if any.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => true,
],
'template_id' => [
- 'description' => __('The ID of the templated used to create this site.', 'wp-ultimo'),
+ 'description' => __('The ID of the templated used to create this site.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'type' => [
- 'description' => __('The type of this particular site. Can be default, site_template, customer_owned, pending, external, main or other values added by third-party add-ons.', 'wp-ultimo'),
+ 'description' => __('The type of this particular site. Can be default, site_template, customer_owned, pending, external, main or other values added by third-party add-ons.', 'wp-multisite-waas'),
'type' => 'string',
'required' => true,
'enum' => [
@@ -133,32 +133,32 @@ return [
],
],
'signup_options' => [
- 'description' => __('Keeps signup options for the site.', 'wp-ultimo'),
+ 'description' => __('Keeps signup options for the site.', 'wp-multisite-waas'),
'type' => 'array',
'required' => false,
],
'signup_meta' => [
- 'description' => __('Keeps signup meta for the site.', 'wp-ultimo'),
+ 'description' => __('Keeps signup meta for the site.', 'wp-multisite-waas'),
'type' => 'array',
'required' => false,
],
'date_created' => [
- 'description' => __('Model creation date.', 'wp-ultimo'),
+ 'description' => __('Model creation date.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'date_modified' => [
- 'description' => __('Model last modification date.', 'wp-ultimo'),
+ 'description' => __('Model last modification date.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'migrated_from_id' => [
- 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-ultimo'),
+ 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'skip_validation' => [
- 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-ultimo'),
+ 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-multisite-waas'),
'type' => 'boolean',
'required' => false,
],
diff --git a/inc/api/schemas/site-update.php b/inc/api/schemas/site-update.php
index 643306f..826a736 100644
--- a/inc/api/schemas/site-update.php
+++ b/inc/api/schemas/site-update.php
@@ -20,107 +20,107 @@ defined('ABSPATH') || exit;
*/
return [
'categories' => [
- 'description' => __('The categories this site belongs to.', 'wp-ultimo'),
+ 'description' => __('The categories this site belongs to.', 'wp-multisite-waas'),
'type' => 'array',
'required' => false,
],
'featured_image_id' => [
- 'description' => __('The ID of the feature image of the site.', 'wp-ultimo'),
+ 'description' => __('The ID of the feature image of the site.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'site_id' => [
- 'description' => __('The network ID for this site.', 'wp-ultimo'),
+ 'description' => __('The network ID for this site.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'title' => [
- 'description' => __('The site title.', 'wp-ultimo'),
+ 'description' => __('The site title.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'name' => [
- 'description' => __('The site name.', 'wp-ultimo'),
+ 'description' => __('The site name.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'description' => [
- 'description' => __('A description for the site, usually a short text.', 'wp-ultimo'),
+ 'description' => __('A description for the site, usually a short text.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'domain' => [
- 'description' => __("The site domain. You don't need to put http or https in front of your domain in this field. e.g: example.com.", 'wp-ultimo'),
+ 'description' => __("The site domain. You don't need to put http or https in front of your domain in this field. e.g: example.com.", 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'path' => [
- 'description' => __('Path of the site. Used when in sub-directory mode.', 'wp-ultimo'),
+ 'description' => __('Path of the site. Used when in sub-directory mode.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'registered' => [
- 'description' => __('Date when the site was registered.', 'wp-ultimo'),
+ 'description' => __('Date when the site was registered.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'last_updated' => [
- 'description' => __('Date of the last update on this site.', 'wp-ultimo'),
+ 'description' => __('Date of the last update on this site.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'active' => [
- 'description' => __('Holds the ID of the customer that owns this site.', 'wp-ultimo'),
+ 'description' => __('Holds the ID of the customer that owns this site.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'public' => [
- 'description' => __('Set true if this site is a public one, false if not.', 'wp-ultimo'),
+ 'description' => __('Set true if this site is a public one, false if not.', 'wp-multisite-waas'),
'type' => 'boolean',
'required' => false,
],
'archived' => [
- 'description' => __('Is this an archived site.', 'wp-ultimo'),
+ 'description' => __('Is this an archived site.', 'wp-multisite-waas'),
'type' => 'boolean',
'required' => false,
],
'mature' => [
- 'description' => __('Is this a site with mature content.', 'wp-ultimo'),
+ 'description' => __('Is this a site with mature content.', 'wp-multisite-waas'),
'type' => 'boolean',
'required' => false,
],
'spam' => [
- 'description' => __('Is this an spam site.', 'wp-ultimo'),
+ 'description' => __('Is this an spam site.', 'wp-multisite-waas'),
'type' => 'boolean',
'required' => false,
],
'deleted' => [
- 'description' => __('Is this site deleted.', 'wp-ultimo'),
+ 'description' => __('Is this site deleted.', 'wp-multisite-waas'),
'type' => 'boolean',
'required' => false,
],
'lang_id' => [
- 'description' => __('The ID of the language being used on this site.', 'wp-ultimo'),
+ 'description' => __('The ID of the language being used on this site.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'customer_id' => [
- 'description' => __('The ID of the customer that owns this site.', 'wp-ultimo'),
+ 'description' => __('The ID of the customer that owns this site.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'membership_id' => [
- 'description' => __('The ID of the membership associated with this site, if any.', 'wp-ultimo'),
+ 'description' => __('The ID of the membership associated with this site, if any.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'template_id' => [
- 'description' => __('The ID of the templated used to create this site.', 'wp-ultimo'),
+ 'description' => __('The ID of the templated used to create this site.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'type' => [
- 'description' => __('The type of this particular site. Can be default, site_template, customer_owned, pending, external, main or other values added by third-party add-ons.', 'wp-ultimo'),
+ 'description' => __('The type of this particular site. Can be default, site_template, customer_owned, pending, external, main or other values added by third-party add-ons.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
'enum' => [
@@ -133,32 +133,32 @@ return [
],
],
'signup_options' => [
- 'description' => __('Keeps signup options for the site.', 'wp-ultimo'),
+ 'description' => __('Keeps signup options for the site.', 'wp-multisite-waas'),
'type' => 'array',
'required' => false,
],
'signup_meta' => [
- 'description' => __('Keeps signup meta for the site.', 'wp-ultimo'),
+ 'description' => __('Keeps signup meta for the site.', 'wp-multisite-waas'),
'type' => 'array',
'required' => false,
],
'date_created' => [
- 'description' => __('Model creation date.', 'wp-ultimo'),
+ 'description' => __('Model creation date.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'date_modified' => [
- 'description' => __('Model last modification date.', 'wp-ultimo'),
+ 'description' => __('Model last modification date.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'migrated_from_id' => [
- 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-ultimo'),
+ 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'skip_validation' => [
- 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-ultimo'),
+ 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-multisite-waas'),
'type' => 'boolean',
'required' => false,
],
diff --git a/inc/api/schemas/webhook-create.php b/inc/api/schemas/webhook-create.php
index 7a6160b..e507c76 100644
--- a/inc/api/schemas/webhook-create.php
+++ b/inc/api/schemas/webhook-create.php
@@ -20,62 +20,62 @@ defined('ABSPATH') || exit;
*/
return [
'name' => [
- 'description' => __('Webhook name, which is used as product title as well.', 'wp-ultimo'),
+ 'description' => __('Webhook name, which is used as product title as well.', 'wp-multisite-waas'),
'type' => 'string',
'required' => true,
],
'webhook_url' => [
- 'description' => __('The URL used for the webhook call.', 'wp-ultimo'),
+ 'description' => __('The URL used for the webhook call.', 'wp-multisite-waas'),
'type' => 'string',
'required' => true,
],
'event' => [
- 'description' => __('The event that needs to be fired for this webhook to be sent.', 'wp-ultimo'),
+ 'description' => __('The event that needs to be fired for this webhook to be sent.', 'wp-multisite-waas'),
'type' => 'string',
'required' => true,
],
'event_count' => [
- 'description' => __('How many times this webhook was sent.', 'wp-ultimo'),
+ 'description' => __('How many times this webhook was sent.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'active' => [
- 'description' => __('Set this webhook as active (true), which means available will fire when the event occur, or inactive (false).', 'wp-ultimo'),
+ 'description' => __('Set this webhook as active (true), which means available will fire when the event occur, or inactive (false).', 'wp-multisite-waas'),
'type' => 'boolean',
'required' => false,
],
'hidden' => [
- 'description' => __('Is this webhook hidden.', 'wp-ultimo'),
+ 'description' => __('Is this webhook hidden.', 'wp-multisite-waas'),
'type' => 'boolean',
'required' => false,
],
'date_created' => [
- 'description' => __('Date when this was created.', 'wp-ultimo'),
+ 'description' => __('Date when this was created.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'integration' => [
- 'description' => __('The integration that created this webhook.', 'wp-ultimo'),
+ 'description' => __('The integration that created this webhook.', 'wp-multisite-waas'),
'type' => 'string',
'required' => true,
],
'date_last_failed' => [
- 'description' => __('The date when this webhook last fail.', 'wp-ultimo'),
+ 'description' => __('The date when this webhook last fail.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'date_modified' => [
- 'description' => __('Model last modification date.', 'wp-ultimo'),
+ 'description' => __('Model last modification date.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'migrated_from_id' => [
- 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-ultimo'),
+ 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'skip_validation' => [
- 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-ultimo'),
+ 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-multisite-waas'),
'type' => 'boolean',
'required' => false,
],
diff --git a/inc/api/schemas/webhook-update.php b/inc/api/schemas/webhook-update.php
index 6ca7575..7c6effb 100644
--- a/inc/api/schemas/webhook-update.php
+++ b/inc/api/schemas/webhook-update.php
@@ -20,62 +20,62 @@ defined('ABSPATH') || exit;
*/
return [
'name' => [
- 'description' => __('Webhook name, which is used as product title as well.', 'wp-ultimo'),
+ 'description' => __('Webhook name, which is used as product title as well.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'webhook_url' => [
- 'description' => __('The URL used for the webhook call.', 'wp-ultimo'),
+ 'description' => __('The URL used for the webhook call.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'event' => [
- 'description' => __('The event that needs to be fired for this webhook to be sent.', 'wp-ultimo'),
+ 'description' => __('The event that needs to be fired for this webhook to be sent.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'event_count' => [
- 'description' => __('How many times this webhook was sent.', 'wp-ultimo'),
+ 'description' => __('How many times this webhook was sent.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'active' => [
- 'description' => __('Set this webhook as active (true), which means available will fire when the event occur, or inactive (false).', 'wp-ultimo'),
+ 'description' => __('Set this webhook as active (true), which means available will fire when the event occur, or inactive (false).', 'wp-multisite-waas'),
'type' => 'boolean',
'required' => false,
],
'hidden' => [
- 'description' => __('Is this webhook hidden.', 'wp-ultimo'),
+ 'description' => __('Is this webhook hidden.', 'wp-multisite-waas'),
'type' => 'boolean',
'required' => false,
],
'date_created' => [
- 'description' => __('Date when this was created.', 'wp-ultimo'),
+ 'description' => __('Date when this was created.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'integration' => [
- 'description' => __('The integration that created this webhook.', 'wp-ultimo'),
+ 'description' => __('The integration that created this webhook.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'date_last_failed' => [
- 'description' => __('The date when this webhook last fail.', 'wp-ultimo'),
+ 'description' => __('The date when this webhook last fail.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'date_modified' => [
- 'description' => __('Model last modification date.', 'wp-ultimo'),
+ 'description' => __('Model last modification date.', 'wp-multisite-waas'),
'type' => 'string',
'required' => false,
],
'migrated_from_id' => [
- 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-ultimo'),
+ 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-multisite-waas'),
'type' => 'integer',
'required' => false,
],
'skip_validation' => [
- 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-ultimo'),
+ 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-multisite-waas'),
'type' => 'boolean',
'required' => false,
],
diff --git a/inc/api/trait-rest-api.php b/inc/api/trait-rest-api.php
index a9e4ad2..aa82c7a 100644
--- a/inc/api/trait-rest-api.php
+++ b/inc/api/trait-rest-api.php
@@ -166,7 +166,7 @@ trait Rest_Api {
$item = $this->model_class::get_by_id($request['id']);
if (empty($item)) {
- return new \WP_Error("wu_rest_{$this->slug}_invalid_id", __('Item not found.', 'wp-ultimo'), ['status' => 404]);
+ return new \WP_Error("wu_rest_{$this->slug}_invalid_id", __('Item not found.', 'wp-multisite-waas'), ['status' => 404]);
}
return rest_ensure_response($item);
@@ -218,7 +218,7 @@ trait Rest_Api {
}
if ( ! $saved) {
- return new \WP_Error("wu_rest_{$this->slug}", __('Something went wrong (Code 1).', 'wp-ultimo'), ['status' => 400]);
+ return new \WP_Error("wu_rest_{$this->slug}", __('Something went wrong (Code 1).', 'wp-multisite-waas'), ['status' => 400]);
}
return rest_ensure_response($item);
@@ -239,7 +239,7 @@ trait Rest_Api {
$item = $this->model_class::get_by_id($id);
if (empty($item)) {
- return new \WP_Error("wu_rest_{$this->slug}_invalid_id", __('Item not found.', 'wp-ultimo'), ['status' => 404]);
+ return new \WP_Error("wu_rest_{$this->slug}_invalid_id", __('Item not found.', 'wp-multisite-waas'), ['status' => 404]);
}
$params = array_filter(
@@ -258,7 +258,7 @@ trait Rest_Api {
} else {
$error_message = sprintf(
/* translators: 1. Object class name; 2. Set method name */
- __('The %1$s object does not have a %2$s method', 'wp-ultimo'),
+ __('The %1$s object does not have a %2$s method', 'wp-multisite-waas'),
get_class($item),
$set_method
);
@@ -278,7 +278,7 @@ trait Rest_Api {
}
if ( ! $saved) {
- return new \WP_Error("wu_rest_{$this->slug}", __('Something went wrong (Code 2).', 'wp-ultimo'));
+ return new \WP_Error("wu_rest_{$this->slug}", __('Something went wrong (Code 2).', 'wp-multisite-waas'));
}
return rest_ensure_response($item);
@@ -297,7 +297,7 @@ trait Rest_Api {
$item = $this->model_class::get_by_id($request['id']);
if (empty($item)) {
- return new \WP_Error("wu_rest_{$this->slug}_invalid_id", __('Item not found.', 'wp-ultimo'), ['status' => 404]);
+ return new \WP_Error("wu_rest_{$this->slug}_invalid_id", __('Item not found.', 'wp-multisite-waas'), ['status' => 404]);
}
$result = $item->delete();
diff --git a/inc/api/trait-wp-cli.php b/inc/api/trait-wp-cli.php
index 678769f..fe73d3a 100644
--- a/inc/api/trait-wp-cli.php
+++ b/inc/api/trait-wp-cli.php
@@ -116,7 +116,7 @@ trait WP_CLI {
$sub_command_data['synopsis'][] = [
'name' => 'id',
'type' => 'positional',
- 'description' => __('The id for the resource.', 'wp-ultimo'),
+ 'description' => __('The id for the resource.', 'wp-multisite-waas'),
'optional' => false,
];
}
@@ -131,7 +131,7 @@ trait WP_CLI {
$field = [
'name' => $name,
- 'description' => wu_get_isset($explanation, 'description', __('No description found.', 'wp-ultimo')),
+ 'description' => wu_get_isset($explanation, 'description', __('No description found.', 'wp-multisite-waas')),
'optional' => ! wu_get_isset($explanation, 'required'),
'type' => 'assoc',
];
@@ -150,7 +150,7 @@ trait WP_CLI {
$sub_command_data['synopsis'][] = [
'name' => 'porcelain',
'type' => 'flag',
- 'description' => __('Output just the id when the operation is successful.', 'wp-ultimo'),
+ 'description' => __('Output just the id when the operation is successful.', 'wp-multisite-waas'),
'optional' => true,
];
}
@@ -159,7 +159,7 @@ trait WP_CLI {
$sub_command_data['synopsis'][] = [
'name' => 'format',
'type' => 'assoc',
- 'description' => __('Render response in a particular format.', 'wp-ultimo'),
+ 'description' => __('Render response in a particular format.', 'wp-multisite-waas'),
'optional' => true,
'default' => 'table',
'options' => [
@@ -175,7 +175,7 @@ trait WP_CLI {
$sub_command_data['synopsis'][] = [
'name' => 'fields',
'type' => 'assoc',
- 'description' => __('Limit response to specific fields. Defaults to id, name', 'wp-ultimo'),
+ 'description' => __('Limit response to specific fields. Defaults to id, name', 'wp-multisite-waas'),
'optional' => true,
'options' => array_merge(['id'], $params),
];
@@ -335,7 +335,7 @@ trait WP_CLI {
} else {
$error_message = sprintf(
/* translators: 1. Object class name; 2. Set method name */
- __('The %1$s object does not have a %2$s method', 'wp-ultimo'),
+ __('The %1$s object does not have a %2$s method', 'wp-multisite-waas'),
get_class($item),
$set_method
);
diff --git a/inc/checkout/class-cart.php b/inc/checkout/class-cart.php
index 88db86c..92dea43 100644
--- a/inc/checkout/class-cart.php
+++ b/inc/checkout/class-cart.php
@@ -556,7 +556,7 @@ class Cart implements \JsonSerializable {
$payment = wu_get_payment($payment_id);
if ( ! $payment) {
- $this->errors->add('payment_not_found', __('The payment in question was not found.', 'wp-ultimo'));
+ $this->errors->add('payment_not_found', __('The payment in question was not found.', 'wp-multisite-waas'));
return true;
}
@@ -583,7 +583,7 @@ class Cart implements \JsonSerializable {
* a payment can pay it. Let's check for that.
*/
if (empty($this->customer) || $this->customer->get_id() !== $payment->get_customer_id()) {
- $this->errors->add('lacks_permission', __('You are not allowed to modify this payment.', 'wp-ultimo'));
+ $this->errors->add('lacks_permission', __('You are not allowed to modify this payment.', 'wp-multisite-waas'));
return true;
}
@@ -594,7 +594,7 @@ class Cart implements \JsonSerializable {
$membership = $payment->get_membership();
if ( ! $membership) {
- $this->errors->add('membership_not_found', __('The membership in question was not found.', 'wp-ultimo'));
+ $this->errors->add('membership_not_found', __('The membership in question was not found.', 'wp-multisite-waas'));
return true;
}
@@ -683,7 +683,7 @@ class Cart implements \JsonSerializable {
);
if ( ! in_array($payment->get_status(), $allowed_status, true)) {
- $this->errors->add('invalid_status', __('The payment in question has an invalid status.', 'wp-ultimo'));
+ $this->errors->add('invalid_status', __('The payment in question has an invalid status.', 'wp-multisite-waas'));
return true;
}
@@ -742,7 +742,7 @@ class Cart implements \JsonSerializable {
$membership = wu_get_membership($membership_id);
if ( ! $membership) {
- $this->errors->add('membership_not_found', __('The membership in question was not found.', 'wp-ultimo'));
+ $this->errors->add('membership_not_found', __('The membership in question was not found.', 'wp-multisite-waas'));
return true;
}
@@ -762,7 +762,7 @@ class Cart implements \JsonSerializable {
* Only the customer that owns a membership can change it.
*/
if (empty($this->customer) || $this->customer->get_id() !== $membership->get_customer_id()) {
- $this->errors->add('lacks_permission', __('You are not allowed to modify this membership.', 'wp-ultimo'));
+ $this->errors->add('lacks_permission', __('You are not allowed to modify this membership.', 'wp-multisite-waas'));
return true;
}
@@ -794,7 +794,7 @@ class Cart implements \JsonSerializable {
return false;
}
- $this->errors->add('no_changes', __('This cart proposes no changes to the current membership.', 'wp-ultimo'));
+ $this->errors->add('no_changes', __('This cart proposes no changes to the current membership.', 'wp-multisite-waas'));
return true;
}
@@ -816,7 +816,7 @@ class Cart implements \JsonSerializable {
*/
if (empty($this->plan_id)) {
if (count($this->products) === 0) {
- $this->errors->add('no_changes', __('This cart proposes no changes to the current membership.', 'wp-ultimo'));
+ $this->errors->add('no_changes', __('This cart proposes no changes to the current membership.', 'wp-multisite-waas'));
return true;
}
@@ -938,7 +938,7 @@ class Cart implements \JsonSerializable {
$this->products = [];
$this->line_items = [];
- $this->errors->add('no_changes', __('This cart proposes no changes to the current membership.', 'wp-ultimo'));
+ $this->errors->add('no_changes', __('This cart proposes no changes to the current membership.', 'wp-multisite-waas'));
return true;
}
@@ -1000,13 +1000,13 @@ class Cart implements \JsonSerializable {
$description = sprintf(
// translators: %1$s the duration, and %2$s the duration unit (day, week, month, etc)
- _n('%2$s', '%1$s %2$s', $membership->get_duration(), 'wp-ultimo'), // phpcs:ignore
+ _n('%2$s', '%1$s %2$s', $membership->get_duration(), 'wp-multisite-waas'), // phpcs:ignore
$membership->get_duration(),
wu_get_translatable_string(($membership->get_duration() <= 1 ? $membership->get_duration_unit() : $membership->get_duration_unit() . 's'))
);
// Translators: Placeholder receives the recurring period description
- $message = sprintf(__('You already have an active %s agreement.', 'wp-ultimo'), $description);
+ $message = sprintf(__('You already have an active %s agreement.', 'wp-multisite-waas'), $description);
$this->errors->add('no_changes', $message);
@@ -1027,8 +1027,8 @@ class Cart implements \JsonSerializable {
'wu_checkout_credit_line_item_params',
[
'type' => 'credit',
- 'title' => __('Scheduled Swap Credit', 'wp-ultimo'),
- 'description' => __('Swap scheduled to next billing cycle.', 'wp-ultimo'),
+ 'title' => __('Scheduled Swap Credit', 'wp-multisite-waas'),
+ 'description' => __('Swap scheduled to next billing cycle.', 'wp-multisite-waas'),
'discountable' => false,
'taxable' => false,
'quantity' => 1,
@@ -1222,8 +1222,8 @@ class Cart implements \JsonSerializable {
'wu_checkout_credit_line_item_params',
[
'type' => 'credit',
- 'title' => __('Credit', 'wp-ultimo'),
- 'description' => __('Prorated amount based on the previous membership.', 'wp-ultimo'),
+ 'title' => __('Credit', 'wp-multisite-waas'),
+ 'description' => __('Prorated amount based on the previous membership.', 'wp-multisite-waas'),
'discountable' => false,
'taxable' => false,
'quantity' => 1,
@@ -1259,7 +1259,7 @@ class Cart implements \JsonSerializable {
if (empty($discount_code)) {
// translators: %s is the coupon code being used, all-caps. e.g. PROMO10OFF
- $this->errors->add('discount_code', sprintf(__('The code %s do not exist or is no longer valid.', 'wp-ultimo'), $code));
+ $this->errors->add('discount_code', sprintf(__('The code %s do not exist or is no longer valid.', 'wp-multisite-waas'), $code));
return false;
}
@@ -1340,7 +1340,7 @@ class Cart implements \JsonSerializable {
if ($line_item_interval !== $interval) {
// translators: two intervals
- $this->errors->add('wrong', sprintf(__('Interval %1$s and %2$s do not match.', 'wp-ultimo'), $line_item_interval, $interval));
+ $this->errors->add('wrong', sprintf(__('Interval %1$s and %2$s do not match.', 'wp-multisite-waas'), $line_item_interval, $interval));
return false;
}
@@ -1503,7 +1503,7 @@ class Cart implements \JsonSerializable {
$product = is_numeric($product_id_or_slug) ? wu_get_product($product_id_or_slug) : wu_get_product_by_slug($product_id_or_slug);
if ( ! $product) {
- $message = __('The product you are trying to add does not exist.', 'wp-ultimo');
+ $message = __('The product you are trying to add does not exist.', 'wp-multisite-waas');
$this->errors->add('missing-product', $message);
@@ -1515,7 +1515,7 @@ class Cart implements \JsonSerializable {
$product = $product->get_as_variation($this->duration, $this->duration_unit);
if ( ! $product) {
- $message = __('The product you are trying to add does not exist for the selected duration.', 'wp-ultimo');
+ $message = __('The product you are trying to add does not exist for the selected duration.', 'wp-multisite-waas');
$this->errors->add('missing-price-variations', $message);
@@ -1529,7 +1529,7 @@ class Cart implements \JsonSerializable {
* another one. Bail.
*/
if ( ! empty($this->plan_id)) {
- $message = __('Theres already a plan in this membership.', 'wp-ultimo');
+ $message = __('Theres already a plan in this membership.', 'wp-multisite-waas');
$this->errors->add('plan-already-added', $message);
@@ -1591,7 +1591,7 @@ class Cart implements \JsonSerializable {
* price variation. We need to add an error.
*/
// translators: respectively, product name, duration, and duration unit.
- $message = sprintf(__('%1$s does not have a valid price variation for that billing period (every %2$s %3$s(s)) and was not added to the cart.', 'wp-ultimo'), $product->get_name(), $this->duration, $this->duration_unit);
+ $message = sprintf(__('%1$s does not have a valid price variation for that billing period (every %2$s %3$s(s)) and was not added to the cart.', 'wp-multisite-waas'), $product->get_name(), $this->duration, $this->duration_unit);
$this->errors->add('missing-price-variations', $message);
@@ -1655,7 +1655,7 @@ class Cart implements \JsonSerializable {
}
// translators: placeholder is the product name.
- $description = ($product->get_setup_fee() > 0) ? __('Signup Fee for %s', 'wp-ultimo') : __('Signup Credit for %s', 'wp-ultimo');
+ $description = ($product->get_setup_fee() > 0) ? __('Signup Fee for %s', 'wp-multisite-waas') : __('Signup Credit for %s', 'wp-multisite-waas');
$description = sprintf($description, $product->get_name());
diff --git a/inc/checkout/class-checkout-pages.php b/inc/checkout/class-checkout-pages.php
index 7e159a2..89276c4 100644
--- a/inc/checkout/class-checkout-pages.php
+++ b/inc/checkout/class-checkout-pages.php
@@ -108,8 +108,8 @@ class Checkout_Pages {
name="_wu_force_elements_loading" />
@@ -190,7 +190,7 @@ class Checkout_Pages {
public function get_error_message($error_code, $username = '') {
$messages = [
- 'incorrect_password' => sprintf(__('Error: The password you entered is incorrect.', 'wp-ultimo')),
+ 'incorrect_password' => sprintf(__('Error: The password you entered is incorrect.', 'wp-multisite-waas')),
// From here we are using the same messages as WordPress core.
'expired' => __('Your session has expired. Please log in to continue where you left off.'),
'confirm' => sprintf(__('Check your email for the confirmation link, then visit the login page.'), wp_login_url()),
@@ -217,7 +217,7 @@ class Checkout_Pages {
*/
$messages = apply_filters('wu_checkout_pages_error_messages', $messages);
- return wu_get_isset($messages, $error_code, __('Something went wrong', 'wp-ultimo'));
+ return wu_get_isset($messages, $error_code, __('Something went wrong', 'wp-multisite-waas'));
}
/**
@@ -415,9 +415,9 @@ class Checkout_Pages {
if ($payment->get_total() == 0 && $customer->get_email_verification() === 'pending') {
$html = '
%s
';
- $message = __('Your email address is not yet verified. Your site will only be activated after your email address is verified. Check your inbox and verify your email address.', 'wp-ultimo');
+ $message = __('Your email address is not yet verified. Your site will only be activated after your email address is verified. Check your inbox and verify your email address.', 'wp-multisite-waas');
- $message .= sprintf(' %s', __('Resend verification email →', 'wp-ultimo'));
+ $message .= sprintf(' %s', __('Resend verification email →', 'wp-multisite-waas'));
printf($html, $message);
}
@@ -618,11 +618,11 @@ class Checkout_Pages {
}
$labels = [
- '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'),
+ 'register' => __('WP Multisite WaaS - Register Page', 'wp-multisite-waas'),
+ 'login' => __('WP Multisite WaaS - Login Page', 'wp-multisite-waas'),
+ 'block_frontend' => __('WP Multisite WaaS - Site Blocked Page', 'wp-multisite-waas'),
+ 'update' => __('WP Multisite WaaS - Membership Update Page', 'wp-multisite-waas'),
+ 'new_site' => __('WP Multisite WaaS - New Site Page', 'wp-multisite-waas'),
];
$pages = array_map('absint', $this->get_signup_pages());
diff --git a/inc/checkout/class-checkout.php b/inc/checkout/class-checkout.php
index 1276e64..8b36dcb 100644
--- a/inc/checkout/class-checkout.php
+++ b/inc/checkout/class-checkout.php
@@ -645,7 +645,7 @@ class Checkout {
if ($cart->should_collect_payment() === false) {
$gateway = wu_get_gateway('free');
} elseif ( ! $gateway || $gateway->get_id() === 'free') {
- $this->errors = new \WP_Error('no-gateway', __('Payment gateway not registered.', 'wp-ultimo'));
+ $this->errors = new \WP_Error('no-gateway', __('Payment gateway not registered.', 'wp-multisite-waas'));
return false;
}
@@ -655,7 +655,7 @@ class Checkout {
* we need to bail.
*/
if ( ! $gateway) {
- return new \WP_Error('no-gateway', __('Payment gateway not registered.', 'wp-ultimo'));
+ return new \WP_Error('no-gateway', __('Payment gateway not registered.', 'wp-multisite-waas'));
}
$this->gateway_id = $gateway->get_id();
@@ -962,7 +962,7 @@ class Checkout {
'email_verification' => 'verified',
];
} elseif (isset($customer_data['email']) && get_user_by('email', $customer_data['email'])) {
- return new \WP_Error('email_exists', __('The email address you entered is already in use.', 'wp-ultimo'));
+ return new \WP_Error('email_exists', __('The email address you entered is already in use.', 'wp-multisite-waas'));
}
/*
@@ -1020,7 +1020,7 @@ class Checkout {
* wrong with the customer update, we return a general error.
*/
if ( ! $address_saved) {
- return new \WP_Error('address_failure', __('Something wrong happened while attempting to save the customer billing address', 'wp-ultimo'));
+ return new \WP_Error('address_failure', __('Something wrong happened while attempting to save the customer billing address', 'wp-multisite-waas'));
}
/*
@@ -1549,9 +1549,9 @@ class Checkout {
* Localized strings.
*/
$i18n = [
- 'loading' => __('Loading...', 'wp-ultimo'),
- 'added_to_order' => __('The item was added!', 'wp-ultimo'),
- 'weak_password' => __('The Password entered is too weak.', 'wp-ultimo'),
+ 'loading' => __('Loading...', 'wp-multisite-waas'),
+ 'added_to_order' => __('The item was added!', 'wp-multisite-waas'),
+ 'weak_password' => __('The Password entered is too weak.', 'wp-multisite-waas'),
];
/*
@@ -1847,11 +1847,11 @@ class Checkout {
// Add some hidden or compound fields ids
$validation_aliases = array_merge(
[
- 'password_conf' => __('Password confirmation', 'wp-ultimo'),
- 'template_id' => __('Template ID', 'wp-ultimo'),
- 'valid_password' => __('Valid password', 'wp-ultimo'),
- 'products' => __('Products', 'wp-ultimo'),
- 'gateway' => __('Payment Gateway', 'wp-ultimo'),
+ 'password_conf' => __('Password confirmation', 'wp-multisite-waas'),
+ 'template_id' => __('Template ID', 'wp-multisite-waas'),
+ 'valid_password' => __('Valid password', 'wp-multisite-waas'),
+ 'products' => __('Products', 'wp-multisite-waas'),
+ 'gateway' => __('Payment Gateway', 'wp-multisite-waas'),
],
$base_aliases
);
@@ -2068,13 +2068,13 @@ class Checkout {
} elseif ($this->order->should_collect_payment() === false) {
$gateway = wu_get_gateway('free');
} elseif ($gateway->get_id() === 'free') {
- $this->errors = new \WP_Error('no-gateway', __('Payment gateway not registered.', 'wp-ultimo'));
+ $this->errors = new \WP_Error('no-gateway', __('Payment gateway not registered.', 'wp-multisite-waas'));
return false;
}
if ( ! $gateway) {
- $this->errors = new \WP_Error('no-gateway', __('Payment gateway not registered.', 'wp-ultimo'));
+ $this->errors = new \WP_Error('no-gateway', __('Payment gateway not registered.', 'wp-multisite-waas'));
return false;
}
@@ -2171,7 +2171,7 @@ class Checkout {
} catch (\Throwable $e) {
$membership_id = $this->order->get_membership() ? $this->order->get_membership()->get_id() : 'unknown';
- $log_message = sprintf(__('Checkout failed for customer %s: ', 'wp-ultimo'), $membership_id);
+ $log_message = sprintf(__('Checkout failed for customer %s: ', 'wp-multisite-waas'), $membership_id);
$log_message .= $e->getMessage();
wu_log_add('checkout', $log_message, LogLevel::ERROR);
diff --git a/inc/checkout/class-legacy-checkout.php b/inc/checkout/class-legacy-checkout.php
index 4b64b63..dc72ed8 100644
--- a/inc/checkout/class-legacy-checkout.php
+++ b/inc/checkout/class-legacy-checkout.php
@@ -95,7 +95,7 @@ class Legacy_Checkout {
$this->session = wu_get_session('signup');
$this->templates = [
- 'signup-main.php' => __('WP Multisite WaaS Legacy Signup', 'wp-ultimo'),
+ 'signup-main.php' => __('WP Multisite WaaS Legacy Signup', 'wp-multisite-waas'),
];
// add_filter('request', array($this, 'maybe_render_legacy_signup'));
@@ -388,7 +388,7 @@ class Legacy_Checkout {
if (isset($location['country']) && $location['country'] && $allowed_countries) {
if ( ! in_array($location['country'], $allowed_countries, true)) {
- wp_die(apply_filters('wu_geolocation_error_message', __('Sorry. Our service is not allowed in your country.', 'wp-ultimo')));
+ wp_die(apply_filters('wu_geolocation_error_message', __('Sorry. Our service is not allowed in your country.', 'wp-multisite-waas')));
}
}
}
@@ -630,8 +630,8 @@ class Legacy_Checkout {
// Plan Selector
$steps['plan'] = [
- 'name' => __('Pick a Plan', 'wp-ultimo'),
- 'desc' => __('Which one of our amazing plans you want to get?', 'wp-ultimo'),
+ 'name' => __('Pick a Plan', 'wp-multisite-waas'),
+ 'desc' => __('Which one of our amazing plans you want to get?', 'wp-multisite-waas'),
'view' => 'step-plans',
'handler' => [$this, 'plans_save'],
'order' => 10,
@@ -646,8 +646,8 @@ class Legacy_Checkout {
// We add template selection if this has template
if ($site_templates) {
$steps['template'] = [
- 'name' => __('Template Selection', 'wp-ultimo'),
- 'desc' => __('Select the base template of your new site.', 'wp-ultimo'),
+ 'name' => __('Template Selection', 'wp-multisite-waas'),
+ 'desc' => __('Select the base template of your new site.', 'wp-multisite-waas'),
'view' => 'step-template',
'order' => 20,
'handler' => false,
@@ -657,8 +657,8 @@ class Legacy_Checkout {
// Domain registering
$steps['domain'] = [
- 'name' => __('Site Details', 'wp-ultimo'),
- 'desc' => __('Ok, now it\'s time to pick your site url and title!', 'wp-ultimo'),
+ 'name' => __('Site Details', 'wp-multisite-waas'),
+ 'desc' => __('Ok, now it\'s time to pick your site url and title!', 'wp-multisite-waas'),
'handler' => [$this, 'domain_save'],
'view' => false,
'order' => 30,
@@ -668,34 +668,34 @@ class Legacy_Checkout {
[
'blog_title' => [
'order' => 10,
- 'name' => apply_filters('wu_signup_site_title_label', __('Site Title', 'wp-ultimo')),
+ 'name' => apply_filters('wu_signup_site_title_label', __('Site Title', 'wp-multisite-waas')),
'type' => 'text',
'default' => '',
'placeholder' => '',
- 'tooltip' => apply_filters('wu_signup_site_title_tooltip', __('Select the title your site is going to have.', 'wp-ultimo')),
+ 'tooltip' => apply_filters('wu_signup_site_title_tooltip', __('Select the title your site is going to have.', 'wp-multisite-waas')),
'required' => true,
'core' => true,
],
'blogname' => [
'order' => 20,
- 'name' => apply_filters('wu_signup_site_url_label', __('URL', 'wp-ultimo')),
+ 'name' => apply_filters('wu_signup_site_url_label', __('URL', 'wp-multisite-waas')),
'type' => 'text',
'default' => '',
'placeholder' => '',
- 'tooltip' => apply_filters('wu_signup_site_url_tooltip', __('Site urls can only contain lowercase letters (a-z) and numbers and must be at least 4 characters. .', 'wp-ultimo')),
+ 'tooltip' => apply_filters('wu_signup_site_url_tooltip', __('Site urls can only contain lowercase letters (a-z) and numbers and must be at least 4 characters. .', 'wp-multisite-waas')),
'required' => true,
'core' => true,
],
'url_preview' => [
'order' => 30,
- 'name' => __('Site URL Preview', 'wp-ultimo'),
+ 'name' => __('Site URL Preview', 'wp-multisite-waas'),
'type' => 'html',
'content' => wu_get_template_contents('legacy/signup/steps/step-domain-url-preview'),
],
'submit' => [
'order' => 100,
'type' => 'submit',
- 'name' => __('Continue to the next step', 'wp-ultimo'),
+ 'name' => __('Continue to the next step', 'wp-multisite-waas'),
'core' => true,
],
]
@@ -710,18 +710,18 @@ class Legacy_Checkout {
'user_name' => [
'order' => 10,
- 'name' => apply_filters('wu_signup_username_label', __('Username', 'wp-ultimo')),
+ 'name' => apply_filters('wu_signup_username_label', __('Username', 'wp-multisite-waas')),
'type' => 'text',
'default' => '',
'placeholder' => '',
- 'tooltip' => apply_filters('wu_signup_username_tooltip', __('Username must be at least 4 characters.', 'wp-ultimo')),
+ 'tooltip' => apply_filters('wu_signup_username_tooltip', __('Username must be at least 4 characters.', 'wp-multisite-waas')),
'required' => true,
'core' => true,
],
'user_email' => [
'order' => 20,
- 'name' => apply_filters('wu_signup_email_label', __('Email', 'wp-ultimo')),
+ 'name' => apply_filters('wu_signup_email_label', __('Email', 'wp-multisite-waas')),
'type' => 'email',
'default' => '',
'placeholder' => '',
@@ -732,18 +732,18 @@ class Legacy_Checkout {
'user_pass' => [
'order' => 30,
- 'name' => apply_filters('wu_signup_password_label', __('Password', 'wp-ultimo')),
+ 'name' => apply_filters('wu_signup_password_label', __('Password', 'wp-multisite-waas')),
'type' => 'password',
'default' => '',
'placeholder' => '',
- 'tooltip' => apply_filters('wu_signup_password_tooltip', __('Your password should be at least 6 characters long.', 'wp-ultimo')),
+ 'tooltip' => apply_filters('wu_signup_password_tooltip', __('Your password should be at least 6 characters long.', 'wp-multisite-waas')),
'required' => true,
'core' => true,
],
'user_pass_conf' => [
'order' => 40,
- 'name' => apply_filters('wu_signup_password_conf_label', __('Confirm Password', 'wp-ultimo')),
+ 'name' => apply_filters('wu_signup_password_conf_label', __('Confirm Password', 'wp-multisite-waas')),
'type' => 'password',
'default' => '',
'placeholder' => '',
@@ -757,7 +757,7 @@ class Legacy_Checkout {
*/
'site_url' => [
'order' => random_int(1, 59), // Use random order for Honeypot
- 'name' => __('Site URL', 'wp-ultimo'),
+ 'name' => __('Site URL', 'wp-multisite-waas'),
'type' => 'text',
'default' => '',
'placeholder' => '',
@@ -786,18 +786,18 @@ class Legacy_Checkout {
// $account_fields['has_coupon'] = array(
// 'order' => 50,
// 'type' => 'checkbox',
- // 'name' => __('Have a coupon code?', 'wp-ultimo'),
+ // 'name' => __('Have a coupon code?', 'wp-multisite-waas'),
// 'core' => true,
// 'check_if' => 'coupon', // Check if the input with this name is selected
// 'checked' => $coupon ? true : false,
// );
// $account_fields['coupon'] = array(
// 'order' => 60,
- // 'name' => __('Coupon Code', 'wp-ultimo'),
+ // 'name' => __('Coupon Code', 'wp-multisite-waas'),
// 'type' => 'text',
// 'default' => '',
// 'placeholder' => '',
- // 'tooltip' => __('The code should be an exact match. This field is case-sensitive.', 'wp-ultimo'),
+ // 'tooltip' => __('The code should be an exact match. This field is case-sensitive.', 'wp-multisite-waas'),
// 'requires' => array('has_coupon' => true),
// 'core' => true,
// );
@@ -811,7 +811,7 @@ class Legacy_Checkout {
// 'order' => 70,
// 'type' => 'checkbox',
// 'checked' => false,
- // 'name' => sprintf(__('I agree with the Terms of Service', 'wp-ultimo'), $this->get_terms_url()),
+ // 'name' => sprintf(__('I agree with the Terms of Service', 'wp-multisite-waas'), $this->get_terms_url()),
// 'core' => true,
// );
// }
@@ -822,13 +822,13 @@ class Legacy_Checkout {
$account_fields['submit'] = [
'order' => 100,
'type' => 'submit',
- 'name' => __('Create Account', 'wp-ultimo'),
+ 'name' => __('Create Account', 'wp-multisite-waas'),
'core' => true,
];
// Account registering
$steps['account'] = [
- 'name' => __('Account Details', 'wp-ultimo'),
+ 'name' => __('Account Details', 'wp-multisite-waas'),
'view' => false,
'handler' => [$this, 'account_save'],
'order' => 40,
@@ -867,7 +867,7 @@ class Legacy_Checkout {
*/
$begin_signup = [
'begin-signup' => [
- 'name' => __('Begin Signup Process', 'wp-ultimo'),
+ 'name' => __('Begin Signup Process', 'wp-multisite-waas'),
'handler' => [$this, 'begin_signup'],
'view' => false,
'hidden' => true,
@@ -883,7 +883,7 @@ class Legacy_Checkout {
*/
$create_account = [
'create-account' => [
- 'name' => __('Creating Account', 'wp-ultimo'),
+ 'name' => __('Creating Account', 'wp-multisite-waas'),
'handler' => [$this, 'create_account'],
'view' => false,
'hidden' => true,
@@ -932,7 +932,7 @@ class Legacy_Checkout {
if ($die && empty($transient)) {
- // wp_die(__('Try again', 'wp-ultimo'));
+ // wp_die(__('Try again', 'wp-multisite-waas'));
}
if (is_null($transient)) {
@@ -1161,13 +1161,13 @@ class Legacy_Checkout {
// We need now to check for plan
if ( ! isset($_POST['plan_id'])) {
- $this->results['errors']->add('plan_id', __('You don\'t have any plan selected.', 'wp-ultimo'));
+ $this->results['errors']->add('plan_id', __('You don\'t have any plan selected.', 'wp-multisite-waas'));
} else {
// We need now to check if the plan exists
$plan = wu_get_product($_POST['plan_id']);
if ( ! $plan->exists()) {
- $this->results['errors']->add('plan_id', __('The plan you\'ve selected doesn\'t exist.', 'wp-ultimo'));
+ $this->results['errors']->add('plan_id', __('The plan you\'ve selected doesn\'t exist.', 'wp-multisite-waas'));
}
}
@@ -1328,7 +1328,7 @@ class Legacy_Checkout {
// Checks for honey-trap id
if ('site_url' === $id) {
- wp_die(__('Please, do not use the "site_url" as one of your custom fields\' ids. We use it as a honeytrap field to prevent spam registration. Consider alternatives such as "url" or "website".', 'wp-ultimo'));
+ wp_die(__('Please, do not use the "site_url" as one of your custom fields\' ids. We use it as a honeytrap field to prevent spam registration. Consider alternatives such as "url" or "website".', 'wp-multisite-waas'));
}
// Saves the order
diff --git a/inc/checkout/class-line-item.php b/inc/checkout/class-line-item.php
index 70efa7e..a7763af 100644
--- a/inc/checkout/class-line-item.php
+++ b/inc/checkout/class-line-item.php
@@ -1093,7 +1093,7 @@ class Line_Item implements \JsonSerializable {
$description = sprintf(
// translators: %1$s the duration, and %2$s the duration unit (day, week, month, etc)
- _n('%2$s', 'every %1$s %2$s', $this->get_duration(), 'wp-ultimo'), // phpcs:ignore
+ _n('%2$s', 'every %1$s %2$s', $this->get_duration(), 'wp-multisite-waas'), // phpcs:ignore
$this->get_duration(),
wu_get_translatable_string(($this->get_duration() <= 1 ? $this->get_duration_unit() : $this->get_duration_unit() . 's'))
);
diff --git a/inc/checkout/signup-fields/class-base-signup-field.php b/inc/checkout/signup-fields/class-base-signup-field.php
index c0ac3cd..7e6730c 100644
--- a/inc/checkout/signup-fields/class-base-signup-field.php
+++ b/inc/checkout/signup-fields/class-base-signup-field.php
@@ -308,7 +308,7 @@ abstract class Base_Signup_Field {
$final_field_list[ '_site_notice_field_' . uniqid() ] = [
'type' => 'note',
'classes' => 'wu--mt-px',
- 'desc' => sprintf('
%s
', __('This is a site-related field. For that reason, this field will not show up when no plans are present on the shopping cart.', 'wp-ultimo')),
+ 'desc' => sprintf('
%s
', __('This is a site-related field. For that reason, this field will not show up when no plans are present on the shopping cart.', 'wp-multisite-waas')),
'order' => 98.5,
];
}
@@ -320,7 +320,7 @@ abstract class Base_Signup_Field {
$final_field_list[ '_user_notice_field_' . uniqid() ] = [
'type' => 'note',
'classes' => 'wu--mt-px',
- 'desc' => sprintf('
%s
', __('This is a customer-related field. For that reason, this field will not show up when the user is logged and already has a customer on file.', 'wp-ultimo')),
+ 'desc' => sprintf('
%s
', __('This is a customer-related field. For that reason, this field will not show up when the user is logged and already has a customer on file.', 'wp-multisite-waas')),
'order' => 98.5,
];
}
@@ -440,10 +440,10 @@ abstract class Base_Signup_Field {
$fields['id'] = [
'type' => 'text',
- 'title' => __('Field ID', 'wp-ultimo'),
- 'placeholder' => __('e.g. info-name', 'wp-ultimo'),
- 'tooltip' => __('Only alpha-numeric and hyphens allowed.', 'wp-ultimo'),
- 'desc' => __('The ID of the field. This is used to reference the field.', 'wp-ultimo'),
+ 'title' => __('Field ID', 'wp-multisite-waas'),
+ 'placeholder' => __('e.g. info-name', 'wp-multisite-waas'),
+ 'tooltip' => __('Only alpha-numeric and hyphens allowed.', 'wp-multisite-waas'),
+ 'desc' => __('The ID of the field. This is used to reference the field.', 'wp-multisite-waas'),
'value' => wu_request('id', ''),
'html_attr' => [
'v-on:input' => 'id = $event.target.value.toLowerCase().replace(/[^a-z0-9-_]+/g, "")',
@@ -453,10 +453,10 @@ abstract class Base_Signup_Field {
$fields['name'] = [
'type' => 'text',
- 'title' => __('Field Label', 'wp-ultimo'),
- 'placeholder' => __('e.g. Your Name', 'wp-ultimo'),
- 'desc' => __('This is what your customer see as the field title.', 'wp-ultimo'),
- 'tooltip' => __('Leave blank to hide the field label. You can also set a placeholder value and tip in the "Additional Settings" tab.', 'wp-ultimo'),
+ 'title' => __('Field Label', 'wp-multisite-waas'),
+ 'placeholder' => __('e.g. Your Name', 'wp-multisite-waas'),
+ 'desc' => __('This is what your customer see as the field title.', 'wp-multisite-waas'),
+ 'tooltip' => __('Leave blank to hide the field label. You can also set a placeholder value and tip in the "Additional Settings" tab.', 'wp-multisite-waas'),
'value' => '',
'html_attr' => [
'v-model' => 'name',
@@ -465,9 +465,9 @@ abstract class Base_Signup_Field {
$fields['placeholder'] = [
'type' => 'text',
- 'title' => __('Field Placeholder', 'wp-ultimo'),
- 'placeholder' => __('e.g. Placeholder value', 'wp-ultimo'),
- 'desc' => __('This value appears inside the field, as an example of how to fill it.', 'wp-ultimo'),
+ 'title' => __('Field Placeholder', 'wp-multisite-waas'),
+ 'placeholder' => __('e.g. Placeholder value', 'wp-multisite-waas'),
+ 'desc' => __('This value appears inside the field, as an example of how to fill it.', 'wp-multisite-waas'),
'tooltip' => '',
'value' => '',
'tab' => 'advanced',
@@ -478,10 +478,10 @@ abstract class Base_Signup_Field {
$fields['tooltip'] = [
'type' => 'textarea',
- 'title' => __('Field Tooltip', 'wp-ultimo'),
- 'placeholder' => __('e.g. This field is great, be sure to fill it.', 'wp-ultimo'),
+ 'title' => __('Field Tooltip', 'wp-multisite-waas'),
+ 'placeholder' => __('e.g. This field is great, be sure to fill it.', 'wp-multisite-waas'),
// translators: %is is the icon for a question mark.
- 'desc' => sprintf(__('Any text entered here will be shown when the customer hovers the %s icon next to the field label.', 'wp-ultimo'), wu_tooltip(__('Just like this!', 'wp-ultimo'))),
+ 'desc' => sprintf(__('Any text entered here will be shown when the customer hovers the %s icon next to the field label.', 'wp-multisite-waas'), wu_tooltip(__('Just like this!', 'wp-multisite-waas'))),
'tooltip' => '',
'value' => '',
'tab' => 'advanced',
@@ -493,8 +493,8 @@ abstract class Base_Signup_Field {
$fields['default_value'] = [
'type' => 'text',
- 'title' => __('Default Value', 'wp-ultimo'),
- 'placeholder' => __('e.g. None', 'wp-ultimo'),
+ 'title' => __('Default Value', 'wp-multisite-waas'),
+ 'placeholder' => __('e.g. None', 'wp-multisite-waas'),
'value' => '',
'html_attr' => [
'v-model' => 'default_value',
@@ -503,7 +503,7 @@ abstract class Base_Signup_Field {
$fields['note'] = [
'type' => 'textarea',
- 'title' => __('Content', 'wp-ultimo'),
+ 'title' => __('Content', 'wp-multisite-waas'),
'placeholder' => '',
'tooltip' => '',
'value' => '',
@@ -514,13 +514,13 @@ abstract class Base_Signup_Field {
$fields['limits'] = [
'type' => 'group',
- 'title' => __('Field Length', 'wp-ultimo'),
+ 'title' => __('Field Length', 'wp-multisite-waas'),
'tooltip' => '',
'fields' => [
'min' => [
'type' => 'number',
'value' => '',
- 'placeholder' => __('Min', 'wp-ultimo'),
+ 'placeholder' => __('Min', 'wp-multisite-waas'),
'wrapper_classes' => 'wu-w-1/2',
'html_attr' => [
'v-model' => 'min',
@@ -529,7 +529,7 @@ abstract class Base_Signup_Field {
'max' => [
'type' => 'number',
'value' => '',
- 'placeholder' => __('Max', 'wp-ultimo'),
+ 'placeholder' => __('Max', 'wp-multisite-waas'),
'wrapper_classes' => 'wu-ml-2 wu-w-1/2',
'html_attr' => [
'v-model' => 'max',
@@ -540,18 +540,18 @@ abstract class Base_Signup_Field {
$fields['save_as'] = [
'type' => 'select',
- 'title' => __('Save As', 'wp-ultimo'),
- 'desc' => __('Select how you want to save this piece of meta data. You can attach it to the customer or the site as site meta or as site option.', 'wp-ultimo'),
+ 'title' => __('Save As', 'wp-multisite-waas'),
+ 'desc' => __('Select how you want to save this piece of meta data. You can attach it to the customer or the site as site meta or as site option.', 'wp-multisite-waas'),
'placeholder' => '',
'tooltip' => '',
'value' => 'customer_meta',
'order' => 99.5,
'options' => [
- 'customer_meta' => __('Customer Meta', 'wp-ultimo'),
- 'user_meta' => __('User Meta', 'wp-ultimo'),
- 'site_meta' => __('Site Meta', 'wp-ultimo'),
- 'site_option' => __('Site Option', 'wp-ultimo'),
- 'nothing' => __('Do not save', 'wp-ultimo'),
+ 'customer_meta' => __('Customer Meta', 'wp-multisite-waas'),
+ 'user_meta' => __('User Meta', 'wp-multisite-waas'),
+ 'site_meta' => __('Site Meta', 'wp-multisite-waas'),
+ 'site_option' => __('Site Option', 'wp-multisite-waas'),
+ 'nothing' => __('Do not save', 'wp-multisite-waas'),
],
'html_attr' => [
'v-model' => 'save_as',
@@ -560,8 +560,8 @@ abstract class Base_Signup_Field {
$fields['required'] = [
'type' => 'toggle',
- 'title' => __('Required', 'wp-ultimo'),
- 'desc' => __('Mark this field as required. The checkout will not proceed unless this field is filled.', 'wp-ultimo'),
+ 'title' => __('Required', 'wp-multisite-waas'),
+ 'desc' => __('Mark this field as required. The checkout will not proceed unless this field is filled.', 'wp-multisite-waas'),
'value' => 0,
'order' => 98,
'html_attr' => [
diff --git a/inc/checkout/signup-fields/class-signup-field-billing-address.php b/inc/checkout/signup-fields/class-signup-field-billing-address.php
index cf0e5d5..544bf63 100644
--- a/inc/checkout/signup-fields/class-signup-field-billing-address.php
+++ b/inc/checkout/signup-fields/class-signup-field-billing-address.php
@@ -69,7 +69,7 @@ class Signup_Field_Billing_Address extends Base_Signup_Field {
*/
public function get_title() {
- return __('Address', 'wp-ultimo');
+ return __('Address', 'wp-multisite-waas');
}
/**
@@ -82,7 +82,7 @@ class Signup_Field_Billing_Address extends Base_Signup_Field {
*/
public function get_description() {
- return __('Adds billing address fields such as country, zip code.', 'wp-ultimo');
+ return __('Adds billing address fields such as country, zip code.', 'wp-multisite-waas');
}
/**
@@ -95,7 +95,7 @@ class Signup_Field_Billing_Address extends Base_Signup_Field {
*/
public function get_tooltip() {
- return __('Adds billing address fields such as country, zip code.', 'wp-ultimo');
+ return __('Adds billing address fields such as country, zip code.', 'wp-multisite-waas');
}
/**
@@ -165,8 +165,8 @@ class Signup_Field_Billing_Address extends Base_Signup_Field {
return [
'zip_and_country' => [
'type' => 'toggle',
- 'title' => __('Display only ZIP and Country?', 'wp-ultimo'),
- 'desc' => __('Checking this option will only add the ZIP and country fields, instead of all the normal billing address fields.', 'wp-ultimo'),
+ 'title' => __('Display only ZIP and Country?', 'wp-multisite-waas'),
+ 'desc' => __('Checking this option will only add the ZIP and country fields, instead of all the normal billing address fields.', 'wp-multisite-waas'),
'value' => true,
],
];
diff --git a/inc/checkout/signup-fields/class-signup-field-checkbox.php b/inc/checkout/signup-fields/class-signup-field-checkbox.php
index da569fb..b40053a 100644
--- a/inc/checkout/signup-fields/class-signup-field-checkbox.php
+++ b/inc/checkout/signup-fields/class-signup-field-checkbox.php
@@ -69,7 +69,7 @@ class Signup_Field_Checkbox extends Base_Signup_Field {
*/
public function get_title() {
- return __('Checkbox', 'wp-ultimo');
+ return __('Checkbox', 'wp-multisite-waas');
}
/**
@@ -82,7 +82,7 @@ class Signup_Field_Checkbox extends Base_Signup_Field {
*/
public function get_description() {
- return __('Adds a checkout box that can be checked by the customer.', 'wp-ultimo');
+ return __('Adds a checkout box that can be checked by the customer.', 'wp-multisite-waas');
}
/**
@@ -95,7 +95,7 @@ class Signup_Field_Checkbox extends Base_Signup_Field {
*/
public function get_tooltip() {
- return __('Adds a checkout box that can be checked by the customer.', 'wp-ultimo');
+ return __('Adds a checkout box that can be checked by the customer.', 'wp-multisite-waas');
}
/**
@@ -166,8 +166,8 @@ class Signup_Field_Checkbox extends Base_Signup_Field {
return [
'default_state' => [
'type' => 'toggle',
- 'title' => __('Default State', 'wp-ultimo'),
- 'desc' => __('Use the toggle to the set the default state of the checkbox.', 'wp-ultimo'),
+ 'title' => __('Default State', 'wp-multisite-waas'),
+ 'desc' => __('Use the toggle to the set the default state of the checkbox.', 'wp-multisite-waas'),
'value' => 0,
'order' => 12,
],
diff --git a/inc/checkout/signup-fields/class-signup-field-color.php b/inc/checkout/signup-fields/class-signup-field-color.php
index 3a129a0..8c8ee78 100644
--- a/inc/checkout/signup-fields/class-signup-field-color.php
+++ b/inc/checkout/signup-fields/class-signup-field-color.php
@@ -55,7 +55,7 @@ class Signup_Field_Color extends Base_Signup_Field {
*/
public function get_title() {
- return __('Color', 'wp-ultimo');
+ return __('Color', 'wp-multisite-waas');
}
/**
@@ -68,7 +68,7 @@ class Signup_Field_Color extends Base_Signup_Field {
*/
public function get_description() {
- return __('Adds a color picker field.', 'wp-ultimo');
+ return __('Adds a color picker field.', 'wp-multisite-waas');
}
/**
@@ -81,7 +81,7 @@ class Signup_Field_Color extends Base_Signup_Field {
*/
public function get_tooltip() {
- return __('Adds a color picker field.', 'wp-ultimo');
+ return __('Adds a color picker field.', 'wp-multisite-waas');
}
/**
@@ -154,8 +154,8 @@ class Signup_Field_Color extends Base_Signup_Field {
'default_value' => [
'type' => 'color-picker',
'order' => 12,
- 'title' => __('Default Color', 'wp-ultimo'),
- 'desc' => __('Set the default value for this color field.', 'wp-ultimo'),
+ 'title' => __('Default Color', 'wp-multisite-waas'),
+ 'desc' => __('Set the default value for this color field.', 'wp-multisite-waas'),
],
];
}
diff --git a/inc/checkout/signup-fields/class-signup-field-discount-code.php b/inc/checkout/signup-fields/class-signup-field-discount-code.php
index 0accc39..7049514 100644
--- a/inc/checkout/signup-fields/class-signup-field-discount-code.php
+++ b/inc/checkout/signup-fields/class-signup-field-discount-code.php
@@ -55,7 +55,7 @@ class Signup_Field_Discount_Code extends Base_Signup_Field {
*/
public function get_title() {
- return __('Coupon Code', 'wp-ultimo');
+ return __('Coupon Code', 'wp-multisite-waas');
}
/**
@@ -68,7 +68,7 @@ class Signup_Field_Discount_Code extends Base_Signup_Field {
*/
public function get_description() {
- return __('Adds an additional field to apply a discount code.', 'wp-ultimo');
+ return __('Adds an additional field to apply a discount code.', 'wp-multisite-waas');
}
/**
@@ -81,7 +81,7 @@ class Signup_Field_Discount_Code extends Base_Signup_Field {
*/
public function get_tooltip() {
- return __('Adds an additional field to apply a discount code.', 'wp-ultimo');
+ return __('Adds an additional field to apply a discount code.', 'wp-multisite-waas');
}
/**
@@ -168,7 +168,7 @@ class Signup_Field_Discount_Code extends Base_Signup_Field {
$checkout_fields['discount_code_checkbox'] = [
'id' => 'discount_code',
'type' => 'toggle',
- 'name' => __('Have a coupon code?', 'wp-ultimo'),
+ 'name' => __('Have a coupon code?', 'wp-multisite-waas'),
'class' => 'wu-w-auto',
'html_attr' => [
'v-model' => 'toggle_discount_code',
diff --git a/inc/checkout/signup-fields/class-signup-field-email.php b/inc/checkout/signup-fields/class-signup-field-email.php
index 6824382..d34d11b 100644
--- a/inc/checkout/signup-fields/class-signup-field-email.php
+++ b/inc/checkout/signup-fields/class-signup-field-email.php
@@ -64,7 +64,7 @@ class Signup_Field_Email extends Base_Signup_Field {
*/
public function get_title() {
- return __('Email', 'wp-ultimo');
+ return __('Email', 'wp-multisite-waas');
}
/**
@@ -77,7 +77,7 @@ class Signup_Field_Email extends Base_Signup_Field {
*/
public function get_description() {
- return __('Adds a email address field. This email address will be used to create the WordPress user.', 'wp-ultimo');
+ return __('Adds a email address field. This email address will be used to create the WordPress user.', 'wp-multisite-waas');
}
/**
@@ -90,7 +90,7 @@ class Signup_Field_Email extends Base_Signup_Field {
*/
public function get_tooltip() {
- return __('Adds a email address field. This email address will be used to create the WordPress user.', 'wp-ultimo');
+ return __('Adds a email address field. This email address will be used to create the WordPress user.', 'wp-multisite-waas');
}
/**
* Returns the icon to be used on the selector.
@@ -160,8 +160,8 @@ class Signup_Field_Email extends Base_Signup_Field {
return [
'display_notices' => [
'type' => 'toggle',
- 'title' => __('Display Notices', 'wp-ultimo'),
- 'desc' => __('When the customer is already logged in, a box with the customer\'s username and a link to logout is displayed instead of the email field. Disable this option if you do not want that box to show up.', 'wp-ultimo'),
+ 'title' => __('Display Notices', 'wp-multisite-waas'),
+ 'desc' => __('When the customer is already logged in, a box with the customer\'s username and a link to logout is displayed instead of the email field. Disable this option if you do not want that box to show up.', 'wp-multisite-waas'),
'tooltip' => '',
'value' => 1,
'html_attr' => [
@@ -187,7 +187,7 @@ class Signup_Field_Email extends Base_Signup_Field {
if ($attributes['display_notices']) {
$checkout_fields['login_note'] = [
'type' => 'note',
- 'title' => __('Not you?', 'wp-ultimo'),
+ 'title' => __('Not you?', 'wp-multisite-waas'),
'desc' => [$this, 'render_not_you_customer_message'],
'wrapper_classes' => wu_get_isset($attributes, 'wrapper_element_classes', ''),
'wrapper_html_attr' => [
@@ -199,7 +199,7 @@ class Signup_Field_Email extends Base_Signup_Field {
if ($attributes['display_notices']) {
$checkout_fields['login_note'] = [
'type' => 'note',
- 'title' => __('Existing customer?', 'wp-ultimo'),
+ 'title' => __('Existing customer?', 'wp-multisite-waas'),
'desc' => [$this, 'render_existing_customer_message'],
'wrapper_classes' => wu_get_isset($attributes, 'wrapper_element_classes', ''),
'wrapper_html_attr' => [
@@ -244,7 +244,7 @@ class Signup_Field_Email extends Base_Signup_Field {
Log in to renew or change an existing membership.', 'wp-ultimo'), $login_url);
+ printf(__('Log in to renew or change an existing membership.', 'wp-multisite-waas'), $login_url);
?>
@@ -273,7 +273,7 @@ class Signup_Field_Email extends Base_Signup_Field {
Log in using your account.', 'wp-ultimo'), wp_get_current_user()->display_name, $login_url);
+ printf(__('Not %1$s? Log in using your account.', 'wp-multisite-waas'), wp_get_current_user()->display_name, $login_url);
?>
diff --git a/inc/checkout/signup-fields/class-signup-field-hidden.php b/inc/checkout/signup-fields/class-signup-field-hidden.php
index 03bf559..753ee0b 100644
--- a/inc/checkout/signup-fields/class-signup-field-hidden.php
+++ b/inc/checkout/signup-fields/class-signup-field-hidden.php
@@ -55,7 +55,7 @@ class Signup_Field_Hidden extends Base_Signup_Field {
*/
public function get_title() {
- return __('Hidden Field', 'wp-ultimo');
+ return __('Hidden Field', 'wp-multisite-waas');
}
/**
@@ -68,7 +68,7 @@ class Signup_Field_Hidden extends Base_Signup_Field {
*/
public function get_description() {
- return __('Adds a hidden field. This is useful when coupled with the "Fill from the Request" option, to load values from the URL, for example.', 'wp-ultimo');
+ return __('Adds a hidden field. This is useful when coupled with the "Fill from the Request" option, to load values from the URL, for example.', 'wp-multisite-waas');
}
/**
@@ -81,7 +81,7 @@ class Signup_Field_Hidden extends Base_Signup_Field {
*/
public function get_tooltip() {
- return __('Adds a hidden field. This is useful when coupled with the "Fill from the Request" option, to load values from the URL, for example.', 'wp-ultimo');
+ return __('Adds a hidden field. This is useful when coupled with the "Fill from the Request" option, to load values from the URL, for example.', 'wp-multisite-waas');
}
/**
@@ -150,9 +150,9 @@ class Signup_Field_Hidden extends Base_Signup_Field {
'fixed_value' => [
'order' => 12,
'type' => 'text',
- 'title' => __('Pre-filled Value', 'wp-ultimo'),
- 'desc' => __('The field will be populated with this value. Can be overridden if the pre-fill from request option is enabled.', 'wp-ultimo'),
- 'placeholder' => __('e.g. blue', 'wp-ultimo'),
+ 'title' => __('Pre-filled Value', 'wp-multisite-waas'),
+ 'desc' => __('The field will be populated with this value. Can be overridden if the pre-fill from request option is enabled.', 'wp-multisite-waas'),
+ 'placeholder' => __('e.g. blue', 'wp-multisite-waas'),
'tooltip' => '',
'value' => '',
],
diff --git a/inc/checkout/signup-fields/class-signup-field-order-bump.php b/inc/checkout/signup-fields/class-signup-field-order-bump.php
index 5134fb7..f9599cb 100644
--- a/inc/checkout/signup-fields/class-signup-field-order-bump.php
+++ b/inc/checkout/signup-fields/class-signup-field-order-bump.php
@@ -56,7 +56,7 @@ class Signup_Field_Order_Bump extends Base_Signup_Field {
*/
public function get_title() {
- return __('Order Bump', 'wp-ultimo');
+ return __('Order Bump', 'wp-multisite-waas');
}
/**
@@ -69,7 +69,7 @@ class Signup_Field_Order_Bump extends Base_Signup_Field {
*/
public function get_description() {
- return __('Adds a product offer that the customer can click to add to the current cart.', 'wp-ultimo');
+ return __('Adds a product offer that the customer can click to add to the current cart.', 'wp-multisite-waas');
}
/**
@@ -82,7 +82,7 @@ class Signup_Field_Order_Bump extends Base_Signup_Field {
*/
public function get_tooltip() {
- return __('Adds a product offer that the customer can click to add to the current cart.', 'wp-ultimo');
+ return __('Adds a product offer that the customer can click to add to the current cart.', 'wp-multisite-waas');
}
/**
@@ -166,9 +166,9 @@ class Signup_Field_Order_Bump extends Base_Signup_Field {
$editor_fields = [
'product' => [
'type' => 'model',
- 'title' => __('Product', 'wp-ultimo'),
- 'placeholder' => __('e.g. Premium', 'wp-ultimo'),
- 'desc' => __('Select the product that will be presented to the customer as an add-on option.', 'wp-ultimo'),
+ 'title' => __('Product', 'wp-multisite-waas'),
+ 'placeholder' => __('e.g. Premium', 'wp-multisite-waas'),
+ 'desc' => __('Select the product that will be presented to the customer as an add-on option.', 'wp-multisite-waas'),
'tooltip' => '',
'order' => 12,
'html_attr' => [
@@ -182,15 +182,15 @@ class Signup_Field_Order_Bump extends Base_Signup_Field {
'display_product_description' => [
'order' => 13,
'type' => 'toggle',
- 'title' => __('Display Product Description', 'wp-ultimo'),
- 'desc' => __('Toggle to display the product description as well, if one is available.', 'wp-ultimo'),
+ 'title' => __('Display Product Description', 'wp-multisite-waas'),
+ 'desc' => __('Toggle to display the product description as well, if one is available.', 'wp-multisite-waas'),
'value' => 0,
],
'display_product_image' => [
'order' => 14,
'type' => 'toggle',
- 'title' => __('Display Product Image', 'wp-ultimo'),
- 'desc' => __('Toggle to display the product image as well, if one is available.', 'wp-ultimo'),
+ 'title' => __('Display Product Image', 'wp-multisite-waas'),
+ 'desc' => __('Toggle to display the product image as well, if one is available.', 'wp-multisite-waas'),
'value' => 1,
],
];
@@ -202,8 +202,8 @@ class Signup_Field_Order_Bump extends Base_Signup_Field {
// 'fields' => array(
// 'order_bump_template' => array(
// 'type' => 'select',
- // 'title' => __('Layout', 'wp-ultimo'),
- // 'placeholder' => __('Select your Layout', 'wp-ultimo'),
+ // 'title' => __('Layout', 'wp-multisite-waas'),
+ // 'placeholder' => __('Select your Layout', 'wp-multisite-waas'),
// 'options' => array($this, 'get_templates'),
// 'wrapper_classes' => 'wu-flex-grow',
// 'html_attr' => array(
@@ -219,7 +219,7 @@ class Signup_Field_Order_Bump extends Base_Signup_Field {
// 'order' => 99,
// 'wrapper_classes' => 'sm:wu-p-0 sm:wu-block',
// 'classes' => '',
- // 'desc' => sprintf('
%s
', __('Want to add customized order bump templates? See how you can do that here.', 'wp-ultimo')),
+ // 'desc' => sprintf('
%s
', __('Want to add customized order bump templates? See how you can do that here.', 'wp-multisite-waas')),
// );
return $editor_fields;
@@ -247,7 +247,7 @@ class Signup_Field_Order_Bump extends Base_Signup_Field {
$template_class = Field_Templates_Manager::get_instance()->get_template_class('order_bump', $attributes['order_bump_template']);
- $content = $template_class ? $template_class->render_container($attributes) : __('Template does not exist.', 'wp-ultimo');
+ $content = $template_class ? $template_class->render_container($attributes) : __('Template does not exist.', 'wp-multisite-waas');
return [
$attributes['id'] => [
diff --git a/inc/checkout/signup-fields/class-signup-field-order-summary.php b/inc/checkout/signup-fields/class-signup-field-order-summary.php
index 9fc3d73..d8fc13e 100644
--- a/inc/checkout/signup-fields/class-signup-field-order-summary.php
+++ b/inc/checkout/signup-fields/class-signup-field-order-summary.php
@@ -54,7 +54,7 @@ class Signup_Field_Order_Summary extends Base_Signup_Field {
*/
public function get_title() {
- return __('Order Summary', 'wp-ultimo');
+ return __('Order Summary', 'wp-multisite-waas');
}
/**
@@ -67,7 +67,7 @@ class Signup_Field_Order_Summary extends Base_Signup_Field {
*/
public function get_description() {
- return __('Adds a summary table with prices, key subscription dates, discounts, and taxes.', 'wp-ultimo');
+ return __('Adds a summary table with prices, key subscription dates, discounts, and taxes.', 'wp-multisite-waas');
}
/**
@@ -80,7 +80,7 @@ class Signup_Field_Order_Summary extends Base_Signup_Field {
*/
public function get_tooltip() {
- return __('Adds a summary table with prices, key subscription dates, discounts, and taxes.', 'wp-ultimo');
+ return __('Adds a summary table with prices, key subscription dates, discounts, and taxes.', 'wp-multisite-waas');
}
/**
@@ -163,11 +163,11 @@ class Signup_Field_Order_Summary extends Base_Signup_Field {
$editor_fields['table_columns'] = [
'type' => 'select',
- 'title' => __('Table Columns', 'wp-ultimo'),
- 'desc' => __('"Simplified" will condense all discount and tax info into separate rows to keep the table with only two columns. "Display All" adds a discounts and taxes column to each product row.', 'wp-ultimo'),
+ 'title' => __('Table Columns', 'wp-multisite-waas'),
+ 'desc' => __('"Simplified" will condense all discount and tax info into separate rows to keep the table with only two columns. "Display All" adds a discounts and taxes column to each product row.', 'wp-multisite-waas'),
'options' => [
- 'simple' => __('Simplified', 'wp-ultimo'),
- 'full' => __('Display All', 'wp-ultimo'),
+ 'simple' => __('Simplified', 'wp-multisite-waas'),
+ 'full' => __('Display All', 'wp-multisite-waas'),
],
];
@@ -177,8 +177,8 @@ class Signup_Field_Order_Summary extends Base_Signup_Field {
'fields' => [
'order_summary_template' => [
'type' => 'select',
- 'title' => __('Layout', 'wp-ultimo'),
- 'placeholder' => __('Select your Layout', 'wp-ultimo'),
+ 'title' => __('Layout', 'wp-multisite-waas'),
+ 'placeholder' => __('Select your Layout', 'wp-multisite-waas'),
'options' => [$this, 'get_templates'],
'wrapper_classes' => 'wu-flex-grow',
'html_attr' => [
@@ -194,7 +194,7 @@ class Signup_Field_Order_Summary extends Base_Signup_Field {
// 'order' => 99,
// 'wrapper_classes' => 'sm:wu-p-0 sm:wu-block',
// 'classes' => '',
- // 'desc' => sprintf('
%s
', __('Want to add customized order summary templates? See how you can do that here.', 'wp-ultimo')),
+ // 'desc' => sprintf('
%s
', __('Want to add customized order summary templates? See how you can do that here.', 'wp-multisite-waas')),
// );
return $editor_fields;
@@ -221,7 +221,7 @@ class Signup_Field_Order_Summary extends Base_Signup_Field {
$template_class = Field_Templates_Manager::get_instance()->get_template_class('order_summary', $attributes['order_summary_template']);
- $content = $template_class ? $template_class->render_container($attributes) : __('Template does not exist.', 'wp-ultimo');
+ $content = $template_class ? $template_class->render_container($attributes) : __('Template does not exist.', 'wp-multisite-waas');
$checkout_fields[ $attributes['id'] ] = [
'type' => 'note',
diff --git a/inc/checkout/signup-fields/class-signup-field-password.php b/inc/checkout/signup-fields/class-signup-field-password.php
index f356192..8bcf87d 100644
--- a/inc/checkout/signup-fields/class-signup-field-password.php
+++ b/inc/checkout/signup-fields/class-signup-field-password.php
@@ -69,7 +69,7 @@ class Signup_Field_Password extends Base_Signup_Field {
*/
public function get_title() {
- return __('Password', 'wp-ultimo');
+ return __('Password', 'wp-multisite-waas');
}
/**
@@ -82,7 +82,7 @@ class Signup_Field_Password extends Base_Signup_Field {
*/
public function get_description() {
- return __('Adds a password field, with options for enforcing password strength and adding password confirmation field. This password is then used to create the WordPress user.', 'wp-ultimo');
+ return __('Adds a password field, with options for enforcing password strength and adding password confirmation field. This password is then used to create the WordPress user.', 'wp-multisite-waas');
}
/**
@@ -95,7 +95,7 @@ class Signup_Field_Password extends Base_Signup_Field {
*/
public function get_tooltip() {
- return __('Adds a password field, with options for enforcing password strength and adding password confirmation field. This password is then used to create the WordPress user.', 'wp-ultimo');
+ return __('Adds a password field, with options for enforcing password strength and adding password confirmation field. This password is then used to create the WordPress user.', 'wp-multisite-waas');
}
/**
@@ -124,7 +124,7 @@ class Signup_Field_Password extends Base_Signup_Field {
return [
'password_confirm_field' => false,
- 'password_confirm_label' => __('Confirm Password', 'wp-ultimo'),
+ 'password_confirm_label' => __('Confirm Password', 'wp-multisite-waas'),
];
}
@@ -168,14 +168,14 @@ class Signup_Field_Password extends Base_Signup_Field {
return [
'password_strength_meter' => [
'type' => 'toggle',
- 'title' => __('Display Password Strength Meter', 'wp-ultimo'),
- 'desc' => __('Adds a password strength meter below the password field. Enabling this option also enforces passwords to be strong.', 'wp-ultimo'),
+ 'title' => __('Display Password Strength Meter', 'wp-multisite-waas'),
+ 'desc' => __('Adds a password strength meter below the password field. Enabling this option also enforces passwords to be strong.', 'wp-multisite-waas'),
'value' => 1,
],
'password_confirm_field' => [
'type' => 'toggle',
- 'title' => __('Display Password Confirm Field', 'wp-ultimo'),
- 'desc' => __('Adds a "Confirm your Password" field below the default password field to reduce the chance or making a mistake.', 'wp-ultimo'),
+ 'title' => __('Display Password Confirm Field', 'wp-multisite-waas'),
+ 'desc' => __('Adds a "Confirm your Password" field below the default password field to reduce the chance or making a mistake.', 'wp-multisite-waas'),
'value' => 1,
],
];
diff --git a/inc/checkout/signup-fields/class-signup-field-payment.php b/inc/checkout/signup-fields/class-signup-field-payment.php
index ea46890..5d0874b 100644
--- a/inc/checkout/signup-fields/class-signup-field-payment.php
+++ b/inc/checkout/signup-fields/class-signup-field-payment.php
@@ -56,7 +56,7 @@ class Signup_Field_Payment extends Base_Signup_Field {
*/
public function get_title() {
- return __('Payment', 'wp-ultimo');
+ return __('Payment', 'wp-multisite-waas');
}
/**
@@ -69,7 +69,7 @@ class Signup_Field_Payment extends Base_Signup_Field {
*/
public function get_description() {
- return __('Adds the payment options and the additional fields required to complete a purchase (e.g. credit card field).', 'wp-ultimo');
+ return __('Adds the payment options and the additional fields required to complete a purchase (e.g. credit card field).', 'wp-multisite-waas');
}
/**
@@ -82,7 +82,7 @@ class Signup_Field_Payment extends Base_Signup_Field {
*/
public function get_tooltip() {
- return __('Adds the payment options and the additional fields required to complete a purchase (e.g. credit card field).', 'wp-ultimo');
+ return __('Adds the payment options and the additional fields required to complete a purchase (e.g. credit card field).', 'wp-multisite-waas');
}
/**
@@ -190,7 +190,7 @@ class Signup_Field_Payment extends Base_Signup_Field {
$fields['auto_renew'] = [
'type' => 'toggle',
'id' => 'auto_renew',
- 'name' => __('Auto-renew', 'wp-ultimo'),
+ 'name' => __('Auto-renew', 'wp-multisite-waas'),
'tooltip' => '',
'value' => '1',
'html_attr' => [
diff --git a/inc/checkout/signup-fields/class-signup-field-period-selection.php b/inc/checkout/signup-fields/class-signup-field-period-selection.php
index 9888e4f..ccd4bd4 100644
--- a/inc/checkout/signup-fields/class-signup-field-period-selection.php
+++ b/inc/checkout/signup-fields/class-signup-field-period-selection.php
@@ -54,7 +54,7 @@ class Signup_Field_Period_Selection extends Base_Signup_Field {
*/
public function get_title() {
- return __('Period Select', 'wp-ultimo');
+ return __('Period Select', 'wp-multisite-waas');
}
/**
@@ -67,7 +67,7 @@ class Signup_Field_Period_Selection extends Base_Signup_Field {
*/
public function get_description() {
- return __('Adds a period selector, that allows customers to switch between different billing periods.', 'wp-ultimo');
+ return __('Adds a period selector, that allows customers to switch between different billing periods.', 'wp-multisite-waas');
}
/**
@@ -80,7 +80,7 @@ class Signup_Field_Period_Selection extends Base_Signup_Field {
*/
public function get_tooltip() {
- return __('Adds a period selector, that allows customers to switch between different billing periods.', 'wp-ultimo');
+ return __('Adds a period selector, that allows customers to switch between different billing periods.', 'wp-multisite-waas');
}
/**
@@ -134,7 +134,7 @@ class Signup_Field_Period_Selection extends Base_Signup_Field {
return [
'id' => 'period_selection',
- 'name' => __('Plan Duration Switch', 'wp-ultimo'),
+ 'name' => __('Plan Duration Switch', 'wp-multisite-waas'),
'required' => true,
];
}
@@ -169,8 +169,8 @@ class Signup_Field_Period_Selection extends Base_Signup_Field {
'fields' => [
'period_selection_template' => [
'type' => 'select',
- 'title' => __('Period Selector Template', 'wp-ultimo'),
- 'placeholder' => __('Select your Template', 'wp-ultimo'),
+ 'title' => __('Period Selector Template', 'wp-multisite-waas'),
+ 'placeholder' => __('Select your Template', 'wp-multisite-waas'),
'options' => [$this, 'get_template_options'],
'wrapper_classes' => 'wu-flex-grow',
'html_attr' => [
@@ -182,14 +182,14 @@ class Signup_Field_Period_Selection extends Base_Signup_Field {
$editor_fields['period_options_header'] = [
'type' => 'small-header',
- 'title' => __('Options', 'wp-ultimo'),
- 'desc' => __('Add different options below. These need to match your product price variations.', 'wp-ultimo'),
+ 'title' => __('Options', 'wp-multisite-waas'),
+ 'desc' => __('Add different options below. These need to match your product price variations.', 'wp-multisite-waas'),
'order' => 90,
];
$editor_fields['period_options_empty'] = [
'type' => 'note',
- 'desc' => __('Add the first option using the button below.', 'wp-ultimo'),
+ 'desc' => __('Add the first option using the button below.', 'wp-multisite-waas'),
'classes' => 'wu-text-gray-600 wu-text-xs wu-text-center wu-w-full',
'wrapper_classes' => 'wu-bg-gray-100 wu-items-end',
'order' => 90.5,
@@ -212,12 +212,12 @@ class Signup_Field_Period_Selection extends Base_Signup_Field {
'fields' => [
'period_options_remove' => [
'type' => 'note',
- 'desc' => sprintf(' period_options.splice(index, 1)">', __('Remove', 'wp-ultimo')),
+ 'desc' => sprintf(' period_options.splice(index, 1)">', __('Remove', 'wp-multisite-waas')),
'wrapper_classes' => 'wu-absolute wu-top-0 wu-right-0',
],
'period_options_duration' => [
'type' => 'number',
- 'title' => __('Duration', 'wp-ultimo'),
+ 'title' => __('Duration', 'wp-multisite-waas'),
'placeholder' => '',
'wrapper_classes' => 'wu-w-2/12',
'min' => 1,
@@ -237,16 +237,16 @@ class Signup_Field_Period_Selection extends Base_Signup_Field {
'v-bind:name' => '"period_options[" + index + "][duration_unit]"',
],
'options' => [
- 'day' => __('Days', 'wp-ultimo'),
- 'week' => __('Weeks', 'wp-ultimo'),
- 'month' => __('Months', 'wp-ultimo'),
- 'year' => __('Years', 'wp-ultimo'),
+ 'day' => __('Days', 'wp-multisite-waas'),
+ 'week' => __('Weeks', 'wp-multisite-waas'),
+ 'month' => __('Months', 'wp-multisite-waas'),
+ 'year' => __('Years', 'wp-multisite-waas'),
],
],
'period_options_label' => [
'type' => 'text',
- 'title' => __('Label', 'wp-ultimo'),
- 'placeholder' => __('e.g. Monthly', 'wp-ultimo'),
+ 'title' => __('Label', 'wp-multisite-waas'),
+ 'placeholder' => __('e.g. Monthly', 'wp-multisite-waas'),
'wrapper_classes' => 'wu-w-5/12',
'html_attr' => [
'v-model' => 'period_option.label',
@@ -259,7 +259,7 @@ class Signup_Field_Period_Selection extends Base_Signup_Field {
$editor_fields['repeat'] = [
'order' => 92,
'type' => 'submit',
- 'title' => __('+ Add option', 'wp-ultimo'),
+ 'title' => __('+ Add option', 'wp-multisite-waas'),
'classes' => 'wu-uppercase wu-text-2xs wu-text-blue-700 wu-border-none wu-bg-transparent wu-font-bold wu-text-right wu-w-full wu-cursor-pointer',
'wrapper_classes' => 'wu-bg-gray-100 wu-items-end',
'wrapper_html_attr' => [
@@ -297,7 +297,7 @@ class Signup_Field_Period_Selection extends Base_Signup_Field {
$template_class = Field_Templates_Manager::get_instance()->get_template_class('period_selection', $attributes['period_selection_template']);
- $content = $template_class ? $template_class->render_container($attributes) : __('Template does not exist.', 'wp-ultimo');
+ $content = $template_class ? $template_class->render_container($attributes) : __('Template does not exist.', 'wp-multisite-waas');
$checkout_fields = [];
diff --git a/inc/checkout/signup-fields/class-signup-field-pricing-table.php b/inc/checkout/signup-fields/class-signup-field-pricing-table.php
index 7cea9f6..78fd725 100644
--- a/inc/checkout/signup-fields/class-signup-field-pricing-table.php
+++ b/inc/checkout/signup-fields/class-signup-field-pricing-table.php
@@ -54,7 +54,7 @@ class Signup_Field_Pricing_Table extends Base_Signup_Field {
*/
public function get_title() {
- return __('Pricing Table', 'wp-ultimo');
+ return __('Pricing Table', 'wp-multisite-waas');
}
/**
@@ -67,7 +67,7 @@ class Signup_Field_Pricing_Table extends Base_Signup_Field {
*/
public function get_description() {
- return __('Adds a pricing table section that customers can use to choose a plan to subscribe to.', 'wp-ultimo');
+ return __('Adds a pricing table section that customers can use to choose a plan to subscribe to.', 'wp-multisite-waas');
}
/**
@@ -80,7 +80,7 @@ class Signup_Field_Pricing_Table extends Base_Signup_Field {
*/
public function get_tooltip() {
- return __('Adds a pricing table section that customers can use to choose a plan to subscribe to.', 'wp-ultimo');
+ return __('Adds a pricing table section that customers can use to choose a plan to subscribe to.', 'wp-multisite-waas');
}
/**
@@ -137,7 +137,7 @@ class Signup_Field_Pricing_Table extends Base_Signup_Field {
return [
'id' => 'pricing_table',
- 'name' => __('Plan Selection', 'wp-ultimo'),
+ 'name' => __('Plan Selection', 'wp-multisite-waas'),
'required' => true,
];
}
@@ -167,9 +167,9 @@ class Signup_Field_Pricing_Table extends Base_Signup_Field {
$editor_fields['pricing_table_products'] = [
'type' => 'model',
- 'title' => __('Products', 'wp-ultimo'),
- 'placeholder' => __('e.g. Premium', 'wp-ultimo'),
- 'desc' => __('Be sure to add the products in the order you want them to show up.', 'wp-ultimo'),
+ 'title' => __('Products', 'wp-multisite-waas'),
+ 'placeholder' => __('e.g. Premium', 'wp-multisite-waas'),
+ 'desc' => __('Be sure to add the products in the order you want them to show up.', 'wp-multisite-waas'),
'tooltip' => '',
'order' => 20,
'html_attr' => [
@@ -184,8 +184,8 @@ class Signup_Field_Pricing_Table extends Base_Signup_Field {
$editor_fields['force_different_durations'] = [
'type' => 'toggle',
- 'title' => __('Force Different Durations', 'wp-ultimo'),
- 'desc' => __('Check this option to force the display of plans with different recurring durations.', 'wp-ultimo'),
+ 'title' => __('Force Different Durations', 'wp-multisite-waas'),
+ 'desc' => __('Check this option to force the display of plans with different recurring durations.', 'wp-multisite-waas'),
'tooltip' => '',
'value' => 0,
'order' => 22,
@@ -196,9 +196,9 @@ class Signup_Field_Pricing_Table extends Base_Signup_Field {
$editor_fields['hide_pricing_table_when_pre_selected'] = [
'type' => 'toggle',
- 'title' => __('Hide when Pre-Selected', 'wp-ultimo'),
- 'desc' => __('Prevent customers from seeing this field when a plan was already selected via the URL.', 'wp-ultimo'),
- 'tooltip' => __('If the pricing table field is the only field in the current step, the step will be skipped.', 'wp-ultimo'),
+ 'title' => __('Hide when Pre-Selected', 'wp-multisite-waas'),
+ 'desc' => __('Prevent customers from seeing this field when a plan was already selected via the URL.', 'wp-multisite-waas'),
+ 'tooltip' => __('If the pricing table field is the only field in the current step, the step will be skipped.', 'wp-multisite-waas'),
'value' => 0,
'order' => 24,
'html_attr' => [
@@ -213,8 +213,8 @@ class Signup_Field_Pricing_Table extends Base_Signup_Field {
'fields' => [
'pricing_table_template' => [
'type' => 'select',
- 'title' => __('Pricing Table Template', 'wp-ultimo'),
- 'placeholder' => __('Select your Template', 'wp-ultimo'),
+ 'title' => __('Pricing Table Template', 'wp-multisite-waas'),
+ 'placeholder' => __('Select your Template', 'wp-multisite-waas'),
'options' => [$this, 'get_pricing_table_templates'],
'wrapper_classes' => 'wu-flex-grow',
'html_attr' => [
@@ -230,7 +230,7 @@ class Signup_Field_Pricing_Table extends Base_Signup_Field {
// 'order' => 99,
// 'wrapper_classes' => 'sm:wu-p-0 sm:wu-block',
// 'classes' => '',
- // 'desc' => sprintf('
%s
', __('Want to add customized pricing table templates? See how you can do that here.', 'wp-ultimo')),
+ // 'desc' => sprintf('
%s
', __('Want to add customized pricing table templates? See how you can do that here.', 'wp-multisite-waas')),
// );
return $editor_fields;
@@ -277,7 +277,7 @@ class Signup_Field_Pricing_Table extends Base_Signup_Field {
$template_class = Field_Templates_Manager::get_instance()->get_template_class('pricing_table', $attributes['pricing_table_template']);
- $content = $template_class ? $template_class->render_container($template_attributes) : __('Template does not exist.', 'wp-ultimo');
+ $content = $template_class ? $template_class->render_container($template_attributes) : __('Template does not exist.', 'wp-multisite-waas');
$checkout_fields = [];
diff --git a/inc/checkout/signup-fields/class-signup-field-products.php b/inc/checkout/signup-fields/class-signup-field-products.php
index ca2f49e..a9ca500 100644
--- a/inc/checkout/signup-fields/class-signup-field-products.php
+++ b/inc/checkout/signup-fields/class-signup-field-products.php
@@ -53,7 +53,7 @@ class Signup_Field_Products extends Base_Signup_Field {
*/
public function get_title() {
- return __('Product', 'wp-ultimo');
+ return __('Product', 'wp-multisite-waas');
}
/**
@@ -66,7 +66,7 @@ class Signup_Field_Products extends Base_Signup_Field {
*/
public function get_description() {
- return __('Hidden field used to pre-select products. This is useful when you have a signup page for specific offering/bundles and do not want your customers to be able to choose plans and products manually.', 'wp-ultimo');
+ return __('Hidden field used to pre-select products. This is useful when you have a signup page for specific offering/bundles and do not want your customers to be able to choose plans and products manually.', 'wp-multisite-waas');
}
/**
@@ -79,7 +79,7 @@ class Signup_Field_Products extends Base_Signup_Field {
*/
public function get_tooltip() {
- return __('Hidden field used to pre-select products. This is useful when you have a signup page for specific offering/bundles and do not want your customers to be able to choose plans and products manually.', 'wp-ultimo');
+ return __('Hidden field used to pre-select products. This is useful when you have a signup page for specific offering/bundles and do not want your customers to be able to choose plans and products manually.', 'wp-multisite-waas');
}
/**
@@ -130,7 +130,7 @@ class Signup_Field_Products extends Base_Signup_Field {
public function force_attributes() {
return [
- 'name' => __('Pre-selected Products', 'wp-ultimo'),
+ 'name' => __('Pre-selected Products', 'wp-multisite-waas'),
'id' => 'products',
];
}
@@ -146,9 +146,9 @@ class Signup_Field_Products extends Base_Signup_Field {
return [
'products' => [
'type' => 'model',
- 'title' => __('Products', 'wp-ultimo'),
- 'placeholder' => __('Products', 'wp-ultimo'),
- 'desc' => __('Use this field to pre-select products. This is useful when you have a signup page for specific offering/bundles and do not want your customers to be able to choose plans and other products manually.', 'wp-ultimo'),
+ 'title' => __('Products', 'wp-multisite-waas'),
+ 'placeholder' => __('Products', 'wp-multisite-waas'),
+ 'desc' => __('Use this field to pre-select products. This is useful when you have a signup page for specific offering/bundles and do not want your customers to be able to choose plans and other products manually.', 'wp-multisite-waas'),
'tooltip' => '',
'html_attr' => [
'data-model' => 'product',
diff --git a/inc/checkout/signup-fields/class-signup-field-select.php b/inc/checkout/signup-fields/class-signup-field-select.php
index 959069f..ad484a7 100644
--- a/inc/checkout/signup-fields/class-signup-field-select.php
+++ b/inc/checkout/signup-fields/class-signup-field-select.php
@@ -55,7 +55,7 @@ class Signup_Field_Select extends Base_Signup_Field {
*/
public function get_title() {
- return __('Select', 'wp-ultimo');
+ return __('Select', 'wp-multisite-waas');
}
/**
@@ -68,7 +68,7 @@ class Signup_Field_Select extends Base_Signup_Field {
*/
public function get_description() {
- return __('Adds a select field.', 'wp-ultimo');
+ return __('Adds a select field.', 'wp-multisite-waas');
}
/**
@@ -81,7 +81,7 @@ class Signup_Field_Select extends Base_Signup_Field {
*/
public function get_tooltip() {
- return __('Adds a select field.', 'wp-ultimo');
+ return __('Adds a select field.', 'wp-multisite-waas');
}
/**
@@ -156,13 +156,13 @@ class Signup_Field_Select extends Base_Signup_Field {
$editor_fields['options_header'] = [
'order' => 12,
'type' => 'small-header',
- 'title' => __('Options', 'wp-ultimo'),
- 'desc' => __('Add different options below. The first option is used as the default.', 'wp-ultimo'),
+ 'title' => __('Options', 'wp-multisite-waas'),
+ 'desc' => __('Add different options below. The first option is used as the default.', 'wp-multisite-waas'),
];
$editor_fields['options_empty'] = [
'type' => 'note',
- 'desc' => __('Add the first option using the button below.', 'wp-ultimo'),
+ 'desc' => __('Add the first option using the button below.', 'wp-multisite-waas'),
'classes' => 'wu-text-gray-600 wu-text-xs wu-text-center wu-w-full',
'wrapper_classes' => 'wu-bg-gray-100 wu-items-end',
'order' => 13,
@@ -185,13 +185,13 @@ class Signup_Field_Select extends Base_Signup_Field {
'fields' => [
'options_remove' => [
'type' => 'note',
- 'desc' => sprintf(' options.splice(index, 1)">', __('Remove', 'wp-ultimo')),
+ 'desc' => sprintf(' options.splice(index, 1)">', __('Remove', 'wp-multisite-waas')),
'wrapper_classes' => 'wu-absolute wu-top-0 wu-right-0',
],
'options_key' => [
'type' => 'text',
- 'title' => __('Option Value', 'wp-ultimo'),
- 'placeholder' => __('e.g. option1', 'wp-ultimo'),
+ 'title' => __('Option Value', 'wp-multisite-waas'),
+ 'placeholder' => __('e.g. option1', 'wp-multisite-waas'),
'wrapper_classes' => 'wu-w-1/2 wu-mr-2',
'html_attr' => [
'v-model' => 'option.key',
@@ -201,8 +201,8 @@ class Signup_Field_Select extends Base_Signup_Field {
],
'options_label' => [
'type' => 'text',
- 'title' => __('Label', 'wp-ultimo'),
- 'placeholder' => __('e.g. Option 1', 'wp-ultimo'),
+ 'title' => __('Label', 'wp-multisite-waas'),
+ 'placeholder' => __('e.g. Option 1', 'wp-multisite-waas'),
'wrapper_classes' => 'wu-w-1/2 wu-ml-2',
'html_attr' => [
'v-model' => 'option.label',
@@ -215,7 +215,7 @@ class Signup_Field_Select extends Base_Signup_Field {
$editor_fields['repeat_select_option'] = [
'order' => 16,
'type' => 'submit',
- 'title' => __('+ Add option', 'wp-ultimo'),
+ 'title' => __('+ Add option', 'wp-multisite-waas'),
'classes' => 'wu-uppercase wu-text-2xs wu-text-blue-700 wu-border-none wu-bg-transparent wu-font-bold wu-text-right wu-w-full wu-cursor-pointer',
'wrapper_classes' => 'wu-bg-gray-100 wu-items-end',
'wrapper_html_attr' => [
diff --git a/inc/checkout/signup-fields/class-signup-field-shortcode.php b/inc/checkout/signup-fields/class-signup-field-shortcode.php
index e5d77d6..eb60c21 100644
--- a/inc/checkout/signup-fields/class-signup-field-shortcode.php
+++ b/inc/checkout/signup-fields/class-signup-field-shortcode.php
@@ -53,7 +53,7 @@ class Signup_Field_Shortcode extends Base_Signup_Field {
*/
public function get_title() {
- return __('Shortcode', 'wp-ultimo');
+ return __('Shortcode', 'wp-multisite-waas');
}
/**
@@ -66,7 +66,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 Multisite WaaS 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-multisite-waas');
}
/**
@@ -79,7 +79,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 Multisite WaaS 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-multisite-waas');
}
/**
@@ -133,7 +133,7 @@ class Signup_Field_Shortcode extends Base_Signup_Field {
public function force_attributes() {
return [
- 'name' => __('Shortcode', 'wp-ultimo'),
+ 'name' => __('Shortcode', 'wp-multisite-waas'),
];
}
@@ -148,9 +148,9 @@ class Signup_Field_Shortcode extends Base_Signup_Field {
return [
'shortcode_code' => [
'type' => 'text',
- 'title' => __('Shortcode', 'wp-ultimo'),
- 'placeholder' => __('e.g. [shortcode]', 'wp-ultimo'),
- 'desc' => __('Please, enter the full shortcode, including [].', 'wp-ultimo'),
+ 'title' => __('Shortcode', 'wp-multisite-waas'),
+ 'placeholder' => __('e.g. [shortcode]', 'wp-multisite-waas'),
+ 'desc' => __('Please, enter the full shortcode, including [].', 'wp-multisite-waas'),
],
];
}
diff --git a/inc/checkout/signup-fields/class-signup-field-site-title.php b/inc/checkout/signup-fields/class-signup-field-site-title.php
index 4bfa42a..73e770a 100644
--- a/inc/checkout/signup-fields/class-signup-field-site-title.php
+++ b/inc/checkout/signup-fields/class-signup-field-site-title.php
@@ -66,7 +66,7 @@ class Signup_Field_Site_Title extends Base_Signup_Field {
*/
public function get_title() {
- return __('Site Title', 'wp-ultimo');
+ return __('Site Title', 'wp-multisite-waas');
}
/**
@@ -79,7 +79,7 @@ class Signup_Field_Site_Title extends Base_Signup_Field {
*/
public function get_description() {
- return __('Adds a Site Title field. This value is used to set the site title for the site being created.', 'wp-ultimo');
+ return __('Adds a Site Title field. This value is used to set the site title for the site being created.', 'wp-multisite-waas');
}
/**
@@ -92,7 +92,7 @@ class Signup_Field_Site_Title extends Base_Signup_Field {
*/
public function get_tooltip() {
- return __('Adds a Site Title field. This value is used to set the site title for the site being created.', 'wp-ultimo');
+ return __('Adds a Site Title field. This value is used to set the site title for the site being created.', 'wp-multisite-waas');
}
/**
@@ -164,8 +164,8 @@ class Signup_Field_Site_Title extends Base_Signup_Field {
return [
'auto_generate_site_title' => [
'type' => 'toggle',
- 'title' => __('Auto-generate?', 'wp-ultimo'),
- 'desc' => __('Check this option to auto-generate this field based on the username of the customer.', 'wp-ultimo'),
+ 'title' => __('Auto-generate?', 'wp-multisite-waas'),
+ 'desc' => __('Check this option to auto-generate this field based on the username of the customer.', 'wp-multisite-waas'),
'tooltip' => '',
'value' => 0,
'html_attr' => [
diff --git a/inc/checkout/signup-fields/class-signup-field-site-url.php b/inc/checkout/signup-fields/class-signup-field-site-url.php
index 3c9c05c..645e411 100644
--- a/inc/checkout/signup-fields/class-signup-field-site-url.php
+++ b/inc/checkout/signup-fields/class-signup-field-site-url.php
@@ -63,7 +63,7 @@ class Signup_Field_Site_Url extends Base_Signup_Field {
*/
public function get_title() {
- return __('Site URL', 'wp-ultimo');
+ return __('Site URL', 'wp-multisite-waas');
}
/**
@@ -76,7 +76,7 @@ class Signup_Field_Site_Url extends Base_Signup_Field {
*/
public function get_description() {
- return __('Adds a Site URL field. This is used to set the URL of the site being created.', 'wp-ultimo');
+ return __('Adds a Site URL field. This is used to set the URL of the site being created.', 'wp-multisite-waas');
}
/**
@@ -89,7 +89,7 @@ class Signup_Field_Site_Url extends Base_Signup_Field {
*/
public function get_tooltip() {
- return __('Adds a Site URL field. This is used to set the URL of the site being created.', 'wp-ultimo');
+ return __('Adds a Site URL field. This is used to set the URL of the site being created.', 'wp-multisite-waas');
}
/**
@@ -169,8 +169,8 @@ class Signup_Field_Site_Url extends Base_Signup_Field {
'auto_generate_site_url' => [
'order' => 12,
'type' => 'toggle',
- 'title' => __('Auto-generate', 'wp-ultimo'),
- 'desc' => __('Check this option to auto-generate this field based on the username of the customer.', 'wp-ultimo'),
+ 'title' => __('Auto-generate', 'wp-multisite-waas'),
+ 'desc' => __('Check this option to auto-generate this field based on the username of the customer.', 'wp-multisite-waas'),
'tooltip' => '',
'value' => 0,
'html_attr' => [
@@ -180,8 +180,8 @@ class Signup_Field_Site_Url extends Base_Signup_Field {
'display_field_attachments' => [
'order' => 18,
'type' => 'toggle',
- 'title' => __('Display URL field attachments', 'wp-ultimo'),
- 'desc' => __('Adds the prefix and suffix blocks to the URL field.', 'wp-ultimo'),
+ 'title' => __('Display URL field attachments', 'wp-multisite-waas'),
+ 'desc' => __('Adds the prefix and suffix blocks to the URL field.', 'wp-multisite-waas'),
'tooltip' => '',
'value' => 1,
'tab' => 'content',
@@ -195,8 +195,8 @@ class Signup_Field_Site_Url extends Base_Signup_Field {
'display_url_preview' => [
'order' => 19,
'type' => 'toggle',
- 'title' => __('Display URL preview block', 'wp-ultimo'),
- 'desc' => __('Adds a preview block that shows the final URL.', 'wp-ultimo'),
+ 'title' => __('Display URL preview block', 'wp-multisite-waas'),
+ 'desc' => __('Adds a preview block that shows the final URL.', 'wp-multisite-waas'),
'tooltip' => '',
'value' => 1,
'tab' => 'content',
@@ -210,8 +210,8 @@ class Signup_Field_Site_Url extends Base_Signup_Field {
'enable_domain_selection' => [
'order' => 20,
'type' => 'toggle',
- 'title' => __('Enable Domain Selection', 'wp-ultimo'),
- 'desc' => __('Offer different domain options to your customers to choose from.', 'wp-ultimo'),
+ 'title' => __('Enable Domain Selection', 'wp-multisite-waas'),
+ 'desc' => __('Offer different domain options to your customers to choose from.', 'wp-multisite-waas'),
'tooltip' => '',
'value' => 0,
'tab' => 'content',
@@ -226,9 +226,9 @@ class Signup_Field_Site_Url extends Base_Signup_Field {
'available_domains' => [
'order' => 30,
'type' => 'textarea',
- 'title' => __('Available Domains', 'wp-ultimo'),
+ 'title' => __('Available Domains', 'wp-multisite-waas'),
'desc' => '',
- 'desc' => __('Enter one domain option per line.', 'wp-ultimo'),
+ 'desc' => __('Enter one domain option per line.', 'wp-multisite-waas'),
'value' => $current_site->domain . PHP_EOL,
'tab' => 'content',
'wrapper_html_attr' => [
@@ -250,8 +250,8 @@ class Signup_Field_Site_Url extends Base_Signup_Field {
public function get_url_preview_templates() {
$templates = [
- 'legacy/signup/steps/step-domain-url-preview' => __('New URL Preview', 'wp-ultimo'),
- // 'legacy/signup/steps/step-domain-url-preview' => __('Legacy Template', 'wp-ultimo'),
+ 'legacy/signup/steps/step-domain-url-preview' => __('New URL Preview', 'wp-multisite-waas'),
+ // 'legacy/signup/steps/step-domain-url-preview' => __('Legacy Template', 'wp-multisite-waas'),
];
return apply_filters('wu_get_pricing_table_templates', $templates);
@@ -331,7 +331,7 @@ class Signup_Field_Site_Url extends Base_Signup_Field {
$options = $this->get_domain_options($attributes['available_domains']);
$checkout_fields['site_domain'] = [
- 'name' => __('Domain', 'wp-ultimo'),
+ 'name' => __('Domain', 'wp-multisite-waas'),
'options' => $options,
'wrapper_classes' => wu_get_isset($attributes, 'wrapper_element_classes', ''),
'classes' => wu_get_isset($attributes, 'element_classes', ''),
diff --git a/inc/checkout/signup-fields/class-signup-field-steps.php b/inc/checkout/signup-fields/class-signup-field-steps.php
index 8d81b2f..4db9596 100644
--- a/inc/checkout/signup-fields/class-signup-field-steps.php
+++ b/inc/checkout/signup-fields/class-signup-field-steps.php
@@ -54,7 +54,7 @@ class Signup_Field_Steps extends Base_Signup_Field {
*/
public function get_title() {
- return __('Steps', 'wp-ultimo');
+ return __('Steps', 'wp-multisite-waas');
}
/**
@@ -67,7 +67,7 @@ class Signup_Field_Steps extends Base_Signup_Field {
*/
public function get_description() {
- return __('Adds a list of the steps.', 'wp-ultimo');
+ return __('Adds a list of the steps.', 'wp-multisite-waas');
}
/**
@@ -80,7 +80,7 @@ class Signup_Field_Steps extends Base_Signup_Field {
*/
public function get_tooltip() {
- return __('Adds a list of the steps.', 'wp-ultimo');
+ return __('Adds a list of the steps.', 'wp-multisite-waas');
}
/**
@@ -163,8 +163,8 @@ class Signup_Field_Steps extends Base_Signup_Field {
'fields' => [
'steps_template' => [
'type' => 'select',
- 'title' => __('Layout', 'wp-ultimo'),
- 'placeholder' => __('Select your Layout', 'wp-ultimo'),
+ 'title' => __('Layout', 'wp-multisite-waas'),
+ 'placeholder' => __('Select your Layout', 'wp-multisite-waas'),
'options' => [$this, 'get_templates'],
'wrapper_classes' => 'wu-flex-grow',
'html_attr' => [
@@ -180,7 +180,7 @@ class Signup_Field_Steps extends Base_Signup_Field {
// 'order' => 99,
// 'wrapper_classes' => 'sm:wu-p-0 sm:wu-block',
// 'classes' => '',
- // 'desc' => sprintf('
%s
', __('Want to add customized steps templates? See how you can do that here.', 'wp-ultimo')),
+ // 'desc' => sprintf('
%s
', __('Want to add customized steps templates? See how you can do that here.', 'wp-multisite-waas')),
// );
return $editor_fields;
@@ -207,7 +207,7 @@ class Signup_Field_Steps extends Base_Signup_Field {
$template_class = Field_Templates_Manager::get_instance()->get_template_class('steps', $attributes['steps_template']);
- $content = $template_class ? $template_class->render_container($attributes) : __('Template does not exist.', 'wp-ultimo');
+ $content = $template_class ? $template_class->render_container($attributes) : __('Template does not exist.', 'wp-multisite-waas');
return [
$attributes['id'] => [
diff --git a/inc/checkout/signup-fields/class-signup-field-submit-button.php b/inc/checkout/signup-fields/class-signup-field-submit-button.php
index a14ceb8..bd5c36c 100644
--- a/inc/checkout/signup-fields/class-signup-field-submit-button.php
+++ b/inc/checkout/signup-fields/class-signup-field-submit-button.php
@@ -55,7 +55,7 @@ class Signup_Field_Submit_Button extends Base_Signup_Field {
*/
public function get_title() {
- return __('Submit Button', 'wp-ultimo');
+ return __('Submit Button', 'wp-multisite-waas');
}
/**
@@ -68,7 +68,7 @@ class Signup_Field_Submit_Button extends Base_Signup_Field {
*/
public function get_description() {
- return __('Adds a submit button. This is required to finalize single-step checkout forms or to navigate to the next step on multi-step checkout forms.', 'wp-ultimo');
+ return __('Adds a submit button. This is required to finalize single-step checkout forms or to navigate to the next step on multi-step checkout forms.', 'wp-multisite-waas');
}
/**
@@ -81,7 +81,7 @@ class Signup_Field_Submit_Button extends Base_Signup_Field {
*/
public function get_tooltip() {
- return __('Adds a submit button. This is required to finalize single-step checkout forms or to navigate to the next step on multi-step checkout forms.', 'wp-ultimo');
+ return __('Adds a submit button. This is required to finalize single-step checkout forms or to navigate to the next step on multi-step checkout forms.', 'wp-multisite-waas');
}
/**
@@ -110,7 +110,7 @@ class Signup_Field_Submit_Button extends Base_Signup_Field {
return [
'enable_go_back_button' => false,
- 'back_button_label' => __('← Go Back', 'wp-ultimo'),
+ 'back_button_label' => __('← Go Back', 'wp-multisite-waas'),
];
}
@@ -150,8 +150,8 @@ class Signup_Field_Submit_Button extends Base_Signup_Field {
return [
'enable_go_back_button' => [
'type' => 'toggle',
- 'title' => __('Add "Go Back" button', 'wp-ultimo'),
- 'desc' => __('Enable this option to add a "Go Back" button. Useful for multi-step checkout forms.', 'wp-ultimo'),
+ 'title' => __('Add "Go Back" button', 'wp-multisite-waas'),
+ 'desc' => __('Enable this option to add a "Go Back" button. Useful for multi-step checkout forms.', 'wp-multisite-waas'),
'tooltip' => '',
'value' => 0,
'html_attr' => [
@@ -160,10 +160,10 @@ class Signup_Field_Submit_Button extends Base_Signup_Field {
],
'back_button_label' => [
'type' => 'text',
- 'title' => __('"Go Back" Button Label', 'wp-ultimo'),
- 'desc' => __('Value to be used as the "Go Back" label.', 'wp-ultimo'),
- 'placeholder' => __('e.g. ← Go Back', 'wp-ultimo'),
- 'value' => __('← Go Back', 'wp-ultimo'),
+ 'title' => __('"Go Back" Button Label', 'wp-multisite-waas'),
+ 'desc' => __('Value to be used as the "Go Back" label.', 'wp-multisite-waas'),
+ 'placeholder' => __('e.g. ← Go Back', 'wp-multisite-waas'),
+ 'value' => __('← Go Back', 'wp-multisite-waas'),
'wrapper_html_attr' => [
'v-cloak' => '1',
'v-show' => 'enable_go_back_button',
diff --git a/inc/checkout/signup-fields/class-signup-field-template-selection.php b/inc/checkout/signup-fields/class-signup-field-template-selection.php
index a393457..85e46dd 100644
--- a/inc/checkout/signup-fields/class-signup-field-template-selection.php
+++ b/inc/checkout/signup-fields/class-signup-field-template-selection.php
@@ -55,7 +55,7 @@ class Signup_Field_Template_Selection extends Base_Signup_Field {
*/
public function get_title() {
- return __('Templates', 'wp-ultimo');
+ return __('Templates', 'wp-multisite-waas');
}
/**
@@ -68,7 +68,7 @@ class Signup_Field_Template_Selection extends Base_Signup_Field {
*/
public function get_description() {
- return __('Adds a template selection section. This allows the customer to choose a pre-built site to be used as a template for the site being currently created.', 'wp-ultimo');
+ return __('Adds a template selection section. This allows the customer to choose a pre-built site to be used as a template for the site being currently created.', 'wp-multisite-waas');
}
/**
@@ -81,7 +81,7 @@ class Signup_Field_Template_Selection extends Base_Signup_Field {
*/
public function get_tooltip() {
- return __('Adds a template selection section. This allows the customer to choose a pre-built site to be used as a template for the site being currently created.', 'wp-ultimo');
+ return __('Adds a template selection section. This allows the customer to choose a pre-built site to be used as a template for the site being currently created.', 'wp-multisite-waas');
}
/**
@@ -139,7 +139,7 @@ class Signup_Field_Template_Selection extends Base_Signup_Field {
return [
'id' => 'template_selection',
- 'name' => __('Template Selection', 'wp-ultimo'),
+ 'name' => __('Template Selection', 'wp-multisite-waas'),
'required' => true,
];
}
@@ -173,8 +173,8 @@ class Signup_Field_Template_Selection extends Base_Signup_Field {
$editor_fields['template_selection_type'] = [
'type' => 'select',
- 'title' => __('Available templates', 'wp-ultimo'),
- 'desc' => __('How do you want to choose available which templates will be available.', 'wp-ultimo'),
+ 'title' => __('Available templates', 'wp-multisite-waas'),
+ 'desc' => __('How do you want to choose available which templates will be available.', 'wp-multisite-waas'),
'order' => 20,
'options' => [
'name' => __('Select by names'),
@@ -188,9 +188,9 @@ class Signup_Field_Template_Selection extends Base_Signup_Field {
$editor_fields['template_selection_categories'] = [
'type' => 'select',
- 'title' => __('Template Categories', 'wp-ultimo'),
- 'placeholder' => __('e.g.: Landing Page, Health...', 'wp-ultimo'),
- 'desc' => __('Customers will be able to filter by categories during signup.', 'wp-ultimo'),
+ 'title' => __('Template Categories', 'wp-multisite-waas'),
+ 'placeholder' => __('e.g.: Landing Page, Health...', 'wp-multisite-waas'),
+ 'desc' => __('Customers will be able to filter by categories during signup.', 'wp-multisite-waas'),
'order' => 21,
'options' => Site::get_all_categories(),
'html_attr' => [
@@ -204,9 +204,9 @@ class Signup_Field_Template_Selection extends Base_Signup_Field {
$editor_fields['template_selection_sites'] = [
'type' => 'model',
- 'title' => __('Template Sites', 'wp-ultimo'),
- 'placeholder' => __('e.g. Template Site 1, My Agency', 'wp-ultimo'),
- 'desc' => __('Be sure to add the templates in the order you want them to show up.', 'wp-ultimo'),
+ 'title' => __('Template Sites', 'wp-multisite-waas'),
+ 'placeholder' => __('e.g. Template Site 1, My Agency', 'wp-multisite-waas'),
+ 'desc' => __('Be sure to add the templates in the order you want them to show up.', 'wp-multisite-waas'),
'order' => 22,
'html_attr' => [
'v-model' => 'template_selection_sites',
@@ -231,9 +231,9 @@ class Signup_Field_Template_Selection extends Base_Signup_Field {
$editor_fields['hide_template_selection_when_pre_selected'] = [
'type' => 'toggle',
- 'title' => __('Hide when Pre-Selected', 'wp-ultimo'),
- 'desc' => __('Prevent customers from seeing this field when a template was already selected via the URL.', 'wp-ultimo'),
- 'tooltip' => __('If the template selection field is the only field in the current step, the step will be skipped.', 'wp-ultimo'),
+ 'title' => __('Hide when Pre-Selected', 'wp-multisite-waas'),
+ 'desc' => __('Prevent customers from seeing this field when a template was already selected via the URL.', 'wp-multisite-waas'),
+ 'tooltip' => __('If the template selection field is the only field in the current step, the step will be skipped.', 'wp-multisite-waas'),
'value' => 0,
'order' => 23,
'html_attr' => [
@@ -248,8 +248,8 @@ class Signup_Field_Template_Selection extends Base_Signup_Field {
'fields' => [
'template_selection_template' => [
'type' => 'select',
- 'title' => __('Template Selector Template', 'wp-ultimo'),
- 'placeholder' => __('Select your Template', 'wp-ultimo'),
+ 'title' => __('Template Selector Template', 'wp-multisite-waas'),
+ 'placeholder' => __('Select your Template', 'wp-multisite-waas'),
'options' => [$this, 'get_template_selection_templates'],
'wrapper_classes' => 'wu-flex-grow',
'html_attr' => [
@@ -265,7 +265,7 @@ class Signup_Field_Template_Selection extends Base_Signup_Field {
// 'order' => 99,
// 'wrapper_classes' => 'sm:wu-p-0 sm:wu-block',
// 'classes' => '',
- // 'desc' => sprintf('
%s
', __('Want to add customized template selection templates? See how you can do that here.', 'wp-ultimo')),
+ // 'desc' => sprintf('
%s
', __('Want to add customized template selection templates? See how you can do that here.', 'wp-multisite-waas')),
// );
return $editor_fields;
@@ -356,7 +356,7 @@ class Signup_Field_Template_Selection extends Base_Signup_Field {
$template_class = Field_Templates_Manager::get_instance()->get_template_class('template_selection', $attributes['template_selection_template']);
- $content = $template_class ? $template_class->render_container($template_attributes, $this) : __('Template does not exist.', 'wp-ultimo');
+ $content = $template_class ? $template_class->render_container($template_attributes, $this) : __('Template does not exist.', 'wp-multisite-waas');
$checkout_fields[ $attributes['id'] ] = [
'type' => 'note',
diff --git a/inc/checkout/signup-fields/class-signup-field-terms-of-use.php b/inc/checkout/signup-fields/class-signup-field-terms-of-use.php
index 7746cbb..f7eb3e3 100644
--- a/inc/checkout/signup-fields/class-signup-field-terms-of-use.php
+++ b/inc/checkout/signup-fields/class-signup-field-terms-of-use.php
@@ -69,7 +69,7 @@ class Signup_Field_Terms_Of_Use extends Base_Signup_Field {
*/
public function get_title() {
- return __('Terms of Use', 'wp-ultimo');
+ return __('Terms of Use', 'wp-multisite-waas');
}
/**
@@ -82,7 +82,7 @@ class Signup_Field_Terms_Of_Use extends Base_Signup_Field {
*/
public function get_description() {
- return __('Adds a terms and conditions checkbox that must be marked before the account/site can be created.', 'wp-ultimo');
+ return __('Adds a terms and conditions checkbox that must be marked before the account/site can be created.', 'wp-multisite-waas');
}
/**
@@ -95,7 +95,7 @@ class Signup_Field_Terms_Of_Use extends Base_Signup_Field {
*/
public function get_tooltip() {
- return __('Adds a terms and conditions checkbox that must be marked before the account/site can be created.', 'wp-ultimo');
+ return __('Adds a terms and conditions checkbox that must be marked before the account/site can be created.', 'wp-multisite-waas');
}
/**
@@ -123,7 +123,7 @@ class Signup_Field_Terms_Of_Use extends Base_Signup_Field {
public function defaults() {
return [
- 'tou_name' => __('I agree with the terms of use.', 'wp-ultimo'),
+ 'tou_name' => __('I agree with the terms of use.', 'wp-multisite-waas'),
];
}
@@ -148,7 +148,7 @@ class Signup_Field_Terms_Of_Use extends Base_Signup_Field {
return [
'id' => 'terms_of_use',
- 'name' => __('Terms of Use', 'wp-ultimo'),
+ 'name' => __('Terms of Use', 'wp-multisite-waas'),
];
}
@@ -164,15 +164,15 @@ class Signup_Field_Terms_Of_Use extends Base_Signup_Field {
'tou_name' => [
'order' => 10,
'type' => 'text',
- 'title' => __('Terms Checkbox Label', 'wp-ultimo'),
- 'placeholder' => __('e.g. I agree with the terms of use.', 'wp-ultimo'),
+ 'title' => __('Terms Checkbox Label', 'wp-multisite-waas'),
+ 'placeholder' => __('e.g. I agree with the terms of use.', 'wp-multisite-waas'),
],
'tou_url' => [
'order' => 20,
'type' => 'url',
- 'title' => __('Link to the Terms Page', 'wp-ultimo'),
- 'desc' => __('Enter the link to the terms of use content.', 'wp-ultimo'),
- 'placeholder' => __('e.g. https://yoursite.com/terms', 'wp-ultimo'),
+ 'title' => __('Link to the Terms Page', 'wp-multisite-waas'),
+ 'desc' => __('Enter the link to the terms of use content.', 'wp-multisite-waas'),
+ 'placeholder' => __('e.g. https://yoursite.com/terms', 'wp-multisite-waas'),
],
];
}
@@ -189,7 +189,7 @@ class Signup_Field_Terms_Of_Use extends Base_Signup_Field {
$checkout_fields = [];
- $tou_link = sprintf('%s', $attributes['tou_url'], __('Read here', 'wp-ultimo'));
+ $tou_link = sprintf('%s', $attributes['tou_url'], __('Read here', 'wp-multisite-waas'));
$checkout_fields['terms_of_use'] = [
'type' => 'checkbox',
diff --git a/inc/checkout/signup-fields/class-signup-field-text.php b/inc/checkout/signup-fields/class-signup-field-text.php
index 686a816..93570f7 100644
--- a/inc/checkout/signup-fields/class-signup-field-text.php
+++ b/inc/checkout/signup-fields/class-signup-field-text.php
@@ -55,7 +55,7 @@ class Signup_Field_Text extends Base_Signup_Field {
*/
public function get_title() {
- return __('Text', 'wp-ultimo');
+ return __('Text', 'wp-multisite-waas');
}
/**
@@ -68,7 +68,7 @@ class Signup_Field_Text extends Base_Signup_Field {
*/
public function get_description() {
- return __('Adds a text field that the customer can fill with arbitrary data.', 'wp-ultimo');
+ return __('Adds a text field that the customer can fill with arbitrary data.', 'wp-multisite-waas');
}
/**
@@ -81,7 +81,7 @@ class Signup_Field_Text extends Base_Signup_Field {
*/
public function get_tooltip() {
- return __('Adds a text field that the customer can fill with arbitrary data.', 'wp-ultimo');
+ return __('Adds a text field that the customer can fill with arbitrary data.', 'wp-multisite-waas');
}
/**
diff --git a/inc/checkout/signup-fields/class-signup-field-username.php b/inc/checkout/signup-fields/class-signup-field-username.php
index 5241773..1cd6e9f 100644
--- a/inc/checkout/signup-fields/class-signup-field-username.php
+++ b/inc/checkout/signup-fields/class-signup-field-username.php
@@ -69,7 +69,7 @@ class Signup_Field_Username extends Base_Signup_Field {
*/
public function get_title() {
- return __('Username', 'wp-ultimo');
+ return __('Username', 'wp-multisite-waas');
}
/**
@@ -82,7 +82,7 @@ class Signup_Field_Username extends Base_Signup_Field {
*/
public function get_description() {
- return __('Adds an username field. This username will be used to create the WordPress user.', 'wp-ultimo');
+ return __('Adds an username field. This username will be used to create the WordPress user.', 'wp-multisite-waas');
}
/**
@@ -95,7 +95,7 @@ class Signup_Field_Username extends Base_Signup_Field {
*/
public function get_tooltip() {
- return __('Adds an username field. This username will be used to create the WordPress user.', 'wp-ultimo');
+ return __('Adds an username field. This username will be used to create the WordPress user.', 'wp-multisite-waas');
}
/**
@@ -167,8 +167,8 @@ class Signup_Field_Username extends Base_Signup_Field {
return [
'auto_generate_username' => [
'type' => 'toggle',
- 'title' => __('Auto-generate', 'wp-ultimo'),
- 'desc' => __('Check this option to auto-generate this field based on the email address of the customer.', 'wp-ultimo'),
+ 'title' => __('Auto-generate', 'wp-multisite-waas'),
+ 'desc' => __('Check this option to auto-generate this field based on the email address of the customer.', 'wp-multisite-waas'),
'tooltip' => '',
'value' => 0,
'html_attr' => [
diff --git a/inc/checkout/signup-fields/field-templates/class-base-field-template.php b/inc/checkout/signup-fields/field-templates/class-base-field-template.php
index 8175dcb..29abdbb 100644
--- a/inc/checkout/signup-fields/field-templates/class-base-field-template.php
+++ b/inc/checkout/signup-fields/field-templates/class-base-field-template.php
@@ -78,7 +78,7 @@ class Base_Field_Template {
*/
public function get_title() {
- return __('Field Template', 'wp-ultimo');
+ return __('Field Template', 'wp-multisite-waas');
}
/**
@@ -91,7 +91,7 @@ class Base_Field_Template {
*/
public function get_description() {
- return __('Description', 'wp-ultimo');
+ return __('Description', 'wp-multisite-waas');
}
/**
diff --git a/inc/checkout/signup-fields/field-templates/order-bump/class-simple-order-bump-field-template.php b/inc/checkout/signup-fields/field-templates/order-bump/class-simple-order-bump-field-template.php
index 56eb491..dc53c05 100644
--- a/inc/checkout/signup-fields/field-templates/order-bump/class-simple-order-bump-field-template.php
+++ b/inc/checkout/signup-fields/field-templates/order-bump/class-simple-order-bump-field-template.php
@@ -64,7 +64,7 @@ class Simple_Order_Bump_Field_Template extends Base_Field_Template {
*/
public function get_title() {
- return __('Simple', 'wp-ultimo');
+ return __('Simple', 'wp-multisite-waas');
}
/**
@@ -77,7 +77,7 @@ class Simple_Order_Bump_Field_Template extends Base_Field_Template {
*/
public function get_description() {
- return __('A simple layout with minimal styling, just enough to make it usable out-of-the-box.', 'wp-ultimo');
+ return __('A simple layout with minimal styling, just enough to make it usable out-of-the-box.', 'wp-multisite-waas');
}
/**
diff --git a/inc/checkout/signup-fields/field-templates/order-summary/class-clean-order-summary-field-template.php b/inc/checkout/signup-fields/field-templates/order-summary/class-clean-order-summary-field-template.php
index f3fe23f..a5a9be1 100644
--- a/inc/checkout/signup-fields/field-templates/order-summary/class-clean-order-summary-field-template.php
+++ b/inc/checkout/signup-fields/field-templates/order-summary/class-clean-order-summary-field-template.php
@@ -64,7 +64,7 @@ class Clean_Order_Summary_Field_Template extends Base_Field_Template {
*/
public function get_title() {
- return __('Clean', 'wp-ultimo');
+ return __('Clean', 'wp-multisite-waas');
}
/**
@@ -77,7 +77,7 @@ class Clean_Order_Summary_Field_Template extends Base_Field_Template {
*/
public function get_description() {
- return __('A simple layout with minimal styling, just enough to make it usable out-of-the-box.', 'wp-ultimo');
+ return __('A simple layout with minimal styling, just enough to make it usable out-of-the-box.', 'wp-multisite-waas');
}
/**
diff --git a/inc/checkout/signup-fields/field-templates/period-selection/class-clean-period-selection-field-template.php b/inc/checkout/signup-fields/field-templates/period-selection/class-clean-period-selection-field-template.php
index 475e752..15449cc 100644
--- a/inc/checkout/signup-fields/field-templates/period-selection/class-clean-period-selection-field-template.php
+++ b/inc/checkout/signup-fields/field-templates/period-selection/class-clean-period-selection-field-template.php
@@ -64,7 +64,7 @@ class Clean_Period_Selection_Field_Template extends Base_Field_Template {
*/
public function get_title() {
- return __('Clean', 'wp-ultimo');
+ return __('Clean', 'wp-multisite-waas');
}
/**
@@ -77,7 +77,7 @@ class Clean_Period_Selection_Field_Template extends Base_Field_Template {
*/
public function get_description() {
- return __('A simple template with clean markup and no styling, ready to be customized with custom CSS.', 'wp-ultimo');
+ return __('A simple template with clean markup and no styling, ready to be customized with custom CSS.', 'wp-multisite-waas');
}
/**
diff --git a/inc/checkout/signup-fields/field-templates/period-selection/class-legacy-period-selection-field-template.php b/inc/checkout/signup-fields/field-templates/period-selection/class-legacy-period-selection-field-template.php
index 5cc182e..2f151f0 100644
--- a/inc/checkout/signup-fields/field-templates/period-selection/class-legacy-period-selection-field-template.php
+++ b/inc/checkout/signup-fields/field-templates/period-selection/class-legacy-period-selection-field-template.php
@@ -64,7 +64,7 @@ class Legacy_Period_Selection_Field_Template extends Base_Field_Template {
*/
public function get_title() {
- return __('Legacy', 'wp-ultimo');
+ return __('Legacy', 'wp-multisite-waas');
}
/**
@@ -77,7 +77,7 @@ class Legacy_Period_Selection_Field_Template extends Base_Field_Template {
*/
public function get_description() {
- return __('Implementation of the layout that shipped with WP Multisite WaaS < 1.10.X.', 'wp-ultimo');
+ return __('Implementation of the layout that shipped with WP Multisite WaaS < 1.10.X.', 'wp-multisite-waas');
}
/**
diff --git a/inc/checkout/signup-fields/field-templates/pricing-table/class-legacy-pricing-table-field-template.php b/inc/checkout/signup-fields/field-templates/pricing-table/class-legacy-pricing-table-field-template.php
index 0fdd83e..8c8eb73 100644
--- a/inc/checkout/signup-fields/field-templates/pricing-table/class-legacy-pricing-table-field-template.php
+++ b/inc/checkout/signup-fields/field-templates/pricing-table/class-legacy-pricing-table-field-template.php
@@ -64,7 +64,7 @@ class Legacy_Pricing_Table_Field_Template extends Base_Field_Template {
*/
public function get_title() {
- return __('Legacy', 'wp-ultimo');
+ return __('Legacy', 'wp-multisite-waas');
}
/**
@@ -77,7 +77,7 @@ class Legacy_Pricing_Table_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 Ultimo < 1.10.X.', 'wp-multisite-waas');
}
/**
diff --git a/inc/checkout/signup-fields/field-templates/pricing-table/class-list-pricing-table-field-template.php b/inc/checkout/signup-fields/field-templates/pricing-table/class-list-pricing-table-field-template.php
index dac11a5..6ee7227 100644
--- a/inc/checkout/signup-fields/field-templates/pricing-table/class-list-pricing-table-field-template.php
+++ b/inc/checkout/signup-fields/field-templates/pricing-table/class-list-pricing-table-field-template.php
@@ -42,7 +42,7 @@ class List_Pricing_Table_Field_Template extends Base_Field_Template {
*/
public function get_title() {
- return __('Simple List', 'wp-ultimo');
+ return __('Simple List', 'wp-multisite-waas');
}
/**
@@ -55,7 +55,7 @@ class List_Pricing_Table_Field_Template extends Base_Field_Template {
*/
public function get_description() {
- return __('Simple stylized list with price, recurrence, and the plan description.', 'wp-ultimo');
+ return __('Simple stylized list with price, recurrence, and the plan description.', 'wp-multisite-waas');
}
/**
diff --git a/inc/checkout/signup-fields/field-templates/steps/class-clean-steps-field-template.php b/inc/checkout/signup-fields/field-templates/steps/class-clean-steps-field-template.php
index 6c2d49e..4161a00 100644
--- a/inc/checkout/signup-fields/field-templates/steps/class-clean-steps-field-template.php
+++ b/inc/checkout/signup-fields/field-templates/steps/class-clean-steps-field-template.php
@@ -64,7 +64,7 @@ class Clean_Steps_Field_Template extends Base_Field_Template {
*/
public function get_title() {
- return __('Clean', 'wp-ultimo');
+ return __('Clean', 'wp-multisite-waas');
}
/**
@@ -77,7 +77,7 @@ class Clean_Steps_Field_Template extends Base_Field_Template {
*/
public function get_description() {
- return __('A simple layout with minimal styling, just enough to make it usable out-of-the-box.', 'wp-ultimo');
+ return __('A simple layout with minimal styling, just enough to make it usable out-of-the-box.', 'wp-multisite-waas');
}
/**
diff --git a/inc/checkout/signup-fields/field-templates/steps/class-legacy-steps-field-template.php b/inc/checkout/signup-fields/field-templates/steps/class-legacy-steps-field-template.php
index 55107ce..b75adba 100644
--- a/inc/checkout/signup-fields/field-templates/steps/class-legacy-steps-field-template.php
+++ b/inc/checkout/signup-fields/field-templates/steps/class-legacy-steps-field-template.php
@@ -64,7 +64,7 @@ class Legacy_Steps_Field_Template extends Base_Field_Template {
*/
public function get_title() {
- return __('Legacy', 'wp-ultimo');
+ return __('Legacy', 'wp-multisite-waas');
}
/**
@@ -77,7 +77,7 @@ class Legacy_Steps_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 Ultimo < 1.10.X.', 'wp-multisite-waas');
}
/**
diff --git a/inc/checkout/signup-fields/field-templates/steps/class-minimal-steps-field-template.php b/inc/checkout/signup-fields/field-templates/steps/class-minimal-steps-field-template.php
index da84848..ae4462b 100644
--- a/inc/checkout/signup-fields/field-templates/steps/class-minimal-steps-field-template.php
+++ b/inc/checkout/signup-fields/field-templates/steps/class-minimal-steps-field-template.php
@@ -64,7 +64,7 @@ class Minimal_Steps_Field_Template extends Base_Field_Template {
*/
public function get_title() {
- return __('Minimal', 'wp-ultimo');
+ return __('Minimal', 'wp-multisite-waas');
}
/**
@@ -77,7 +77,7 @@ class Minimal_Steps_Field_Template extends Base_Field_Template {
*/
public function get_description() {
- return __('A simple template with clean markup and no styling, ready to be customized with custom CSS.', 'wp-ultimo');
+ return __('A simple template with clean markup and no styling, ready to be customized with custom CSS.', 'wp-multisite-waas');
}
/**
diff --git a/inc/checkout/signup-fields/field-templates/template-selection/class-clean-template-selection-field-template.php b/inc/checkout/signup-fields/field-templates/template-selection/class-clean-template-selection-field-template.php
index 8b5b899..d57c001 100644
--- a/inc/checkout/signup-fields/field-templates/template-selection/class-clean-template-selection-field-template.php
+++ b/inc/checkout/signup-fields/field-templates/template-selection/class-clean-template-selection-field-template.php
@@ -64,7 +64,7 @@ class Clean_Template_Selection_Field_Template extends Base_Field_Template {
*/
public function get_title() {
- return __('Clean', 'wp-ultimo');
+ return __('Clean', 'wp-multisite-waas');
}
/**
@@ -77,7 +77,7 @@ class Clean_Template_Selection_Field_Template extends Base_Field_Template {
*/
public function get_description(): string {
- return __('A simple layout with minimal styling, just enough to make it usable out-of-the-box.', 'wp-ultimo');
+ return __('A simple layout with minimal styling, just enough to make it usable out-of-the-box.', 'wp-multisite-waas');
}
/**
diff --git a/inc/checkout/signup-fields/field-templates/template-selection/class-legacy-template-selection-field-template.php b/inc/checkout/signup-fields/field-templates/template-selection/class-legacy-template-selection-field-template.php
index c02ed84..5c8a53b 100644
--- a/inc/checkout/signup-fields/field-templates/template-selection/class-legacy-template-selection-field-template.php
+++ b/inc/checkout/signup-fields/field-templates/template-selection/class-legacy-template-selection-field-template.php
@@ -53,7 +53,7 @@ class Legacy_Template_Selection_Field_Template extends Base_Field_Template {
*/
public function get_title() {
- return __('Legacy', 'wp-ultimo');
+ return __('Legacy', 'wp-multisite-waas');
}
/**
@@ -66,7 +66,7 @@ class Legacy_Template_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 Ultimo < 1.10.X.', 'wp-multisite-waas');
}
/**
diff --git a/inc/checkout/signup-fields/field-templates/template-selection/class-minimal-template-selection-field-template.php b/inc/checkout/signup-fields/field-templates/template-selection/class-minimal-template-selection-field-template.php
index df52a75..d77ba0f 100644
--- a/inc/checkout/signup-fields/field-templates/template-selection/class-minimal-template-selection-field-template.php
+++ b/inc/checkout/signup-fields/field-templates/template-selection/class-minimal-template-selection-field-template.php
@@ -53,7 +53,7 @@ class Minimal_Template_Selection_Field_Template extends Base_Field_Template {
*/
public function get_title() {
- return __('Minimal', 'wp-ultimo');
+ return __('Minimal', 'wp-multisite-waas');
}
/**
@@ -66,7 +66,7 @@ class Minimal_Template_Selection_Field_Template extends Base_Field_Template {
*/
public function get_description() {
- return __('A simple template with clean markup and no styling, ready to be customized with custom CSS.', 'wp-ultimo');
+ return __('A simple template with clean markup and no styling, ready to be customized with custom CSS.', 'wp-multisite-waas');
}
/**
diff --git a/inc/class-api.php b/inc/class-api.php
index bb26170..04f803d 100644
--- a/inc/class-api.php
+++ b/inc/class-api.php
@@ -142,8 +142,8 @@ class API {
wu_register_settings_section(
'api',
[
- 'title' => __('API & Webhooks', 'wp-ultimo'),
- 'desc' => __('API & Webhooks', 'wp-ultimo'),
+ 'title' => __('API & Webhooks', 'wp-multisite-waas'),
+ 'desc' => __('API & Webhooks', 'wp-multisite-waas'),
'icon' => 'dashicons-wu-paper-plane',
'order' => 95,
]
@@ -153,8 +153,8 @@ class API {
'api',
'api_header',
[
- 'title' => __('API Settings', 'wp-ultimo'),
- 'desc' => __('Options related to WP Multisite WaaS API endpoints.', 'wp-ultimo'),
+ 'title' => __('API Settings', 'wp-multisite-waas'),
+ 'desc' => __('Options related to WP Multisite WaaS API endpoints.', 'wp-multisite-waas'),
'type' => 'header',
]
);
@@ -163,8 +163,8 @@ class API {
'api',
'enable_api',
[
- 'title' => __('Enable API', 'wp-ultimo'),
- 'desc' => __('Tick this box if you want WP Multisite WaaS to add its own endpoints to the WordPress REST API. This is required for some integrations to work, most notabily, Zapier.', 'wp-ultimo'),
+ 'title' => __('Enable API', 'wp-multisite-waas'),
+ 'desc' => __('Tick this box if you want WP Multisite WaaS to add its own endpoints to the WordPress REST API. This is required for some integrations to work, most notabily, Zapier.', 'wp-multisite-waas'),
'type' => 'toggle',
'default' => 1,
]
@@ -173,14 +173,14 @@ class API {
$refreshed_tag = '';
if (wu_request('updated') && wu_request('api') === 'refreshed') {
- $refreshed_tag = sprintf('%s', __('Credentials Refreshed', 'wp-ultimo'));
+ $refreshed_tag = sprintf('%s', __('Credentials Refreshed', 'wp-multisite-waas'));
}
wu_register_settings_field(
'api',
'api_url',
[
- 'title' => __('API URL', 'wp-ultimo'),
+ 'title' => __('API URL', 'wp-multisite-waas'),
'desc' => '',
'tooltip' => '',
'copy' => true,
@@ -196,7 +196,7 @@ class API {
'api',
'api_key',
[
- 'title' => __('API Key', 'wp-ultimo') . $refreshed_tag,
+ 'title' => __('API Key', 'wp-multisite-waas') . $refreshed_tag,
'desc' => '',
'tooltip' => '',
'type' => 'text-display',
@@ -213,7 +213,7 @@ class API {
'api',
'api_secret',
[
- 'title' => __('API Secret', 'wp-ultimo') . $refreshed_tag,
+ 'title' => __('API Secret', 'wp-multisite-waas') . $refreshed_tag,
'tooltip' => '',
'type' => 'text-display',
'copy' => true,
@@ -229,7 +229,7 @@ class API {
'api',
'api_note',
[
- 'desc' => __('This is your API Key. You cannot change it directly. To reset the API key and secret, use the button "Refresh API credentials" below.', 'wp-ultimo'),
+ 'desc' => __('This is your API Key. You cannot change it directly. To reset the API key and secret, use the button "Refresh API credentials" below.', 'wp-multisite-waas'),
'type' => 'note',
'classes' => 'wu-text-gray-700 wu-text-xs',
'wrapper_classes' => 'wu-bg-white sm:wu-border-t-0 sm:wu-mt-0 sm:wu-pt-0',
@@ -243,7 +243,7 @@ class API {
'api',
'refresh_api_credentials',
[
- 'title' => __('Refresh API Credentials', 'wp-ultimo'),
+ 'title' => __('Refresh API Credentials', 'wp-multisite-waas'),
'type' => 'submit',
'classes' => 'button wu-ml-auto',
'wrapper_classes' => 'wu-bg-white sm:wu-border-t-0 sm:wu-mt-0 sm:wu-pt-0',
@@ -257,8 +257,8 @@ class API {
'api',
'api_log_calls',
[
- 'title' => __('Log API calls (Advanced)', 'wp-ultimo'),
- 'desc' => __('Tick this box if you want to log all calls received via WP Multisite WaaS API endpoints. You can access the logs on WP Multisite WaaS → System Info → Logs.', 'wp-ultimo'),
+ 'title' => __('Log API calls (Advanced)', 'wp-multisite-waas'),
+ 'desc' => __('Tick this box if you want to log all calls received via WP Multisite WaaS API endpoints. You can access the logs on WP Multisite WaaS → System Info → Logs.', 'wp-multisite-waas'),
'type' => 'toggle',
'default' => 0,
'require' => [
@@ -271,8 +271,8 @@ class API {
'api',
'webhook_header',
[
- 'title' => __('Webhook Settings', 'wp-ultimo'),
- 'desc' => __('Options related to WP Multisite WaaS API webhooks.', 'wp-ultimo'),
+ 'title' => __('Webhook Settings', 'wp-multisite-waas'),
+ 'desc' => __('Options related to WP Multisite WaaS API webhooks.', 'wp-multisite-waas'),
'type' => 'header',
]
);
@@ -281,8 +281,8 @@ class API {
'api',
'webhook_calls_blocking',
[
- 'title' => __('Wait for Response (Advanced)', 'wp-ultimo'),
- 'desc' => __('Tick this box if you want the WP Multisite WaaS\'s webhook calls to wait for the remote server to respond. Keeping this option enabled can have huge effects on your network\'s performance, only enable it if you know what you are doing and need to debug webhook calls.', 'wp-ultimo'),
+ 'title' => __('Wait for Response (Advanced)', 'wp-multisite-waas'),
+ 'desc' => __('Tick this box if you want the WP Multisite WaaS\'s webhook calls to wait for the remote server to respond. Keeping this option enabled can have huge effects on your network\'s performance, only enable it if you know what you are doing and need to debug webhook calls.', 'wp-multisite-waas'),
'type' => 'toggle',
'default' => 0,
]
@@ -486,7 +486,7 @@ class API {
[
'success' => true,
'label' => $current_site->site_name,
- 'message' => __('Welcome to our API', 'wp-ultimo'),
+ 'message' => __('Welcome to our API', 'wp-multisite-waas'),
]
);
}
diff --git a/inc/class-dashboard-widgets.php b/inc/class-dashboard-widgets.php
index 4cbd29f..12a7992 100644
--- a/inc/class-dashboard-widgets.php
+++ b/inc/class-dashboard-widgets.php
@@ -87,28 +87,28 @@ class Dashboard_Widgets {
*/
public function register_network_widgets(): void {
- add_meta_box('wp-ultimo-setup', __('WP Multisite WaaS - First Steps', 'wp-ultimo'), [$this, 'output_widget_first_steps'], $this->screen_id, 'normal', 'high');
+ add_meta_box('wp-ultimo-setup', __('WP Multisite WaaS - First Steps', 'wp-multisite-waas'), [$this, 'output_widget_first_steps'], $this->screen_id, 'normal', 'high');
- add_meta_box('wp-ultimo-summary', __('WP Multisite WaaS - Summary', 'wp-ultimo'), [$this, 'output_widget_summary'], $this->screen_id, 'normal', 'high');
+ add_meta_box('wp-ultimo-summary', __('WP Multisite WaaS - Summary', 'wp-multisite-waas'), [$this, 'output_widget_summary'], $this->screen_id, 'normal', 'high');
- add_meta_box('wp-ultimo-activity-stream', __('WP Multisite WaaS - Activity Stream', 'wp-ultimo'), [$this, 'output_widget_activity_stream'], $this->screen_id, 'normal', 'high');
+ add_meta_box('wp-ultimo-activity-stream', __('WP Multisite WaaS - Activity Stream', 'wp-multisite-waas'), [$this, 'output_widget_activity_stream'], $this->screen_id, 'normal', 'high');
\WP_Ultimo\UI\Tours::get_instance()->create_tour(
'dashboard',
[
[
'id' => 'welcome',
- 'title' => __('Welcome!', 'wp-ultimo'),
+ 'title' => __('Welcome!', 'wp-multisite-waas'),
'text' => [
- __('Welcome to your new network dashboard!', 'wp-ultimo'),
- __('You will notice that WP Multisite WaaS adds a couple of useful widgets here so you can keep an eye on how your network is doing.', 'wp-ultimo'),
+ __('Welcome to your new network dashboard!', 'wp-multisite-waas'),
+ __('You will notice that WP Multisite WaaS adds a couple of useful widgets here so you can keep an eye on how your network is doing.', 'wp-multisite-waas'),
],
],
[
'id' => 'finish-your-setup',
- 'title' => __('Finish your setup', 'wp-ultimo'),
+ 'title' => __('Finish your setup', 'wp-multisite-waas'),
'text' => [
- __('You still have a couple of things to do configuration-wise. Check the steps on this list and make sure you complete them all.', 'wp-ultimo'),
+ __('You still have a couple of things to do configuration-wise. Check the steps on this list and make sure you complete them all.', 'wp-multisite-waas'),
],
'attachTo' => [
'element' => '#wp-ultimo-setup',
@@ -117,9 +117,9 @@ class Dashboard_Widgets {
],
[
'id' => 'wp-ultimo-menu',
- 'title' => __('Our home', 'wp-ultimo'),
+ 'title' => __('Our home', 'wp-multisite-waas'),
'text' => [
- __('You can always find WP Multisite WaaS settings and other pages under our menu item, here on the Network-level dashboard. 😃', 'wp-ultimo'),
+ __('You can always find WP Multisite WaaS settings and other pages under our menu item, here on the Network-level dashboard. 😃', 'wp-multisite-waas'),
],
'attachTo' => [
'element' => '.toplevel_page_wp-ultimo',
@@ -182,16 +182,16 @@ class Dashboard_Widgets {
$steps = [
'inital-setup' => [
- 'title' => __('Initial Setup', 'wp-ultimo'),
- 'desc' => __('Go through the initial Setup Wizard to configure the basic settings of your network.', 'wp-ultimo'),
- 'action_label' => __('Finish the Setup Wizard', 'wp-ultimo'),
+ 'title' => __('Initial Setup', 'wp-multisite-waas'),
+ 'desc' => __('Go through the initial Setup Wizard to configure the basic settings of your network.', 'wp-multisite-waas'),
+ 'action_label' => __('Finish the Setup Wizard', 'wp-multisite-waas'),
'action_link' => wu_network_admin_url('wp-ultimo-setup'),
'done' => wu_string_to_bool($initial_setup_done),
],
'payment-method' => [
- 'title' => __('Payment Method', 'wp-ultimo'),
- 'desc' => __('You will need to configure at least one payment gateway to be able to receive money from your customers.', 'wp-ultimo'),
- 'action_label' => __('Add a Payment Method', 'wp-ultimo'),
+ 'title' => __('Payment Method', 'wp-multisite-waas'),
+ 'desc' => __('You will need to configure at least one payment gateway to be able to receive money from your customers.', 'wp-multisite-waas'),
+ 'action_label' => __('Add a Payment Method', 'wp-multisite-waas'),
'action_link' => wu_network_admin_url(
'wp-ultimo-settings',
[
@@ -202,10 +202,10 @@ class Dashboard_Widgets {
],
'your-first-customer' => [
'done' => ! empty(wu_get_customers()),
- 'title' => __('Your First Customer', 'wp-ultimo'),
- 'desc' => __('Open the link below in an incognito tab and go through your newly created signup form.', 'wp-ultimo'),
+ 'title' => __('Your First Customer', 'wp-multisite-waas'),
+ 'desc' => __('Open the link below in an incognito tab and go through your newly created signup form.', 'wp-multisite-waas'),
'action_link' => wp_registration_url(),
- 'action_label' => __('Create a test Account', 'wp-ultimo'),
+ 'action_label' => __('Create a test Account', 'wp-multisite-waas'),
],
];
@@ -284,7 +284,7 @@ class Dashboard_Widgets {
$_GET,
[
'url' => 'https://community.wpultimo.com/topics/feed',
- 'title' => __('Forum Discussions', 'wp-ultimo'),
+ 'title' => __('Forum Discussions', 'wp-multisite-waas'),
'items' => 3,
'show_summary' => 1,
'show_author' => 0,
diff --git a/inc/class-domain-mapping.php b/inc/class-domain-mapping.php
index 5f8b678..aafdb2a 100644
--- a/inc/class-domain-mapping.php
+++ b/inc/class-domain-mapping.php
@@ -354,7 +354,7 @@ class Domain_Mapping {
if (is_wp_error($error)) {
// translators: First placeholder is the mapping ID, second is the site ID.
- $message = sprintf(__('Unable to delete mapping %1$d for site %2$d', 'wp-ultimo'), $mapping->get_id(), $site->blog_id);
+ $message = sprintf(__('Unable to delete mapping %1$d for site %2$d', 'wp-multisite-waas'), $mapping->get_id(), $site->blog_id);
trigger_error($message, E_USER_WARNING);
}
diff --git a/inc/class-hooks.php b/inc/class-hooks.php
index 5bf09ab..48b55a4 100644
--- a/inc/class-hooks.php
+++ b/inc/class-hooks.php
@@ -56,7 +56,7 @@ class Hooks {
*/
public static function on_activation(): void {
- wu_log_add('wp-ultimo-core', __('Activating WP Multisite WaaS...', 'wp-ultimo'));
+ wu_log_add('wp-ultimo-core', __('Activating WP Multisite WaaS...', 'wp-multisite-waas'));
/*
* Set the activation flag
@@ -100,7 +100,7 @@ class Hooks {
*/
public static function on_deactivation(): void {
- wu_log_add('wp-ultimo-core', __('Deactivating WP Multisite WaaS...', 'wp-ultimo'));
+ wu_log_add('wp-ultimo-core', __('Deactivating WP Multisite WaaS...', 'wp-multisite-waas'));
/*
* Update the sunrise meta file.
diff --git a/inc/class-logger.php b/inc/class-logger.php
index d95d959..a4896a1 100644
--- a/inc/class-logger.php
+++ b/inc/class-logger.php
@@ -181,7 +181,7 @@ class Logger extends AbstractLogger {
$time_elapsed = microtime(true) - $start;
// translators: the placeholder %s will be replaced by the time in seconds (float).
- $message .= ' - ' . sprintf(__('This action took %s seconds.', 'wp-ultimo'), $time_elapsed);
+ $message .= ' - ' . sprintf(__('This action took %s seconds.', 'wp-multisite-waas'), $time_elapsed);
self::add($handle, $message);
diff --git a/inc/class-maintenance-mode.php b/inc/class-maintenance-mode.php
index 0b3229b..e79ce73 100644
--- a/inc/class-maintenance-mode.php
+++ b/inc/class-maintenance-mode.php
@@ -84,11 +84,11 @@ class Maintenance_Mode {
$args = [
'id' => 'wu-maintenance-mode',
'parent' => 'top-secondary',
- 'title' => __('Maintenance Mode - Active', 'wp-ultimo'),
+ 'title' => __('Maintenance Mode - Active', 'wp-multisite-waas'),
'href' => '#wp-ultimo-site-maintenance-element',
'meta' => [
'class' => 'wu-maintenance-mode ' . (self::check_maintenance_mode() ? '' : 'hidden'),
- 'title' => __('This means that your site is not available for visitors at the moment. Only you and other logged users have access to it. Click here to toggle this option.', 'wp-ultimo'),
+ 'title' => __('This means that your site is not available for visitors at the moment. Only you and other logged users have access to it. Click here to toggle this option.', 'wp-multisite-waas'),
],
];
@@ -110,12 +110,12 @@ class Maintenance_Mode {
$text = apply_filters(
'wu_maintenance_mode_text',
- __('Website under planned maintenance. Please check back later.', 'wp-ultimo')
+ __('Website under planned maintenance. Please check back later.', 'wp-multisite-waas')
);
$title = apply_filters(
'wu_maintenance_mode_title',
- __('Under Maintenance', 'wp-ultimo')
+ __('Under Maintenance', 'wp-multisite-waas')
);
wp_die($text, $title, 503);
@@ -147,7 +147,7 @@ class Maintenance_Mode {
if ( ! current_user_can_for_blog($site_id, 'manage_options')) {
wp_send_json_error(
[
- 'message' => __('You do not have the necessary permissions to perform this option.', 'wp-ultimo'),
+ 'message' => __('You do not have the necessary permissions to perform this option.', 'wp-multisite-waas'),
'value' => false,
]
);
@@ -160,7 +160,7 @@ class Maintenance_Mode {
update_site_meta($site_id, 'wu_maintenance_mode', $value);
$return = [
- 'message' => __('New maintenance settings saved.', 'wp-ultimo'),
+ 'message' => __('New maintenance settings saved.', 'wp-multisite-waas'),
'value' => $value,
];
@@ -182,8 +182,8 @@ class Maintenance_Mode {
'sites',
'maintenance_mode',
[
- 'title' => __('Site Maintenance Mode', 'wp-ultimo'),
- 'desc' => __('Allow your customers and super admins to quickly take sites offline via a toggle on the site dashboard.', 'wp-ultimo'),
+ 'title' => __('Site Maintenance Mode', 'wp-multisite-waas'),
+ 'desc' => __('Allow your customers and super admins to quickly take sites offline via a toggle on the site dashboard.', 'wp-multisite-waas'),
'type' => 'toggle',
'default' => 0,
'order' => 23,
diff --git a/inc/class-newsletter.php b/inc/class-newsletter.php
index 9893c61..5a4ebd5 100644
--- a/inc/class-newsletter.php
+++ b/inc/class-newsletter.php
@@ -17,8 +17,8 @@ class Newsletter {
'general',
self::SETTING_FIELD_SLUG,
[
- 'title' => __('Signup for WP Multisite WaaS Newsletter', 'wp-ultimo'),
- 'desc' => __('Be informed of new releases and all things related to running a WaaS Network.', 'wp-ultimo'),
+ 'title' => __('Signup for WP Multisite WaaS Newsletter', 'wp-multisite-waas'),
+ 'desc' => __('Be informed of new releases and all things related to running a WaaS Network.', 'wp-multisite-waas'),
'type' => 'toggle',
'value' => '1',
],
diff --git a/inc/class-requirements.php b/inc/class-requirements.php
index ddcba7c..4ac76d0 100644
--- a/inc/class-requirements.php
+++ b/inc/class-requirements.php
@@ -281,7 +281,7 @@ class Requirements {
public static function notice_unsupported_php_version(): void {
// translators: the %1$s placeholder is the required PHP version, while the %2$s is the current PHP version.
- $message = sprintf(__('WP Multisite WaaS requires at least PHP version %1$s to run. Your current PHP version is %2$s. Please, contact your hosting company support to upgrade your PHP version. If you want maximum performance consider upgrading your PHP to version 7.0 or later.', 'wp-ultimo'), self::$php_version, phpversion());
+ $message = sprintf(__('WP Multisite WaaS requires at least PHP version %1$s to run. Your current PHP version is %2$s. Please, contact your hosting company support to upgrade your PHP version. If you want maximum performance consider upgrading your PHP to version 7.0 or later.', 'wp-multisite-waas'), self::$php_version, phpversion());
printf('
%s
', $message);
}
@@ -297,7 +297,7 @@ class Requirements {
global $wp_version;
// translators: the %1$s placeholder is the required WP version, while the %2$s is the current WP version.
- $message = sprintf(__('WP Multisite WaaS requires at least WordPress version %1$s to run. Your current WordPress version is %2$s.', 'wp-ultimo'), self::$wp_version, $wp_version);
+ $message = sprintf(__('WP Multisite WaaS requires at least WordPress version %1$s to run. Your current WordPress version is %2$s.', 'wp-multisite-waas'), self::$wp_version, $wp_version);
printf('
%s
', $message);
}
@@ -310,7 +310,7 @@ class Requirements {
*/
public static function notice_not_multisite(): void {
- $message = __('WP Multisite WaaS requires a multisite install to run properly. To know more about WordPress Networks, visit this link: Create a Network →', 'wp-ultimo');
+ $message = __('WP Multisite WaaS requires a multisite install to run properly. To know more about WordPress Networks, visit this link: Create a Network →', 'wp-multisite-waas');
printf('
%s
', $message);
}
@@ -324,7 +324,7 @@ class Requirements {
public static function notice_not_network_active(): void {
// translators: %s is a placeholder for the Network Admin plugins page URL.
- $message = sprintf(__('WP Multisite WaaS needs to be network active to run properly. You can "Network Activate" it here', 'wp-ultimo'), network_admin_url('plugins.php'));
+ $message = sprintf(__('WP Multisite WaaS needs to be network active to run properly. You can "Network Activate" it here', 'wp-multisite-waas'), network_admin_url('plugins.php'));
printf('
%s
', $message);
}
diff --git a/inc/class-scripts.php b/inc/class-scripts.php
index a5f4f02..e8e75bd 100644
--- a/inc/class-scripts.php
+++ b/inc/class-scripts.php
@@ -174,8 +174,8 @@ class Scripts {
'wu_fields',
[
'l10n' => [
- 'image_picker_title' => __('Select an Image.', 'wp-ultimo'),
- 'image_picker_button_text' => __('Use this image', 'wp-ultimo'),
+ 'image_picker_title' => __('Select an Image.', 'wp-multisite-waas'),
+ 'image_picker_button_text' => __('Use this image', 'wp-multisite-waas'),
],
]
);
@@ -271,7 +271,7 @@ class Scripts {
'LT' => $time_format,
'LTS' => str_replace(':i', ':i:s', (string) $time_format),
/* translators: the day/month/year date format used by WP Multisite WaaS. You can changed it to localize this date format to your language. the default value is d/m/Y, which is the format 31/12/2021. */
- 'L' => __('d/m/Y', 'wp-ultimo'),
+ 'L' => __('d/m/Y', 'wp-multisite-waas'),
'LL' => $date_format,
'LLL' => sprintf('%s %s', $date_format, $time_format),
'LLLL' => sprintf('%s %s', $date_format, $time_format),
@@ -281,22 +281,22 @@ class Scripts {
// phpcs:disable
$strings = [
'relativeTime' => [
- 'future' => __('in %s', 'wp-ultimo'),
- 'past' => __('%s ago', 'wp-ultimo'),
- 's' => __('a few seconds', 'wp-ultimo'),
- 'ss' => __('%d seconds', 'wp-ultimo'),
- 'm' => __('a minute', 'wp-ultimo'),
- 'mm' => __('%d minutes', 'wp-ultimo'),
- 'h' => __('an hour', 'wp-ultimo'),
- 'hh' => __('%d hours', 'wp-ultimo'),
- 'd' => __('a day', 'wp-ultimo'),
- 'dd' => __('%d days', 'wp-ultimo'),
- 'w' => __('a week', 'wp-ultimo'),
- 'ww' => __('%d weeks', 'wp-ultimo'),
- 'M' => __('a month', 'wp-ultimo'),
- 'MM' => __('%d months', 'wp-ultimo'),
- 'y' => __('a year', 'wp-ultimo'),
- 'yy' => __('%d years', 'wp-ultimo'),
+ 'future' => __('in %s', 'wp-multisite-waas'),
+ 'past' => __('%s ago', 'wp-multisite-waas'),
+ 's' => __('a few seconds', 'wp-multisite-waas'),
+ 'ss' => __('%d seconds', 'wp-multisite-waas'),
+ 'm' => __('a minute', 'wp-multisite-waas'),
+ 'mm' => __('%d minutes', 'wp-multisite-waas'),
+ 'h' => __('an hour', 'wp-multisite-waas'),
+ 'hh' => __('%d hours', 'wp-multisite-waas'),
+ 'd' => __('a day', 'wp-multisite-waas'),
+ 'dd' => __('%d days', 'wp-multisite-waas'),
+ 'w' => __('a week', 'wp-multisite-waas'),
+ 'ww' => __('%d weeks', 'wp-multisite-waas'),
+ 'M' => __('a month', 'wp-multisite-waas'),
+ 'MM' => __('%d months', 'wp-multisite-waas'),
+ 'y' => __('a year', 'wp-multisite-waas'),
+ 'yy' => __('%d years', 'wp-multisite-waas'),
],
'longDateFormat' => $long_date_formats,
];
diff --git a/inc/class-settings.php b/inc/class-settings.php
index 2846863..216b66c 100644
--- a/inc/class-settings.php
+++ b/inc/class-settings.php
@@ -178,7 +178,7 @@ class Settings {
$settings = $this->get_all();
if (str_contains($setting, '-')) {
- _doing_it_wrong($setting, __('Dashes are no longer supported when registering a setting. You should change it to underscores in later versions.', 'wp-ultimo'), '2.0.0');
+ _doing_it_wrong($setting, __('Dashes are no longer supported when registering a setting. You should change it to underscores in later versions.', 'wp-multisite-waas'), '2.0.0');
}
$setting_value = $settings[ $setting ] ?? $default_value;
@@ -401,7 +401,7 @@ class Settings {
* We no longer support settings with hyphens.
*/
if (str_contains($field_slug, '-')) {
- _doing_it_wrong($field_slug, __('Dashes are no longer supported when registering a setting. You should change it to underscores in later versions.', 'wp-ultimo'), '2.0.0');
+ _doing_it_wrong($field_slug, __('Dashes are no longer supported when registering a setting. You should change it to underscores in later versions.', 'wp-multisite-waas'), '2.0.0');
}
$default_order = (count($fields) + 1) * 10;
@@ -522,8 +522,8 @@ class Settings {
$this->add_section(
'general',
[
- 'title' => __('General', 'wp-ultimo'),
- 'desc' => __('General', 'wp-ultimo'),
+ 'title' => __('General', 'wp-multisite-waas'),
+ 'desc' => __('General', 'wp-multisite-waas'),
]
);
@@ -531,8 +531,8 @@ class Settings {
'general',
'company_header',
[
- 'title' => __('Your Business', 'wp-ultimo'),
- 'desc' => __('General information about your business..', 'wp-ultimo'),
+ 'title' => __('Your Business', 'wp-multisite-waas'),
+ 'desc' => __('General information about your business..', 'wp-multisite-waas'),
'type' => 'header',
],
10
@@ -542,8 +542,8 @@ class Settings {
'general',
'company_name',
[
- 'title' => __('Company Name', 'wp-ultimo'),
- 'desc' => __('This name is used when generating invoices, for example.', 'wp-ultimo'),
+ 'title' => __('Company Name', 'wp-multisite-waas'),
+ 'desc' => __('This name is used when generating invoices, for example.', 'wp-multisite-waas'),
'type' => 'text',
'default' => get_network_option(null, 'site_name'),
],
@@ -554,8 +554,8 @@ class Settings {
'general',
'company_logo',
[
- 'title' => __('Upload Company Logo', 'wp-ultimo'),
- 'desc' => __('Add your company logo to be used on the login page and other places.', 'wp-ultimo'),
+ 'title' => __('Upload Company Logo', 'wp-multisite-waas'),
+ 'desc' => __('Add your company logo to be used on the login page and other places.', 'wp-multisite-waas'),
'type' => 'image',
'default' => '',
],
@@ -566,8 +566,8 @@ class Settings {
'general',
'company_email',
[
- 'title' => __('Company Email Address', 'wp-ultimo'),
- 'desc' => __('This email is used when generating invoices, for example.', 'wp-ultimo'),
+ 'title' => __('Company Email Address', 'wp-multisite-waas'),
+ 'desc' => __('This email is used when generating invoices, for example.', 'wp-multisite-waas'),
'type' => 'text',
'default' => get_network_option(null, 'admin_email'),
],
@@ -578,8 +578,8 @@ class Settings {
'general',
'company_address',
[
- 'title' => __('Company Address', 'wp-ultimo'),
- 'desc' => __('This address is used when generating invoices.', 'wp-ultimo'),
+ 'title' => __('Company Address', 'wp-multisite-waas'),
+ 'desc' => __('This address is used when generating invoices.', 'wp-multisite-waas'),
'type' => 'textarea',
'placeholder' => "350 Fifth Avenue\nManhattan, \nNew York City, NY \n10118",
'default' => '',
@@ -594,8 +594,8 @@ class Settings {
'general',
'company_country',
[
- 'title' => __('Company Country', 'wp-ultimo'),
- 'desc' => __('This info is used when generating invoices, as well as for calculating when taxes apply in some contexts.', 'wp-ultimo'),
+ 'title' => __('Company Country', 'wp-multisite-waas'),
+ 'desc' => __('This info is used when generating invoices, as well as for calculating when taxes apply in some contexts.', 'wp-multisite-waas'),
'type' => 'select',
'options' => 'wu_get_countries',
'default' => [$this, 'get_default_company_country'],
@@ -607,8 +607,8 @@ class Settings {
'general',
'currency_header',
[
- 'title' => __('Currency Options', 'wp-ultimo'),
- 'desc' => __('The following options affect how prices are displayed on the frontend, the backend and in reports.', 'wp-ultimo'),
+ 'title' => __('Currency Options', 'wp-multisite-waas'),
+ 'desc' => __('The following options affect how prices are displayed on the frontend, the backend and in reports.', 'wp-multisite-waas'),
'type' => 'header',
],
70
@@ -618,8 +618,8 @@ class Settings {
'general',
'currency_symbol',
[
- 'title' => __('Currency', 'wp-ultimo'),
- 'desc' => __('Select the currency to be used in WP Multisite WaaS.', 'wp-ultimo'),
+ 'title' => __('Currency', 'wp-multisite-waas'),
+ 'desc' => __('Select the currency to be used in WP Multisite WaaS.', 'wp-multisite-waas'),
'type' => 'select',
'default' => 'USD',
'options' => 'wu_get_currencies',
@@ -631,16 +631,16 @@ class Settings {
'general',
'currency_position',
[
- 'title' => __('Currency Position', 'wp-ultimo'),
- 'desc' => __('This setting affects all prices displayed across the plugin elements.', 'wp-ultimo'),
+ 'title' => __('Currency Position', 'wp-multisite-waas'),
+ 'desc' => __('This setting affects all prices displayed across the plugin elements.', 'wp-multisite-waas'),
'desc' => '',
'type' => 'select',
'default' => '%s %v',
'options' => [
- '%s%v' => __('Left ($99.99)', 'wp-ultimo'),
- '%v%s' => __('Right (99.99$)', 'wp-ultimo'),
- '%s %v' => __('Left with space ($ 99.99)', 'wp-ultimo'),
- '%v %s' => __('Right with space (99.99 $)', 'wp-ultimo'),
+ '%s%v' => __('Left ($99.99)', 'wp-multisite-waas'),
+ '%v%s' => __('Right (99.99$)', 'wp-multisite-waas'),
+ '%s %v' => __('Left with space ($ 99.99)', 'wp-multisite-waas'),
+ '%v %s' => __('Right with space (99.99 $)', 'wp-multisite-waas'),
],
],
90
@@ -650,8 +650,8 @@ class Settings {
'general',
'decimal_separator',
[
- 'title' => __('Decimal Separator', 'wp-ultimo'),
- 'desc' => __('This setting affects all prices displayed across the plugin elements.', 'wp-ultimo'),
+ 'title' => __('Decimal Separator', 'wp-multisite-waas'),
+ 'desc' => __('This setting affects all prices displayed across the plugin elements.', 'wp-multisite-waas'),
'type' => 'text',
'default' => '.',
],
@@ -662,8 +662,8 @@ class Settings {
'general',
'thousand_separator',
[
- 'title' => __('Thousand Separator', 'wp-ultimo'),
- 'desc' => __('This setting affects all prices displayed across the plugin elements.', 'wp-ultimo'),
+ 'title' => __('Thousand Separator', 'wp-multisite-waas'),
+ 'desc' => __('This setting affects all prices displayed across the plugin elements.', 'wp-multisite-waas'),
'type' => 'text',
'default' => ',',
'raw' => true,
@@ -675,8 +675,8 @@ class Settings {
'general',
'precision',
[
- 'title' => __('Number of Decimals', 'wp-ultimo'),
- 'desc' => __('This setting affects all prices displayed across the plugin elements.', 'wp-ultimo'),
+ 'title' => __('Number of Decimals', 'wp-multisite-waas'),
+ 'desc' => __('This setting affects all prices displayed across the plugin elements.', 'wp-multisite-waas'),
'type' => 'number',
'default' => '2',
'min' => 0,
@@ -692,8 +692,8 @@ class Settings {
$this->add_section(
'login-and-registration',
[
- 'title' => __('Login & Registration', 'wp-ultimo'),
- 'desc' => __('Login & Registration', 'wp-ultimo'),
+ 'title' => __('Login & Registration', 'wp-multisite-waas'),
+ 'desc' => __('Login & Registration', 'wp-multisite-waas'),
'icon' => 'dashicons-wu-key',
]
);
@@ -702,8 +702,8 @@ class Settings {
'login-and-registration',
'registration_header',
[
- 'title' => __('Login and Registration Options', 'wp-ultimo'),
- 'desc' => __('Options related to registration and login behavior.', 'wp-ultimo'),
+ 'title' => __('Login and Registration Options', 'wp-multisite-waas'),
+ 'desc' => __('Options related to registration and login behavior.', 'wp-multisite-waas'),
'type' => 'header',
]
);
@@ -712,8 +712,8 @@ class Settings {
'login-and-registration',
'enable_registration',
[
- 'title' => __('Enable Registration', 'wp-ultimo'),
- 'desc' => __('Turning this toggle off will disable registration in all checkout forms across the network.', 'wp-ultimo'),
+ 'title' => __('Enable Registration', 'wp-multisite-waas'),
+ 'desc' => __('Turning this toggle off will disable registration in all checkout forms across the network.', 'wp-multisite-waas'),
'type' => 'toggle',
'default' => 1,
]
@@ -723,8 +723,8 @@ class Settings {
'login-and-registration',
'enable_email_verification',
[
- 'title' => __('Enable email verification', 'wp-ultimo'),
- 'desc' => __('Enabling this option will require the customer to verify their email address when subscribing to a free plan or a plan with a trial period. Sites will not be created until the customer email verification status is changed to verified.', 'wp-ultimo'),
+ 'title' => __('Enable email verification', 'wp-multisite-waas'),
+ 'desc' => __('Enabling this option will require the customer to verify their email address when subscribing to a free plan or a plan with a trial period. Sites will not be created until the customer email verification status is changed to verified.', 'wp-multisite-waas'),
'type' => 'toggle',
'default' => 1,
]
@@ -735,9 +735,9 @@ class Settings {
'default_registration_page',
[
'type' => 'model',
- 'title' => __('Default Registration Page', 'wp-ultimo'),
- 'placeholder' => __('Search pages on the main site...', 'wp-ultimo'),
- 'desc' => __('Only published pages on the main site are available for selection, and you need to make sure they contain a [wu_checkout] shortcode.', 'wp-ultimo'),
+ 'title' => __('Default Registration Page', 'wp-multisite-waas'),
+ 'placeholder' => __('Search pages on the main site...', 'wp-multisite-waas'),
+ 'desc' => __('Only published pages on the main site are available for selection, and you need to make sure they contain a [wu_checkout] shortcode.', 'wp-multisite-waas'),
'tooltip' => '',
'html_attr' => [
'data-base-link' => get_admin_url(wu_get_main_site_id(), 'post.php?action=edit&post'),
@@ -755,8 +755,8 @@ class Settings {
'login-and-registration',
'enable_custom_login_page',
[
- 'title' => __('Use Custom Login Page', 'wp-ultimo'),
- 'desc' => __('Turn this toggle on to select a custom page to be used as the login page.', 'wp-ultimo'),
+ 'title' => __('Use Custom Login Page', 'wp-multisite-waas'),
+ 'desc' => __('Turn this toggle on to select a custom page to be used as the login page.', 'wp-multisite-waas'),
'type' => 'toggle',
'default' => 0,
]
@@ -767,9 +767,9 @@ class Settings {
'default_login_page',
[
'type' => 'model',
- 'title' => __('Default Login Page', 'wp-ultimo'),
- 'placeholder' => __('Search pages on the main site...', 'wp-ultimo'),
- 'desc' => __('Only published pages on the main site are available for selection, and you need to make sure they contain a [wu_login_form] shortcode.', 'wp-ultimo'),
+ 'title' => __('Default Login Page', 'wp-multisite-waas'),
+ 'placeholder' => __('Search pages on the main site...', 'wp-multisite-waas'),
+ 'desc' => __('Only published pages on the main site are available for selection, and you need to make sure they contain a [wu_login_form] shortcode.', 'wp-multisite-waas'),
'tooltip' => '',
'html_attr' => [
'data-base-link' => get_admin_url(wu_get_main_site_id(), 'post.php?action=edit&post'),
@@ -789,8 +789,8 @@ class Settings {
'login-and-registration',
'obfuscate_original_login_url',
[
- 'title' => __('Obfuscate the Original Login URL (wp-login.php)', 'wp-ultimo'),
- 'desc' => __('If this option is enabled, we will display a 404 error when a user tries to access the original wp-login.php link. This is useful to prevent brute-force attacks.', 'wp-ultimo'),
+ 'title' => __('Obfuscate the Original Login URL (wp-login.php)', 'wp-multisite-waas'),
+ 'desc' => __('If this option is enabled, we will display a 404 error when a user tries to access the original wp-login.php link. This is useful to prevent brute-force attacks.', 'wp-multisite-waas'),
'type' => 'toggle',
'default' => 0,
'require' => [
@@ -803,8 +803,8 @@ class Settings {
'login-and-registration',
'subsite_custom_login_logo',
[
- 'title' => __('Use Sub-site logo on Login Page', 'wp-ultimo'),
- 'desc' => __('Toggle this option to replace the WordPress logo on the sub-site login page with the logo set for that sub-site. If unchecked, the network logo will be used instead.', 'wp-ultimo'),
+ 'title' => __('Use Sub-site logo on Login Page', 'wp-multisite-waas'),
+ 'desc' => __('Toggle this option to replace the WordPress logo on the sub-site login page with the logo set for that sub-site. If unchecked, the network logo will be used instead.', 'wp-multisite-waas'),
'type' => 'toggle',
'default' => 0,
'require' => [
@@ -817,8 +817,8 @@ class Settings {
'login-and-registration',
'force_publish_sites_sync',
[
- 'title' => __('Force Synchronous Site Publication ', 'wp-ultimo'),
- 'desc' => __('By default, when a new pending site needs to be converted into a real network site, the publishing process happens via Job Queue, asynchronously. Enable this option to force the publication to happen in the same request as the signup. Be careful, as this can cause timeouts depending on the size of the site templates being copied.', 'wp-ultimo'),
+ 'title' => __('Force Synchronous Site Publication ', 'wp-multisite-waas'),
+ 'desc' => __('By default, when a new pending site needs to be converted into a real network site, the publishing process happens via Job Queue, asynchronously. Enable this option to force the publication to happen in the same request as the signup. Be careful, as this can cause timeouts depending on the size of the site templates being copied.', 'wp-multisite-waas'),
'type' => 'toggle',
'default' => 0,
]
@@ -828,8 +828,8 @@ class Settings {
'login-and-registration',
'other_header',
[
- 'title' => __('Other Options', 'wp-ultimo'),
- 'desc' => __('Other registration-related options.', 'wp-ultimo'),
+ 'title' => __('Other Options', 'wp-multisite-waas'),
+ 'desc' => __('Other registration-related options.', 'wp-multisite-waas'),
'type' => 'header',
]
);
@@ -838,8 +838,8 @@ class Settings {
'login-and-registration',
'default_role',
[
- 'title' => __('Default Role', 'wp-ultimo'),
- 'desc' => __('Set the role to be applied to the user during the signup process.', 'wp-ultimo'),
+ 'title' => __('Default Role', 'wp-multisite-waas'),
+ 'desc' => __('Set the role to be applied to the user during the signup process.', 'wp-multisite-waas'),
'type' => 'select',
'default' => 'administrator',
'options' => 'wu_get_roles_as_options',
@@ -850,8 +850,8 @@ class Settings {
'login-and-registration',
'add_users_to_main_site',
[
- 'title' => __('Add Users to the Main Site as well?', 'wp-ultimo'),
- 'desc' => __('Enabling this option will also add the user to the main site of your network.', 'wp-ultimo'),
+ 'title' => __('Add Users to the Main Site as well?', 'wp-multisite-waas'),
+ 'desc' => __('Enabling this option will also add the user to the main site of your network.', 'wp-multisite-waas'),
'type' => 'toggle',
'default' => 0,
]
@@ -861,8 +861,8 @@ class Settings {
'login-and-registration',
'main_site_default_role',
[
- 'title' => __('Add to Main Site with Role...', 'wp-ultimo'),
- 'desc' => __('Select the role WP Multisite WaaS should use when adding the user to the main site of your network. Be careful.', 'wp-ultimo'),
+ 'title' => __('Add to Main Site with Role...', 'wp-multisite-waas'),
+ 'desc' => __('Select the role WP Multisite WaaS should use when adding the user to the main site of your network. Be careful.', 'wp-multisite-waas'),
'type' => 'select',
'default' => 'subscriber',
'options' => 'wu_get_roles_as_options',
@@ -882,8 +882,8 @@ class Settings {
$this->add_section(
'memberships',
[
- 'title' => __('Memberships', 'wp-ultimo'),
- 'desc' => __('Memberships', 'wp-ultimo'),
+ 'title' => __('Memberships', 'wp-multisite-waas'),
+ 'desc' => __('Memberships', 'wp-multisite-waas'),
'icon' => 'dashicons-wu-infinity',
]
);
@@ -893,9 +893,9 @@ class Settings {
'default_update_page',
[
'type' => 'model',
- 'title' => __('Default Membership Update Page', 'wp-ultimo'),
- 'placeholder' => __('Search pages on the main site...', 'wp-ultimo'),
- 'desc' => __('Only published pages on the main site are available for selection, and you need to make sure they contain a [wu_checkout] shortcode.', 'wp-ultimo'),
+ 'title' => __('Default Membership Update Page', 'wp-multisite-waas'),
+ 'placeholder' => __('Search pages on the main site...', 'wp-multisite-waas'),
+ 'desc' => __('Only published pages on the main site are available for selection, and you need to make sure they contain a [wu_checkout] shortcode.', 'wp-multisite-waas'),
'tooltip' => '',
'html_attr' => [
'data-base-link' => get_admin_url(wu_get_main_site_id(), 'post.php?action=edit&post'),
@@ -913,9 +913,9 @@ class Settings {
'memberships',
'block_frontend',
[
- 'title' => __('Block Frontend Access', 'wp-ultimo'),
- 'desc' => __('Block the frontend access of network sites after a membership is no longer active.', 'wp-ultimo'),
- 'tooltip' => __('By default, if a user does not pay and the account goes inactive, only the admin panel will be blocked, but the user\'s site will still be accessible on the frontend. If enabled, this option will also block frontend access in those cases.', 'wp-ultimo'),
+ 'title' => __('Block Frontend Access', 'wp-multisite-waas'),
+ 'desc' => __('Block the frontend access of network sites after a membership is no longer active.', 'wp-multisite-waas'),
+ 'tooltip' => __('By default, if a user does not pay and the account goes inactive, only the admin panel will be blocked, but the user\'s site will still be accessible on the frontend. If enabled, this option will also block frontend access in those cases.', 'wp-multisite-waas'),
'type' => 'toggle',
'default' => 0,
]
@@ -925,8 +925,8 @@ class Settings {
'memberships',
'block_frontend_grace_period',
[
- 'title' => __('Frontend Block Grace Period', 'wp-ultimo'),
- 'desc' => __('Select the number of days WP Multisite WaaS should wait after the membership goes inactive before blocking the frontend access. Leave 0 to block immediately after the membership becomes inactive.', 'wp-ultimo'),
+ 'title' => __('Frontend Block Grace Period', 'wp-multisite-waas'),
+ 'desc' => __('Select the number of days WP Multisite WaaS should wait after the membership goes inactive before blocking the frontend access. Leave 0 to block immediately after the membership becomes inactive.', 'wp-multisite-waas'),
'type' => 'number',
'default' => 0,
'min' => 0,
@@ -940,8 +940,8 @@ class Settings {
'memberships',
'default_block_frontend_page',
[
- 'title' => __('Frontend Block Page', 'wp-ultimo'),
- 'desc' => __('Select a page on the main site to redirect user if access is blocked', 'wp-ultimo'),
+ 'title' => __('Frontend Block Page', 'wp-multisite-waas'),
+ 'desc' => __('Select a page on the main site to redirect user if access is blocked', 'wp-multisite-waas'),
'tooltip' => '',
'html_attr' => [
'data-base-link' => get_admin_url(wu_get_main_site_id(), 'post.php?action=edit&post'),
@@ -961,8 +961,8 @@ class Settings {
'memberships',
'enable_multiple_memberships',
[
- 'title' => __('Enable Multiple Memberships per Customer', 'wp-ultimo'),
- 'desc' => __('Enabling this option will allow your users to create more than one membership.', 'wp-ultimo'),
+ 'title' => __('Enable Multiple Memberships per Customer', 'wp-multisite-waas'),
+ 'desc' => __('Enabling this option will allow your users to create more than one membership.', 'wp-multisite-waas'),
'type' => 'toggle',
'default' => 0,
]
@@ -972,8 +972,8 @@ class Settings {
'memberships',
'enable_multiple_sites',
[
- 'title' => __('Enable Multiple Sites per Membership', 'wp-ultimo'),
- 'desc' => __('Enabling this option will allow your customers to create more than one site. You can limit how many sites your users can create in a per plan basis.', 'wp-ultimo'),
+ 'title' => __('Enable Multiple Sites per Membership', 'wp-multisite-waas'),
+ 'desc' => __('Enabling this option will allow your customers to create more than one site. You can limit how many sites your users can create in a per plan basis.', 'wp-multisite-waas'),
'type' => 'toggle',
'default' => 0,
]
@@ -983,15 +983,15 @@ class Settings {
'memberships',
'block_sites_on_downgrade',
[
- 'title' => __('Block Sites on Downgrade', 'wp-ultimo'),
- 'desc' => __('Choose how WP Multisite WaaS should handle client sites above their plan quota on downgrade.', 'wp-ultimo'),
+ 'title' => __('Block Sites on Downgrade', 'wp-multisite-waas'),
+ 'desc' => __('Choose how WP Multisite WaaS should handle client sites above their plan quota on downgrade.', 'wp-multisite-waas'),
'type' => 'select',
'default' => 'none',
'options' => [
- 'none' => __('Keep sites as is (do nothing)', 'wp-ultimo'),
- 'block-frontend' => __('Block only frontend access', 'wp-ultimo'),
- 'block-backend' => __('Block only backend access', 'wp-ultimo'),
- 'block-both' => __('Block both frontend and backend access', 'wp-ultimo'),
+ 'none' => __('Keep sites as is (do nothing)', 'wp-multisite-waas'),
+ 'block-frontend' => __('Block only frontend access', 'wp-multisite-waas'),
+ 'block-backend' => __('Block only backend access', 'wp-multisite-waas'),
+ 'block-both' => __('Block both frontend and backend access', 'wp-multisite-waas'),
],
'require' => [
'enable_multiple_sites' => true,
@@ -1003,14 +1003,14 @@ class Settings {
'memberships',
'move_posts_on_downgrade',
[
- 'title' => __('Move Posts on Downgrade', 'wp-ultimo'),
- 'desc' => __('Select how you want to handle the posts above the quota on downgrade. This will apply to all post types with quotas set.', 'wp-ultimo'),
+ 'title' => __('Move Posts on Downgrade', 'wp-multisite-waas'),
+ 'desc' => __('Select how you want to handle the posts above the quota on downgrade. This will apply to all post types with quotas set.', 'wp-multisite-waas'),
'type' => 'select',
'default' => 'none',
'options' => [
- 'none' => __('Keep posts as is (do nothing)', 'wp-ultimo'),
- 'trash' => __('Move posts above the new quota to the Trash', 'wp-ultimo'),
- 'draft' => __('Mark posts above the new quota as Drafts', 'wp-ultimo'),
+ 'none' => __('Keep posts as is (do nothing)', 'wp-multisite-waas'),
+ 'trash' => __('Move posts above the new quota to the Trash', 'wp-multisite-waas'),
+ 'draft' => __('Mark posts above the new quota as Drafts', 'wp-multisite-waas'),
],
]
);
@@ -1020,8 +1020,8 @@ class Settings {
'emulated_post_types_header',
[
'type' => 'header',
- 'title' => __('Emulated Post Types', 'wp-ultimo'),
- 'desc' => __('Emulates the registering of a custom post type to be able to create limits for it without having to activate plugins on the main site.', 'wp-ultimo'),
+ 'title' => __('Emulated Post Types', 'wp-multisite-waas'),
+ 'desc' => __('Emulates the registering of a custom post type to be able to create limits for it without having to activate plugins on the main site.', 'wp-multisite-waas'),
]
);
@@ -1030,7 +1030,7 @@ class Settings {
'emulated_post_types_explanation',
[
'type' => 'note',
- 'desc' => __('By default, WP Multisite WaaS only allows super admins to limit post types that are registered on the main site. This makes sense from a technical stand-point but it also forces you to have plugins network-activated in order to be able to set limitations for their custom post types. Using this option, you can emulate the registering of a post type. This will register them on the main site and allow you to create limits for them on your products.', 'wp-ultimo'),
+ 'desc' => __('By default, WP Multisite WaaS only allows super admins to limit post types that are registered on the main site. This makes sense from a technical stand-point but it also forces you to have plugins network-activated in order to be able to set limitations for their custom post types. Using this option, you can emulate the registering of a post type. This will register them on the main site and allow you to create limits for them on your products.', 'wp-multisite-waas'),
'classes' => '',
'wrapper_classes' => '',
]
@@ -1041,7 +1041,7 @@ class Settings {
'emulated_post_types_empty',
[
'type' => 'note',
- 'desc' => __('Add the first post type using the button below.', 'wp-ultimo'),
+ 'desc' => __('Add the first post type using the button below.', 'wp-multisite-waas'),
'classes' => 'wu-text-gray-600 wu-text-xs wu-text-center wu-w-full',
'wrapper_classes' => 'wu-bg-gray-100 wu-items-end',
'wrapper_html_attr' => [
@@ -1068,13 +1068,13 @@ class Settings {
'fields' => [
'emulated_post_types_remove' => [
'type' => 'note',
- 'desc' => sprintf(' emulated_post_types.splice(index, 1)">', __('Remove', 'wp-ultimo')),
+ 'desc' => sprintf(' emulated_post_types.splice(index, 1)">', __('Remove', 'wp-multisite-waas')),
'wrapper_classes' => 'wu-absolute wu-top-0 wu-right-0',
],
'emulated_post_types_slug' => [
'type' => 'text',
- 'title' => __('Post Type Slug', 'wp-ultimo'),
- 'placeholder' => __('e.g. product', 'wp-ultimo'),
+ 'title' => __('Post Type Slug', 'wp-multisite-waas'),
+ 'placeholder' => __('e.g. product', 'wp-multisite-waas'),
'wrapper_classes' => 'wu-w-5/12',
'html_attr' => [
'v-model' => 'emulated_post_type.post_type',
@@ -1083,8 +1083,8 @@ class Settings {
],
'emulated_post_types_label' => [
'type' => 'text',
- 'title' => __('Post Type Label', 'wp-ultimo'),
- 'placeholder' => __('e.g. Products', 'wp-ultimo'),
+ 'title' => __('Post Type Label', 'wp-multisite-waas'),
+ 'placeholder' => __('e.g. Products', 'wp-multisite-waas'),
'wrapper_classes' => 'wu-w-7/12 wu-ml-2',
'html_attr' => [
'v-model' => 'emulated_post_type.label',
@@ -1100,7 +1100,7 @@ class Settings {
'emulated_post_types_repeat',
[
'type' => 'submit',
- 'title' => __('+ Add Post Type', 'wp-ultimo'),
+ 'title' => __('+ Add Post Type', 'wp-multisite-waas'),
'classes' => 'wu-uppercase wu-text-2xs wu-text-blue-700 wu-border-none wu-bg-transparent wu-font-bold wu-text-right wu-w-full wu-cursor-pointer',
'wrapper_classes' => 'wu-bg-gray-100 wu-items-end',
'wrapper_html_attr' => [
@@ -1127,8 +1127,8 @@ class Settings {
$this->add_section(
'sites',
[
- 'title' => __('Sites', 'wp-ultimo'),
- 'desc' => __('Sites', 'wp-ultimo'),
+ 'title' => __('Sites', 'wp-multisite-waas'),
+ 'desc' => __('Sites', 'wp-multisite-waas'),
'icon' => 'dashicons-wu-browser',
]
);
@@ -1137,8 +1137,8 @@ class Settings {
'sites',
'sites_features_heading',
[
- 'title' => __('Site Options', 'wp-ultimo'),
- 'desc' => __('Configure certain aspects of how network Sites behave.', 'wp-ultimo'),
+ 'title' => __('Site Options', 'wp-multisite-waas'),
+ 'desc' => __('Configure certain aspects of how network Sites behave.', 'wp-multisite-waas'),
'type' => 'header',
]
);
@@ -1148,9 +1148,9 @@ class Settings {
'default_new_site_page',
[
'type' => 'model',
- 'title' => __('Default New Site Page', 'wp-ultimo'),
- 'placeholder' => __('Search pages on the main site...', 'wp-ultimo'),
- 'desc' => __('Only published pages on the main site are available for selection, and you need to make sure they contain a [wu_checkout] shortcode.', 'wp-ultimo'),
+ 'title' => __('Default New Site Page', 'wp-multisite-waas'),
+ 'placeholder' => __('Search pages on the main site...', 'wp-multisite-waas'),
+ 'desc' => __('Only published pages on the main site are available for selection, and you need to make sure they contain a [wu_checkout] shortcode.', 'wp-multisite-waas'),
'tooltip' => '',
'html_attr' => [
'data-base-link' => get_admin_url(wu_get_main_site_id(), 'post.php?action=edit&post'),
@@ -1168,8 +1168,8 @@ class Settings {
'sites',
'enable_visits_limiting',
[
- 'title' => __('Enable Visits Limitation & Counting', 'wp-ultimo'),
- 'desc' => __('Enabling this option will add visits limitation settings to the plans and add the functionality necessary to count site visits on the front-end.', 'wp-ultimo'),
+ 'title' => __('Enable Visits Limitation & Counting', 'wp-multisite-waas'),
+ 'desc' => __('Enabling this option will add visits limitation settings to the plans and add the functionality necessary to count site visits on the front-end.', 'wp-multisite-waas'),
'type' => 'toggle',
'default' => 1,
]
@@ -1179,8 +1179,8 @@ class Settings {
'sites',
'enable_screenshot_generator',
[
- 'title' => __('Enable Screenshot Generator', 'wp-ultimo'),
- 'desc' => __('With this option is enabled, WP Multisite WaaS will take a screenshot for every newly created site on your network and set the resulting image as that site\'s featured image. This features requires a valid license key to work and it is not supported for local sites.', 'wp-ultimo'),
+ 'title' => __('Enable Screenshot Generator', 'wp-multisite-waas'),
+ 'desc' => __('With this option is enabled, WP Multisite WaaS will take a screenshot for every newly created site on your network and set the resulting image as that site\'s featured image. This features requires a valid license key to work and it is not supported for local sites.', 'wp-multisite-waas'),
'type' => 'toggle',
'default' => 1,
]
@@ -1190,8 +1190,8 @@ class Settings {
'sites',
'wordpress_features_heading',
[
- 'title' => __('WordPress Features', 'wp-ultimo'),
- 'desc' => __('Override default WordPress settings for network Sites.', 'wp-ultimo'),
+ 'title' => __('WordPress Features', 'wp-multisite-waas'),
+ 'desc' => __('Override default WordPress settings for network Sites.', 'wp-multisite-waas'),
'type' => 'header',
]
);
@@ -1200,9 +1200,9 @@ class Settings {
'sites',
'menu_items_plugin',
[
- 'title' => __('Enable Plugins Menu', 'wp-ultimo'),
- 'desc' => __('Do you want to let users on the network to have access to the Plugins page, activating plugins for their sites? If this option is disabled, the customer will not be able to manage the site plugins.', 'wp-ultimo'),
- 'tooltip' => __('You can select which plugins the user will be able to use for each plan.', 'wp-ultimo'),
+ 'title' => __('Enable Plugins Menu', 'wp-multisite-waas'),
+ 'desc' => __('Do you want to let users on the network to have access to the Plugins page, activating plugins for their sites? If this option is disabled, the customer will not be able to manage the site plugins.', 'wp-multisite-waas'),
+ 'tooltip' => __('You can select which plugins the user will be able to use for each plan.', 'wp-multisite-waas'),
'type' => 'toggle',
'default' => 1,
]
@@ -1212,9 +1212,9 @@ class Settings {
'sites',
'add_new_users',
[
- 'title' => __('Add New Users', 'wp-ultimo'),
- 'desc' => __('Allow site administrators to add new users to their site via the "Users → Add New" page.', 'wp-ultimo'),
- 'tooltip' => __('You can limit the number of users allowed for each plan.', 'wp-ultimo'),
+ 'title' => __('Add New Users', 'wp-multisite-waas'),
+ 'desc' => __('Allow site administrators to add new users to their site via the "Users → Add New" page.', 'wp-multisite-waas'),
+ 'tooltip' => __('You can limit the number of users allowed for each plan.', 'wp-multisite-waas'),
'type' => 'toggle',
'default' => 1,
]
@@ -1224,8 +1224,8 @@ class Settings {
'sites',
'site_template_features_heading',
[
- 'title' => __('Site Template Options', 'wp-ultimo'),
- 'desc' => __('Configure certain aspects of how Site Templates behave.', 'wp-ultimo'),
+ 'title' => __('Site Template Options', 'wp-multisite-waas'),
+ 'desc' => __('Configure certain aspects of how Site Templates behave.', 'wp-multisite-waas'),
'type' => 'header',
]
);
@@ -1234,8 +1234,8 @@ class Settings {
'sites',
'allow_template_switching',
[
- 'title' => __('Allow Template Switching', 'wp-ultimo'),
- 'desc' => __("Enabling this option will add an option on your client's dashboard to switch their site template to another one available on the catalog of available templates. The data is lost after a switch as the data from the new template is copied over.", 'wp-ultimo'),
+ 'title' => __('Allow Template Switching', 'wp-multisite-waas'),
+ 'desc' => __("Enabling this option will add an option on your client's dashboard to switch their site template to another one available on the catalog of available templates. The data is lost after a switch as the data from the new template is copied over.", 'wp-multisite-waas'),
'type' => 'toggle',
'default' => 1,
]
@@ -1245,8 +1245,8 @@ class Settings {
'sites',
'allow_own_site_as_template',
[
- 'title' => __('Allow Users to use their own Sites as Templates', 'wp-ultimo'),
- 'desc' => __('Enabling this option will add the user own sites to the template screen, allowing them to create a new site based on the content and customizations they made previously.', 'wp-ultimo'),
+ 'title' => __('Allow Users to use their own Sites as Templates', 'wp-multisite-waas'),
+ 'desc' => __('Enabling this option will add the user own sites to the template screen, allowing them to create a new site based on the content and customizations they made previously.', 'wp-multisite-waas'),
'type' => 'toggle',
'default' => 0,
'require' => [
@@ -1259,8 +1259,8 @@ class Settings {
'sites',
'copy_media',
[
- 'title' => __('Copy Media on Template Duplication?', 'wp-ultimo'),
- 'desc' => __('Checking this option will copy the media uploaded on the template site to the newly created site. This can be overridden on each of the plans.', 'wp-ultimo'),
+ 'title' => __('Copy Media on Template Duplication?', 'wp-multisite-waas'),
+ 'desc' => __('Checking this option will copy the media uploaded on the template site to the newly created site. This can be overridden on each of the plans.', 'wp-multisite-waas'),
'type' => 'toggle',
'default' => 1,
]
@@ -1270,8 +1270,8 @@ class Settings {
'sites',
'stop_template_indexing',
[
- 'title' => __('Prevent Search Engines from indexing Site Templates', 'wp-ultimo'),
- 'desc' => __('Checking this option will discourage search engines from indexing all the Site Templates on your network.', 'wp-ultimo'),
+ 'title' => __('Prevent Search Engines from indexing Site Templates', 'wp-multisite-waas'),
+ 'desc' => __('Checking this option will discourage search engines from indexing all the Site Templates on your network.', 'wp-multisite-waas'),
'type' => 'toggle',
'default' => 0,
]
@@ -1287,8 +1287,8 @@ class Settings {
$this->add_section(
'payment-gateways',
[
- 'title' => __('Payments', 'wp-ultimo'),
- 'desc' => __('Payments', 'wp-ultimo'),
+ 'title' => __('Payments', 'wp-multisite-waas'),
+ 'desc' => __('Payments', 'wp-multisite-waas'),
'icon' => 'dashicons-wu-credit-card',
]
);
@@ -1297,8 +1297,8 @@ class Settings {
'payment-gateways',
'main_header',
[
- 'title' => __('Payment Settings', 'wp-ultimo'),
- 'desc' => __('The following options affect how prices are displayed on the frontend, the backend and in reports.', 'wp-ultimo'),
+ 'title' => __('Payment Settings', 'wp-multisite-waas'),
+ 'desc' => __('The following options affect how prices are displayed on the frontend, the backend and in reports.', 'wp-multisite-waas'),
'type' => 'header',
'show_as_submenu' => true,
]
@@ -1308,8 +1308,8 @@ class Settings {
'payment-gateways',
'force_auto_renew',
[
- 'title' => __('Force Auto-Renew', 'wp-ultimo'),
- 'desc' => __('Enable this option if you want to make sure memberships are created with auto-renew activated whenever the selected gateway supports it. Disabling this option will show an auto-renew option during checkout.', 'wp-ultimo'),
+ 'title' => __('Force Auto-Renew', 'wp-multisite-waas'),
+ 'desc' => __('Enable this option if you want to make sure memberships are created with auto-renew activated whenever the selected gateway supports it. Disabling this option will show an auto-renew option during checkout.', 'wp-multisite-waas'),
'tooltip' => '',
'type' => 'toggle',
'default' => 1,
@@ -1320,8 +1320,8 @@ class Settings {
'payment-gateways',
'allow_trial_without_payment_method',
[
- 'title' => __('Allow Trials without Payment Method', 'wp-ultimo'),
- 'desc' => __('By default, WP Multisite WaaS asks customers to add a payment method on sign-up even if a trial period is present. Enable this option to only ask for a payment method when the trial period is over.', 'wp-ultimo'),
+ 'title' => __('Allow Trials without Payment Method', 'wp-multisite-waas'),
+ 'desc' => __('By default, WP Multisite WaaS asks customers to add a payment method on sign-up even if a trial period is present. Enable this option to only ask for a payment method when the trial period is over.', 'wp-multisite-waas'),
'tooltip' => '',
'type' => 'toggle',
'default' => 0,
@@ -1332,9 +1332,9 @@ class Settings {
'payment-gateways',
'attach_invoice_pdf',
[
- 'title' => __('Send Invoice on Payment Confirmation', 'wp-ultimo'),
- 'desc' => __('Enabling this option will attach a PDF invoice (marked paid) with the payment confirmation email. This option does not apply to the Manual Gateway, which sends invoices regardless of this option.', 'wp-ultimo'),
- 'tooltip' => __('The invoice files will be saved on the wp-content/uploads/wu-invoices folder.', 'wp-ultimo'),
+ 'title' => __('Send Invoice on Payment Confirmation', 'wp-multisite-waas'),
+ 'desc' => __('Enabling this option will attach a PDF invoice (marked paid) with the payment confirmation email. This option does not apply to the Manual Gateway, which sends invoices regardless of this option.', 'wp-multisite-waas'),
+ 'tooltip' => __('The invoice files will be saved on the wp-content/uploads/wu-invoices folder.', 'wp-multisite-waas'),
'type' => 'toggle',
'default' => 1,
]
@@ -1344,14 +1344,14 @@ class Settings {
'payment-gateways',
'invoice_numbering_scheme',
[
- 'title' => __('Invoice Numbering Scheme', 'wp-ultimo'),
- 'desc' => __('What should WP Multisite WaaS use as the invoice number?', 'wp-ultimo'),
+ 'title' => __('Invoice Numbering Scheme', 'wp-multisite-waas'),
+ 'desc' => __('What should WP Multisite WaaS use as the invoice number?', 'wp-multisite-waas'),
'type' => 'select',
'default' => 'reference_code',
'tooltip' => '',
'options' => [
- 'reference_code' => __('Payment Reference Code', 'wp-ultimo'),
- 'sequential_number' => __('Sequential Number', 'wp-ultimo'),
+ 'reference_code' => __('Payment Reference Code', 'wp-multisite-waas'),
+ 'sequential_number' => __('Sequential Number', 'wp-multisite-waas'),
],
]
);
@@ -1360,8 +1360,8 @@ class Settings {
'payment-gateways',
'next_invoice_number',
[
- 'title' => __('Next Invoice Number', 'wp-ultimo'),
- 'desc' => __('This number will be used as the invoice number for the next invoice generated on the system. It is incremented by one every time a new invoice is created. You can change it and save it to reset the invoice sequential number to a specific value.', 'wp-ultimo'),
+ 'title' => __('Next Invoice Number', 'wp-multisite-waas'),
+ 'desc' => __('This number will be used as the invoice number for the next invoice generated on the system. It is incremented by one every time a new invoice is created. You can change it and save it to reset the invoice sequential number to a specific value.', 'wp-multisite-waas'),
'type' => 'number',
'default' => '1',
'min' => 0,
@@ -1375,9 +1375,9 @@ class Settings {
'payment-gateways',
'invoice_prefix',
[
- 'title' => __('Invoice Number Prefix', 'wp-ultimo'),
- 'placeholder' => __('INV00', 'wp-ultimo'),
- 'desc' => sprintf(__('Use %%YEAR%%, %%MONTH%%, and %%DAY%% to create a dynamic placeholder. E.g. %%YEAR%%-%%MONTH%%-INV will become %s.', 'wp-ultimo'), date('Y') . '-' . date('m') . '-INV'), // phpcs:ignore
+ 'title' => __('Invoice Number Prefix', 'wp-multisite-waas'),
+ 'placeholder' => __('INV00', 'wp-multisite-waas'),
+ 'desc' => sprintf(__('Use %%YEAR%%, %%MONTH%%, and %%DAY%% to create a dynamic placeholder. E.g. %%YEAR%%-%%MONTH%%-INV will become %s.', 'wp-multisite-waas'), date('Y') . '-' . date('m') . '-INV'), // phpcs:ignore
'default' => '',
'type' => 'text',
'raw' => true, // Necessary to prevent the removal of the %% tags.
@@ -1391,8 +1391,8 @@ class Settings {
'payment-gateways',
'gateways_header',
[
- 'title' => __('Payment Gateways', 'wp-ultimo'),
- 'desc' => __('Activate and configure the installed payment gateways in this section.', 'wp-ultimo'),
+ 'title' => __('Payment Gateways', 'wp-multisite-waas'),
+ 'desc' => __('Activate and configure the installed payment gateways in this section.', 'wp-multisite-waas'),
'type' => 'header',
'show_as_submenu' => true,
]
@@ -1407,8 +1407,8 @@ class Settings {
$this->add_section(
'emails',
[
- 'title' => __('Emails', 'wp-ultimo'),
- 'desc' => __('Emails', 'wp-ultimo'),
+ 'title' => __('Emails', 'wp-multisite-waas'),
+ 'desc' => __('Emails', 'wp-multisite-waas'),
'icon' => 'dashicons-wu-email',
]
);
@@ -1423,8 +1423,8 @@ class Settings {
$this->add_section(
'domain-mapping',
[
- 'title' => __('Domain Mapping', 'wp-ultimo'),
- 'desc' => __('Domain Mapping', 'wp-ultimo'),
+ 'title' => __('Domain Mapping', 'wp-multisite-waas'),
+ 'desc' => __('Domain Mapping', 'wp-multisite-waas'),
'icon' => 'dashicons-wu-link',
]
);
@@ -1439,8 +1439,8 @@ class Settings {
$this->add_section(
'sso',
[
- 'title' => __('Single Sign-On', 'wp-ultimo'),
- 'desc' => __('Single Sign-On', 'wp-ultimo'),
+ 'title' => __('Single Sign-On', 'wp-multisite-waas'),
+ 'desc' => __('Single Sign-On', 'wp-multisite-waas'),
'icon' => 'dashicons-wu-add-user',
]
);
@@ -1455,8 +1455,8 @@ class Settings {
$this->add_section(
'integrations',
[
- 'title' => __('Integrations', 'wp-ultimo'),
- 'desc' => __('Integrations', 'wp-ultimo'),
+ 'title' => __('Integrations', 'wp-multisite-waas'),
+ 'desc' => __('Integrations', 'wp-multisite-waas'),
'icon' => 'dashicons-wu-power-plug',
]
);
@@ -1465,8 +1465,8 @@ class Settings {
'integrations',
'hosting_providers_header',
[
- 'title' => __('Hosting or Panel Providers', 'wp-ultimo'),
- 'desc' => __('Configure and manage the integration with your Hosting or Panel Provider.', 'wp-ultimo'),
+ 'title' => __('Hosting or Panel Providers', 'wp-multisite-waas'),
+ 'desc' => __('Configure and manage the integration with your Hosting or Panel Provider.', 'wp-multisite-waas'),
'type' => 'header',
'show_as_submenu' => true,
]
@@ -1482,8 +1482,8 @@ class Settings {
$this->add_section(
'other',
[
- 'title' => __('Other Options', 'wp-ultimo'),
- 'desc' => __('Other Options', 'wp-ultimo'),
+ 'title' => __('Other Options', 'wp-multisite-waas'),
+ 'desc' => __('Other Options', 'wp-multisite-waas'),
'icon' => 'dashicons-wu-switch',
'order' => 1000,
]
@@ -1493,8 +1493,8 @@ class Settings {
'other',
'Other_header',
[
- 'title' => __('Miscellaneous', 'wp-ultimo'),
- 'desc' => __('Other options that do not fit anywhere else.', 'wp-ultimo'),
+ 'title' => __('Miscellaneous', 'wp-multisite-waas'),
+ 'desc' => __('Other options that do not fit anywhere else.', 'wp-multisite-waas'),
'type' => 'header',
]
);
@@ -1505,8 +1505,8 @@ class Settings {
'other',
'hide_tours',
[
- 'title' => __('Hide UI Tours', 'wp-ultimo') . $preview_image,
- 'desc' => __('The UI tours showed by WP Multisite WaaS should permanently hide themselves after being seen but if they persist for whatever reason, toggle this option to force them into their viewed state - which will prevent them from showing up again.', 'wp-ultimo'),
+ 'title' => __('Hide UI Tours', 'wp-multisite-waas') . $preview_image,
+ 'desc' => __('The UI tours showed by WP Multisite WaaS should permanently hide themselves after being seen but if they persist for whatever reason, toggle this option to force them into their viewed state - which will prevent them from showing up again.', 'wp-multisite-waas'),
'type' => 'toggle',
'default' => 0,
]
@@ -1518,8 +1518,8 @@ class Settings {
'other',
'disable_image_zoom',
[
- 'title' => __('Disable "Hover to Zoom"', 'wp-ultimo') . $preview_image_2,
- 'desc' => __('By default, WP Multisite WaaS adds a "hover to zoom" feature, allowing network admins to see larger version of site screenshots and other images across the UI in full-size when hovering over them. You can disable that feature here. Preview tags like the above are not affected.', 'wp-ultimo'),
+ 'title' => __('Disable "Hover to Zoom"', 'wp-multisite-waas') . $preview_image_2,
+ 'desc' => __('By default, WP Multisite WaaS adds a "hover to zoom" feature, allowing network admins to see larger version of site screenshots and other images across the UI in full-size when hovering over them. You can disable that feature here. Preview tags like the above are not affected.', 'wp-multisite-waas'),
'type' => 'toggle',
'default' => 0,
]
@@ -1529,8 +1529,8 @@ class Settings {
'other',
'error_reporting_header',
[
- 'title' => __('Logging', 'wp-ultimo'),
- 'desc' => __('Log WP Multisite WaaS data. This is useful for debugging purposes.', 'wp-ultimo'),
+ 'title' => __('Logging', 'wp-multisite-waas'),
+ 'desc' => __('Log WP Multisite WaaS data. This is useful for debugging purposes.', 'wp-multisite-waas'),
'type' => 'header',
]
);
@@ -1539,15 +1539,15 @@ class Settings {
'other',
'error_logging_level',
[
- 'title' => __('Logging Level', 'wp-ultimo'),
- 'desc' => __('Select the level of logging you want to use.', 'wp-ultimo'),
+ 'title' => __('Logging Level', 'wp-multisite-waas'),
+ 'desc' => __('Select the level of logging you want to use.', 'wp-multisite-waas'),
'type' => 'select',
'default' => 'default',
'options' => [
- 'default' => __('PHP Default', 'wp-ultimo'),
- 'disabled' => __('Disabled', 'wp-ultimo'),
- 'errors' => __('Errors Only', 'wp-ultimo'),
- 'all' => __('Everything', 'wp-ultimo'),
+ 'default' => __('PHP Default', 'wp-multisite-waas'),
+ 'disabled' => __('Disabled', 'wp-multisite-waas'),
+ 'errors' => __('Errors Only', 'wp-multisite-waas'),
+ 'all' => __('Everything', 'wp-multisite-waas'),
],
]
);
@@ -1556,8 +1556,8 @@ class Settings {
'other',
'enable_error_reporting',
[
- 'title' => __('Send Error Data to WP Multisite WaaS Developers', 'wp-ultimo'),
- 'desc' => __('With this option enabled, every time your installation runs into an error related to WP Multisite WaaS, that error data will be sent to us. No sensitive data gets collected, only environmental stuff (e.g. if this is this is a subdomain network, etc).', 'wp-ultimo'),
+ 'title' => __('Send Error Data to WP Multisite WaaS Developers', 'wp-multisite-waas'),
+ 'desc' => __('With this option enabled, every time your installation runs into an error related to WP Multisite WaaS, that error data will be sent to us. No sensitive data gets collected, only environmental stuff (e.g. if this is this is a subdomain network, etc).', 'wp-multisite-waas'),
'type' => 'toggle',
'default' => 1,
]
@@ -1567,8 +1567,8 @@ class Settings {
'other',
'advanced_header',
[
- 'title' => __('Advanced Options', 'wp-ultimo'),
- 'desc' => __('Change the plugin and wordpress behavior.', 'wp-ultimo'),
+ 'title' => __('Advanced Options', 'wp-multisite-waas'),
+ 'desc' => __('Change the plugin and wordpress behavior.', 'wp-multisite-waas'),
'type' => 'header',
]
);
@@ -1583,15 +1583,15 @@ class Settings {
if ( ! empty($plans)) {
$url = wu_network_admin_url('wp-ultimo-migration-alert');
- $title = __('Run Migration Again', 'wp-ultimo') . sprintf(
+ $title = __('Run Migration Again', 'wp-multisite-waas') . sprintf(
"%s",
- __('Rerun the Migration Wizard if you experience data-loss after migrate.', 'wp-ultimo')
+ __('Rerun the Migration Wizard if you experience data-loss after migrate.', 'wp-multisite-waas')
) . sprintf(
"%s",
- __('Important: This process can have unexpected behavior with your current Ultimo models. We recommend that you create a backup before continue.', 'wp-ultimo')
+ __('Important: This process can have unexpected behavior with your current Ultimo models. We recommend that you create a backup before continue.', 'wp-multisite-waas')
);
- $html = sprintf('%s', $url, __('Migrate', 'wp-ultimo'));
+ $html = sprintf('%s', $url, __('Migrate', 'wp-multisite-waas'));
$this->add_field(
'other',
@@ -1614,9 +1614,9 @@ class Settings {
'other',
'security_mode',
[
- 'title' => __('Security Mode', 'wp-ultimo'),
+ 'title' => __('Security Mode', 'wp-multisite-waas'),
// Translators: Placeholder adds the security mode key and current site url with query string
- 'desc' => sprintf(__('Only WP Multisite WaaS and other must-use plugins will run on your WordPress install while this option is enabled.
Important: Copy the following URL to disable security mode if something goes wrong and this page becomes unavailable:%2$s
', 'wp-ultimo'), $security_mode_key, get_site_url() . $security_mode_key),
+ 'desc' => sprintf(__('Only WP Multisite WaaS and other must-use plugins will run on your WordPress install while this option is enabled.
Important: Copy the following URL to disable security mode if something goes wrong and this page becomes unavailable:%2$s
diff --git a/inc/gateways/class-paypal-gateway.php b/inc/gateways/class-paypal-gateway.php
index cef178c..dd840b5 100644
--- a/inc/gateways/class-paypal-gateway.php
+++ b/inc/gateways/class-paypal-gateway.php
@@ -189,8 +189,8 @@ class PayPal_Gateway extends Base_Gateway {
'payment-gateways',
'paypal_header',
[
- 'title' => __('PayPal', 'wp-ultimo'),
- 'desc' => __('Use the settings section below to configure PayPal Express as a payment method.', 'wp-ultimo'),
+ 'title' => __('PayPal', 'wp-multisite-waas'),
+ 'desc' => __('Use the settings section below to configure PayPal Express as a payment method.', 'wp-multisite-waas'),
'type' => 'header',
'show_as_submenu' => true,
'require' => [
@@ -203,8 +203,8 @@ class PayPal_Gateway extends Base_Gateway {
'payment-gateways',
'paypal_sandbox_mode',
[
- 'title' => __('PayPal Sandbox Mode', 'wp-ultimo'),
- 'desc' => __('Toggle this to put PayPal on sandbox mode. This is useful for testing and making sure PayPal is correctly setup to handle your payments.', 'wp-ultimo'),
+ 'title' => __('PayPal Sandbox Mode', 'wp-multisite-waas'),
+ 'desc' => __('Toggle this to put PayPal on sandbox mode. This is useful for testing and making sure PayPal is correctly setup to handle your payments.', 'wp-multisite-waas'),
'type' => 'toggle',
'default' => 0,
'html_attr' => [
@@ -220,10 +220,10 @@ class PayPal_Gateway extends Base_Gateway {
'payment-gateways',
'paypal_test_username',
[
- 'title' => __('PayPal Test Username', 'wp-ultimo'),
+ 'title' => __('PayPal Test Username', 'wp-multisite-waas'),
'desc' => '',
- 'tooltip' => __('Make sure you are placing the TEST username, not the live one.', 'wp-ultimo'),
- 'placeholder' => __('e.g. username_api1.username.co', 'wp-ultimo'),
+ 'tooltip' => __('Make sure you are placing the TEST username, not the live one.', 'wp-multisite-waas'),
+ 'placeholder' => __('e.g. username_api1.username.co', 'wp-multisite-waas'),
'type' => 'text',
'default' => '',
'capability' => 'manage_api_keys',
@@ -238,10 +238,10 @@ class PayPal_Gateway extends Base_Gateway {
'payment-gateways',
'paypal_test_password',
[
- 'title' => __('PayPal Test Password', 'wp-ultimo'),
+ 'title' => __('PayPal Test Password', 'wp-multisite-waas'),
'desc' => '',
- 'tooltip' => __('Make sure you are placing the TEST password, not the live one.', 'wp-ultimo'),
- 'placeholder' => __('e.g. IUOSABK987HJG88N', 'wp-ultimo'),
+ 'tooltip' => __('Make sure you are placing the TEST password, not the live one.', 'wp-multisite-waas'),
+ 'placeholder' => __('e.g. IUOSABK987HJG88N', 'wp-multisite-waas'),
'type' => 'text',
'default' => '',
'capability' => 'manage_api_keys',
@@ -256,10 +256,10 @@ class PayPal_Gateway extends Base_Gateway {
'payment-gateways',
'paypal_test_signature',
[
- 'title' => __('PayPal Test Signature', 'wp-ultimo'),
+ 'title' => __('PayPal Test Signature', 'wp-multisite-waas'),
'desc' => '',
- 'tooltip' => __('Make sure you are placing the TEST signature, not the live one.', 'wp-ultimo'),
- 'placeholder' => __('e.g. AFcpSSRl31ADOdqnHNv4KZdVHEQzdMEEsWxV21C7fd0v3bYYYRCwYxqo', 'wp-ultimo'),
+ 'tooltip' => __('Make sure you are placing the TEST signature, not the live one.', 'wp-multisite-waas'),
+ 'placeholder' => __('e.g. AFcpSSRl31ADOdqnHNv4KZdVHEQzdMEEsWxV21C7fd0v3bYYYRCwYxqo', 'wp-multisite-waas'),
'type' => 'text',
'default' => '',
'capability' => 'manage_api_keys',
@@ -274,10 +274,10 @@ class PayPal_Gateway extends Base_Gateway {
'payment-gateways',
'paypal_live_username',
[
- 'title' => __('PayPal Live Username', 'wp-ultimo'),
+ 'title' => __('PayPal Live Username', 'wp-multisite-waas'),
'desc' => '',
- 'tooltip' => __('Make sure you are placing the LIVE username, not the test one.', 'wp-ultimo'),
- 'placeholder' => __('e.g. username_api1.username.co', 'wp-ultimo'),
+ 'tooltip' => __('Make sure you are placing the LIVE username, not the test one.', 'wp-multisite-waas'),
+ 'placeholder' => __('e.g. username_api1.username.co', 'wp-multisite-waas'),
'type' => 'text',
'default' => '',
'capability' => 'manage_api_keys',
@@ -292,10 +292,10 @@ class PayPal_Gateway extends Base_Gateway {
'payment-gateways',
'paypal_live_password',
[
- 'title' => __('PayPal Live Password', 'wp-ultimo'),
+ 'title' => __('PayPal Live Password', 'wp-multisite-waas'),
'desc' => '',
- 'tooltip' => __('Make sure you are placing the LIVE password, not the test one.', 'wp-ultimo'),
- 'placeholder' => __('e.g. IUOSABK987HJG88N', 'wp-ultimo'),
+ 'tooltip' => __('Make sure you are placing the LIVE password, not the test one.', 'wp-multisite-waas'),
+ 'placeholder' => __('e.g. IUOSABK987HJG88N', 'wp-multisite-waas'),
'type' => 'text',
'default' => '',
'capability' => 'manage_api_keys',
@@ -310,10 +310,10 @@ class PayPal_Gateway extends Base_Gateway {
'payment-gateways',
'paypal_live_signature',
[
- 'title' => __('PayPal Live Signature', 'wp-ultimo'),
+ 'title' => __('PayPal Live Signature', 'wp-multisite-waas'),
'desc' => '',
- 'tooltip' => __('Make sure you are placing the LIVE signature, not the test one.', 'wp-ultimo'),
- 'placeholder' => __('e.g. AFcpSSRl31ADOdqnHNv4KZdVHEQzdMEEsWxV21C7fd0v3bYYYRCwYxqo', 'wp-ultimo'),
+ 'tooltip' => __('Make sure you are placing the LIVE signature, not the test one.', 'wp-multisite-waas'),
+ 'placeholder' => __('e.g. AFcpSSRl31ADOdqnHNv4KZdVHEQzdMEEsWxV21C7fd0v3bYYYRCwYxqo', 'wp-multisite-waas'),
'type' => 'text',
'default' => '',
'capability' => 'manage_api_keys',
@@ -341,7 +341,7 @@ class PayPal_Gateway extends Base_Gateway {
$gateway_subscription_id = $membership->get_gateway_subscription_id();
if (empty($gateway_subscription_id)) {
- return new \WP_Error('wu_paypal_no_subscription_id', __('Error: No gateway subscription ID found for this membership.', 'wp-ultimo'));
+ return new \WP_Error('wu_paypal_no_subscription_id', __('Error: No gateway subscription ID found for this membership.', 'wp-multisite-waas'));
}
$original = $membership->_get_original();
@@ -349,7 +349,7 @@ class PayPal_Gateway extends Base_Gateway {
$has_duration_change = $membership->get_duration() !== absint(wu_get_isset($original, 'duration')) || $membership->get_duration_unit() !== wu_get_isset($original, 'duration_unit');
if ($has_duration_change) {
- return new \WP_Error('wu_paypal_no_duration_change', __('Error: PayPal does not support changing the duration of a subscription.', 'wp-ultimo'));
+ return new \WP_Error('wu_paypal_no_duration_change', __('Error: PayPal does not support changing the duration of a subscription.', 'wp-multisite-waas'));
}
/**
@@ -367,7 +367,7 @@ class PayPal_Gateway extends Base_Gateway {
'VERSION' => '124',
'METHOD' => 'UpdateRecurringPaymentsProfile',
'PROFILEID' => $gateway_subscription_id,
- 'NOTE' => __('Membership update', 'wp-ultimo'),
+ 'NOTE' => __('Membership update', 'wp-multisite-waas'),
'DESC' => $description,
'AMT' => $temp_payment->get_total() - $temp_payment->get_tax_total(),
'TAXAMT' => $temp_payment->get_tax_total(),
@@ -399,7 +399,7 @@ class PayPal_Gateway extends Base_Gateway {
}
if ('failure' === strtolower((string) $body['ACK'])) {
- return new \WP_Error($body['L_ERRORCODE0'], __('PayPal Error:', 'wp-ultimo') . ' ' . $body['L_LONGMESSAGE0']);
+ return new \WP_Error($body['L_ERRORCODE0'], __('PayPal Error:', 'wp-multisite-waas') . ' ' . $body['L_LONGMESSAGE0']);
}
return true;
@@ -504,7 +504,7 @@ class PayPal_Gateway extends Base_Gateway {
$date = wp_date(get_option('date_format'), strtotime($membership->get_date_trial_end(), wu_get_current_time('timestamp', true)));
- $notes[] = sprintf(__('Your trial period will end on %1$s.', 'wp-ultimo'), $date);
+ $notes[] = sprintf(__('Your trial period will end on %1$s.', 'wp-multisite-waas'), $date);
}
if ($is_recurring && $should_auto_renew) {
@@ -522,21 +522,21 @@ class PayPal_Gateway extends Base_Gateway {
if ($recurring_total !== $cart_total) {
if ('downgrade' === $type) {
if ($is_trial_setup) {
- $notes[] = sprintf(__('Your updated membership will start on $1$s, from that date you will be billed %2$s every month.', 'wp-ultimo'), $date, $recurring_total_format);
+ $notes[] = sprintf(__('Your updated membership will start on $1$s, from that date you will be billed %2$s every month.', 'wp-multisite-waas'), $date, $recurring_total_format);
} else {
$date_renew = wp_date(get_option('date_format'), strtotime($membership->get_date_expiration(), wu_get_current_time('timestamp', true)));
- $notes[] = sprintf(__('Your updated membership will start on %1$s, from that date you will be billed %2$s %3$s.', 'wp-ultimo'), $date_renew, $recurring_total_format, $desc);
+ $notes[] = sprintf(__('Your updated membership will start on %1$s, from that date you will be billed %2$s %3$s.', 'wp-multisite-waas'), $date_renew, $recurring_total_format, $desc);
}
} elseif ($is_trial_setup) {
- $notes[] = sprintf(__('After the first payment you will be billed %1$s %2$s.', 'wp-ultimo'), $recurring_total_format, $desc);
+ $notes[] = sprintf(__('After the first payment you will be billed %1$s %2$s.', 'wp-multisite-waas'), $recurring_total_format, $desc);
} else {
- $notes[] = sprintf(__('After this payment you will be billed %1$s %2$s.', 'wp-ultimo'), $recurring_total_format, $desc);
+ $notes[] = sprintf(__('After this payment you will be billed %1$s %2$s.', 'wp-multisite-waas'), $recurring_total_format, $desc);
}
} elseif ($is_trial_setup) {
- $notes[] = sprintf(__('From that date, you will be billed %1$s %2$s.', 'wp-ultimo'), $recurring_total_format, $desc);
+ $notes[] = sprintf(__('From that date, you will be billed %1$s %2$s.', 'wp-multisite-waas'), $recurring_total_format, $desc);
} else {
- $notes[] = sprintf(__('After this payment you will be billed %1$s.', 'wp-ultimo'), $desc);
+ $notes[] = sprintf(__('After this payment you will be billed %1$s.', 'wp-multisite-waas'), $desc);
}
}
@@ -576,12 +576,12 @@ class PayPal_Gateway extends Base_Gateway {
$discounts_total = $cart->get_total_discounts();
if ( ! empty($discounts_total)) {
- __('Account credit and other discounts', 'wp-ultimo');
+ __('Account credit and other discounts', 'wp-multisite-waas');
$args = array_merge(
$args,
[
- "L_PAYMENTREQUEST_0_NAME{$product_index}" => __('Account credit and other discounts', 'wp-ultimo'),
+ "L_PAYMENTREQUEST_0_NAME{$product_index}" => __('Account credit and other discounts', 'wp-multisite-waas'),
"L_PAYMENTREQUEST_0_AMT{$product_index}" => $discounts_total,
"L_PAYMENTREQUEST_0_QTY{$product_index}" => 1,
]
@@ -652,7 +652,7 @@ class PayPal_Gateway extends Base_Gateway {
/*
* If we get here, something went wrong.
*/
- throw new \Exception(__('Something has gone wrong, please try again', 'wp-ultimo'));
+ throw new \Exception(__('Something has gone wrong, please try again', 'wp-multisite-waas'));
}
/**
@@ -712,7 +712,7 @@ class PayPal_Gateway extends Base_Gateway {
$gateway_payment_id = $payment->get_gateway_payment_id();
if (empty($gateway_payment_id)) {
- throw new \Exception(__('Gateway payment ID not found. Cannot process refund automatically.', 'wp-ultimo'));
+ throw new \Exception(__('Gateway payment ID not found. Cannot process refund automatically.', 'wp-multisite-waas'));
}
$refund_type = 'Partial';
@@ -774,7 +774,7 @@ class PayPal_Gateway extends Base_Gateway {
return true;
}
- throw new \Exception(__('Something went wrong.', 'wp-ultimo'));
+ throw new \Exception(__('Something went wrong.', 'wp-multisite-waas'));
}
/**
@@ -789,7 +789,7 @@ class PayPal_Gateway extends Base_Gateway {
*/
public function fields() {
- $message = __('You will be redirected to PayPal to complete the purchase.', 'wp-ultimo');
+ $message = __('You will be redirected to PayPal to complete the purchase.', 'wp-multisite-waas');
return sprintf('
%s
', $message);
}
@@ -825,7 +825,7 @@ class PayPal_Gateway extends Base_Gateway {
$details = $this->get_checkout_details(wu_request('token'));
if (empty($details)) {
- $error = new \WP_Error(__('PayPal token no longer valid.', 'wp-ultimo'));
+ $error = new \WP_Error(__('PayPal token no longer valid.', 'wp-multisite-waas'));
wp_die($error);
}
@@ -841,7 +841,7 @@ class PayPal_Gateway extends Base_Gateway {
* Bail.
*/
if (empty($payment)) {
- $error = new \WP_Error(__('Pending payment does not exist.', 'wp-ultimo'));
+ $error = new \WP_Error(__('Pending payment does not exist.', 'wp-multisite-waas'));
wp_die($error);
}
@@ -855,7 +855,7 @@ class PayPal_Gateway extends Base_Gateway {
$original_cart = $payment->get_meta('wu_original_cart');
if (empty($original_cart)) {
- $error = new \WP_Error('no-cart', __('Original cart does not exist.', 'wp-ultimo'));
+ $error = new \WP_Error('no-cart', __('Original cart does not exist.', 'wp-multisite-waas'));
wp_die($error);
}
@@ -869,7 +869,7 @@ class PayPal_Gateway extends Base_Gateway {
$is_recurring = $original_cart->has_recurring();
if (empty($membership) || empty($customer)) {
- $error = new \WP_Error('no-membership', __('Missing membership or customer data.', 'wp-ultimo'));
+ $error = new \WP_Error('no-membership', __('Missing membership or customer data.', 'wp-multisite-waas'));
wp_die($error);
}
@@ -923,7 +923,7 @@ class PayPal_Gateway extends Base_Gateway {
}
if (empty($membership)) {
- throw new \Exception(__('Exiting PayPal Express IPN - membership ID not found.', 'wp-ultimo'));
+ throw new \Exception(__('Exiting PayPal Express IPN - membership ID not found.', 'wp-multisite-waas'));
}
wu_log_add('paypal', sprintf('Processing IPN for membership #%d.', $membership->get_id()));
@@ -1041,15 +1041,15 @@ class PayPal_Gateway extends Base_Gateway {
if ('failed' === strtolower((string) $posted['payment_status'])) {
// Recurring payment failed.
- $membership->add_note(sprintf(__('Transaction ID %s failed in PayPal.', 'wp-ultimo'), $posted['txn_id']));
+ $membership->add_note(sprintf(__('Transaction ID %s failed in PayPal.', 'wp-multisite-waas'), $posted['txn_id']));
die('Subscription payment failed');
} elseif ('pending' === strtolower((string) $posted['payment_status'])) {
// Recurring payment pending (such as echeck).
- $pending_reason = ! empty($posted['pending_reason']) ? $posted['pending_reason'] : __('unknown', 'wp-ultimo');
+ $pending_reason = ! empty($posted['pending_reason']) ? $posted['pending_reason'] : __('unknown', 'wp-multisite-waas');
- $membership->add_note(sprintf(__('Transaction ID %1$s is pending in PayPal for reason: %2$s', 'wp-ultimo'), $posted['txn_id'], $pending_reason));
+ $membership->add_note(sprintf(__('Transaction ID %1$s is pending in PayPal for reason: %2$s', 'wp-multisite-waas'), $posted['txn_id'], $pending_reason));
die('Subscription payment pending');
}
@@ -1093,9 +1093,9 @@ class PayPal_Gateway extends Base_Gateway {
// Initial payment failed, so set the user back to pending.
$membership->set_status('pending');
- $membership->add_note(__('Initial payment failed in PayPal Express.', 'wp-ultimo'));
+ $membership->add_note(__('Initial payment failed in PayPal Express.', 'wp-multisite-waas'));
- $this->error_message = __('Initial payment failed.', 'wp-ultimo');
+ $this->error_message = __('Initial payment failed.', 'wp-multisite-waas');
} else {
// If this is a completed payment plan, we can skip any cancellation actions. This is handled in renewals.
@@ -1108,7 +1108,7 @@ class PayPal_Gateway extends Base_Gateway {
// user is marked as cancelled but retains access until end of term
$membership->cancel();
- $membership->add_note(__('Membership cancelled via PayPal Express IPN.', 'wp-ultimo'));
+ $membership->add_note(__('Membership cancelled via PayPal Express IPN.', 'wp-multisite-waas'));
}
break;
@@ -1353,8 +1353,8 @@ class PayPal_Gateway extends Base_Gateway {
}
} else {
wp_die(
- __('Something has gone wrong, please try again', 'wp-ultimo'),
- __('Error', 'wp-ultimo'),
+ __('Something has gone wrong, please try again', 'wp-multisite-waas'),
+ __('Error', 'wp-multisite-waas'),
[
'back_link' => true,
'response' => '401',
@@ -1508,8 +1508,8 @@ class PayPal_Gateway extends Base_Gateway {
}
} else {
wp_die(
- __('Something has gone wrong, please try again', 'wp-ultimo'),
- __('Error', 'wp-ultimo'),
+ __('Something has gone wrong, please try again', 'wp-multisite-waas'),
+ __('Error', 'wp-multisite-waas'),
[
'back_link' => true,
'response' => '401',
@@ -1531,10 +1531,10 @@ class PayPal_Gateway extends Base_Gateway {
$checkout_details = $this->get_checkout_details($token);
if ( ! is_array($checkout_details)) {
- $error = is_wp_error($checkout_details) ? $checkout_details->get_error_message() : __('Invalid response code from PayPal', 'wp-ultimo');
+ $error = is_wp_error($checkout_details) ? $checkout_details->get_error_message() : __('Invalid response code from PayPal', 'wp-multisite-waas');
// translators: %s is the paypal error message.
- return '
';
}
/*
diff --git a/inc/gateways/class-stripe-checkout-gateway.php b/inc/gateways/class-stripe-checkout-gateway.php
index 9020379..b6caf04 100644
--- a/inc/gateways/class-stripe-checkout-gateway.php
+++ b/inc/gateways/class-stripe-checkout-gateway.php
@@ -47,8 +47,8 @@ class Stripe_Checkout_Gateway extends Base_Stripe_Gateway {
'payment-gateways',
'stripe_checkout_header',
[
- 'title' => __('Stripe Checkout', 'wp-ultimo'),
- 'desc' => __('Use the settings section below to configure Stripe Checkout as a payment method.', 'wp-ultimo'),
+ 'title' => __('Stripe Checkout', 'wp-multisite-waas'),
+ 'desc' => __('Use the settings section below to configure Stripe Checkout as a payment method.', 'wp-multisite-waas'),
'type' => 'header',
'show_as_submenu' => true,
'require' => [
@@ -61,10 +61,10 @@ class Stripe_Checkout_Gateway extends Base_Stripe_Gateway {
'payment-gateways',
'stripe_checkout_public_title',
[
- 'title' => __('Stripe Public Name', 'wp-ultimo'),
- 'tooltip' => __('The name to display on the payment method selection field. By default, "Credit Card" is used.', 'wp-ultimo'),
+ 'title' => __('Stripe Public Name', 'wp-multisite-waas'),
+ 'tooltip' => __('The name to display on the payment method selection field. By default, "Credit Card" is used.', 'wp-multisite-waas'),
'type' => 'text',
- 'default' => __('Credit Card', 'wp-ultimo'),
+ 'default' => __('Credit Card', 'wp-multisite-waas'),
'require' => [
'active_gateways' => 'stripe-checkout',
],
@@ -75,8 +75,8 @@ class Stripe_Checkout_Gateway extends Base_Stripe_Gateway {
'payment-gateways',
'stripe_checkout_sandbox_mode',
[
- 'title' => __('Stripe Checkout Sandbox Mode', 'wp-ultimo'),
- 'desc' => __('Toggle this to put Stripe on sandbox mode. This is useful for testing and making sure Stripe is correctly setup to handle your payments.', 'wp-ultimo'),
+ 'title' => __('Stripe Checkout Sandbox Mode', 'wp-multisite-waas'),
+ 'desc' => __('Toggle this to put Stripe on sandbox mode. This is useful for testing and making sure Stripe is correctly setup to handle your payments.', 'wp-multisite-waas'),
'type' => 'toggle',
'default' => 1,
'html_attr' => [
@@ -94,10 +94,10 @@ class Stripe_Checkout_Gateway extends Base_Stripe_Gateway {
'payment-gateways',
'stripe_checkout_test_pk_key',
[
- 'title' => __('Stripe Test Publishable Key', 'wp-ultimo'),
+ 'title' => __('Stripe Test Publishable Key', 'wp-multisite-waas'),
'desc' => ! empty($pk_test_status) ? sprintf($error_message_wrap, $pk_test_status) : '',
- 'tooltip' => __('Make sure you are placing the TEST keys, not the live ones.', 'wp-ultimo'),
- 'placeholder' => __('pk_test_***********', 'wp-ultimo'),
+ 'tooltip' => __('Make sure you are placing the TEST keys, not the live ones.', 'wp-multisite-waas'),
+ 'placeholder' => __('pk_test_***********', 'wp-multisite-waas'),
'type' => 'text',
'default' => '',
'capability' => 'manage_api_keys',
@@ -114,10 +114,10 @@ class Stripe_Checkout_Gateway extends Base_Stripe_Gateway {
'payment-gateways',
'stripe_checkout_test_sk_key',
[
- 'title' => __('Stripe Test Secret Key', 'wp-ultimo'),
+ 'title' => __('Stripe Test Secret Key', 'wp-multisite-waas'),
'desc' => ! empty($sk_test_status) ? sprintf($error_message_wrap, $sk_test_status) : '',
- 'tooltip' => __('Make sure you are placing the TEST keys, not the live ones.', 'wp-ultimo'),
- 'placeholder' => __('sk_test_***********', 'wp-ultimo'),
+ 'tooltip' => __('Make sure you are placing the TEST keys, not the live ones.', 'wp-multisite-waas'),
+ 'placeholder' => __('sk_test_***********', 'wp-multisite-waas'),
'type' => 'text',
'default' => '',
'capability' => 'manage_api_keys',
@@ -134,10 +134,10 @@ class Stripe_Checkout_Gateway extends Base_Stripe_Gateway {
'payment-gateways',
'stripe_checkout_live_pk_key',
[
- 'title' => __('Stripe Live Publishable Key', 'wp-ultimo'),
+ 'title' => __('Stripe Live Publishable Key', 'wp-multisite-waas'),
'desc' => ! empty($pk_status) ? sprintf($error_message_wrap, $pk_status) : '',
- 'tooltip' => __('Make sure you are placing the LIVE keys, not the test ones.', 'wp-ultimo'),
- 'placeholder' => __('pk_live_***********', 'wp-ultimo'),
+ 'tooltip' => __('Make sure you are placing the LIVE keys, not the test ones.', 'wp-multisite-waas'),
+ 'placeholder' => __('pk_live_***********', 'wp-multisite-waas'),
'type' => 'text',
'default' => '',
'capability' => 'manage_api_keys',
@@ -154,10 +154,10 @@ class Stripe_Checkout_Gateway extends Base_Stripe_Gateway {
'payment-gateways',
'stripe_checkout_live_sk_key',
[
- 'title' => __('Stripe Live Secret Key', 'wp-ultimo'),
+ 'title' => __('Stripe Live Secret Key', 'wp-multisite-waas'),
'desc' => ! empty($sk_status) ? sprintf($error_message_wrap, $sk_status) : '',
- 'tooltip' => __('Make sure you are placing the LIVE keys, not the test ones.', 'wp-ultimo'),
- 'placeholder' => __('sk_live_***********', 'wp-ultimo'),
+ 'tooltip' => __('Make sure you are placing the LIVE keys, not the test ones.', 'wp-multisite-waas'),
+ 'placeholder' => __('sk_live_***********', 'wp-multisite-waas'),
'type' => 'text',
'default' => '',
'capability' => 'manage_api_keys',
@@ -168,15 +168,15 @@ class Stripe_Checkout_Gateway extends Base_Stripe_Gateway {
]
);
- $webhook_message = sprintf('%s', __('Whenever you change your Stripe settings, WP Multisite WaaS will automatically check the webhook URLs on your Stripe account to make sure we get notified about changes in subscriptions and payments.', 'wp-ultimo'));
+ $webhook_message = sprintf('%s', __('Whenever you change your Stripe settings, WP Multisite WaaS will automatically check the webhook URLs on your Stripe account to make sure we get notified about changes in subscriptions and payments.', 'wp-multisite-waas'));
wu_register_settings_field(
'payment-gateways',
'stripe_checkout_webhook_listener_explanation',
[
- 'title' => __('Webhook Listener URL', 'wp-ultimo'),
+ 'title' => __('Webhook Listener URL', 'wp-multisite-waas'),
'desc' => $webhook_message,
- 'tooltip' => __('This is the URL Stripe should send webhook calls to.', 'wp-ultimo'),
+ 'tooltip' => __('This is the URL Stripe should send webhook calls to.', 'wp-multisite-waas'),
'type' => 'text-display',
'copy' => true,
'default' => $this->get_webhook_listener_url(),
@@ -397,7 +397,7 @@ class Stripe_Checkout_Gateway extends Base_Stripe_Gateway {
*/
public function fields(): string {
- $message = __('You will be redirected to a checkout to complete the purchase.', 'wp-ultimo');
+ $message = __('You will be redirected to a checkout to complete the purchase.', 'wp-multisite-waas');
return sprintf('
%s
', $message);
}
@@ -419,7 +419,7 @@ class Stripe_Checkout_Gateway extends Base_Stripe_Gateway {
$fields = [
"payment_method_{$payment_method}" => [
'type' => 'text-display',
- 'title' => __('Saved Cards', 'wp-ultimo'),
+ 'title' => __('Saved Cards', 'wp-multisite-waas'),
'display_value' => $card,
],
];
diff --git a/inc/gateways/class-stripe-gateway.php b/inc/gateways/class-stripe-gateway.php
index 690f893..fcab73e 100644
--- a/inc/gateways/class-stripe-gateway.php
+++ b/inc/gateways/class-stripe-gateway.php
@@ -73,8 +73,8 @@ class Stripe_Gateway extends Base_Stripe_Gateway {
'payment-gateways',
'stripe_header',
[
- 'title' => __('Stripe', 'wp-ultimo'),
- 'desc' => __('Use the settings section below to configure Stripe as a payment method.', 'wp-ultimo'),
+ 'title' => __('Stripe', 'wp-multisite-waas'),
+ 'desc' => __('Use the settings section below to configure Stripe as a payment method.', 'wp-multisite-waas'),
'type' => 'header',
'show_as_submenu' => true,
'require' => [
@@ -87,10 +87,10 @@ class Stripe_Gateway extends Base_Stripe_Gateway {
'payment-gateways',
'stripe_public_title',
[
- 'title' => __('Stripe Public Name', 'wp-ultimo'),
- 'tooltip' => __('The name to display on the payment method selection field. By default, "Credit Card" is used.', 'wp-ultimo'),
+ 'title' => __('Stripe Public Name', 'wp-multisite-waas'),
+ 'tooltip' => __('The name to display on the payment method selection field. By default, "Credit Card" is used.', 'wp-multisite-waas'),
'type' => 'text',
- 'default' => __('Credit Card', 'wp-ultimo'),
+ 'default' => __('Credit Card', 'wp-multisite-waas'),
'require' => [
'active_gateways' => 'stripe',
],
@@ -101,8 +101,8 @@ class Stripe_Gateway extends Base_Stripe_Gateway {
'payment-gateways',
'stripe_sandbox_mode',
[
- 'title' => __('Stripe Sandbox Mode', 'wp-ultimo'),
- 'desc' => __('Toggle this to put Stripe on sandbox mode. This is useful for testing and making sure Stripe is correctly setup to handle your payments.', 'wp-ultimo'),
+ 'title' => __('Stripe Sandbox Mode', 'wp-multisite-waas'),
+ 'desc' => __('Toggle this to put Stripe on sandbox mode. This is useful for testing and making sure Stripe is correctly setup to handle your payments.', 'wp-multisite-waas'),
'type' => 'toggle',
'default' => 1,
'html_attr' => [
@@ -120,10 +120,10 @@ class Stripe_Gateway extends Base_Stripe_Gateway {
'payment-gateways',
'stripe_test_pk_key',
[
- 'title' => __('Stripe Test Publishable Key', 'wp-ultimo'),
+ 'title' => __('Stripe Test Publishable Key', 'wp-multisite-waas'),
'desc' => ! empty($pk_test_status) ? sprintf($error_message_wrap, $pk_test_status) : '',
- 'tooltip' => __('Make sure you are placing the TEST keys, not the live ones.', 'wp-ultimo'),
- 'placeholder' => __('pk_test_***********', 'wp-ultimo'),
+ 'tooltip' => __('Make sure you are placing the TEST keys, not the live ones.', 'wp-multisite-waas'),
+ 'placeholder' => __('pk_test_***********', 'wp-multisite-waas'),
'type' => 'text',
'default' => '',
'capability' => 'manage_api_keys',
@@ -140,10 +140,10 @@ class Stripe_Gateway extends Base_Stripe_Gateway {
'payment-gateways',
'stripe_test_sk_key',
[
- 'title' => __('Stripe Test Secret Key', 'wp-ultimo'),
+ 'title' => __('Stripe Test Secret Key', 'wp-multisite-waas'),
'desc' => ! empty($sk_test_status) ? sprintf($error_message_wrap, $sk_test_status) : '',
- 'tooltip' => __('Make sure you are placing the TEST keys, not the live ones.', 'wp-ultimo'),
- 'placeholder' => __('sk_test_***********', 'wp-ultimo'),
+ 'tooltip' => __('Make sure you are placing the TEST keys, not the live ones.', 'wp-multisite-waas'),
+ 'placeholder' => __('sk_test_***********', 'wp-multisite-waas'),
'type' => 'text',
'default' => '',
'capability' => 'manage_api_keys',
@@ -160,10 +160,10 @@ class Stripe_Gateway extends Base_Stripe_Gateway {
'payment-gateways',
'stripe_live_pk_key',
[
- 'title' => __('Stripe Live Publishable Key', 'wp-ultimo'),
+ 'title' => __('Stripe Live Publishable Key', 'wp-multisite-waas'),
'desc' => ! empty($pk_status) ? sprintf($error_message_wrap, $pk_status) : '',
- 'tooltip' => __('Make sure you are placing the LIVE keys, not the test ones.', 'wp-ultimo'),
- 'placeholder' => __('pk_live_***********', 'wp-ultimo'),
+ 'tooltip' => __('Make sure you are placing the LIVE keys, not the test ones.', 'wp-multisite-waas'),
+ 'placeholder' => __('pk_live_***********', 'wp-multisite-waas'),
'type' => 'text',
'default' => '',
'capability' => 'manage_api_keys',
@@ -180,10 +180,10 @@ class Stripe_Gateway extends Base_Stripe_Gateway {
'payment-gateways',
'stripe_live_sk_key',
[
- 'title' => __('Stripe Live Secret Key', 'wp-ultimo'),
+ 'title' => __('Stripe Live Secret Key', 'wp-multisite-waas'),
'desc' => ! empty($sk_status) ? sprintf($error_message_wrap, $sk_status) : '',
- 'tooltip' => __('Make sure you are placing the LIVE keys, not the test ones.', 'wp-ultimo'),
- 'placeholder' => __('sk_live_***********', 'wp-ultimo'),
+ 'tooltip' => __('Make sure you are placing the LIVE keys, not the test ones.', 'wp-multisite-waas'),
+ 'placeholder' => __('sk_live_***********', 'wp-multisite-waas'),
'type' => 'text',
'default' => '',
'capability' => 'manage_api_keys',
@@ -194,15 +194,15 @@ class Stripe_Gateway extends Base_Stripe_Gateway {
]
);
- $webhook_message = sprintf('%s', __('Whenever you change your Stripe settings, WP Multisite WaaS will automatically check the webhook URLs on your Stripe account to make sure we get notified about changes in subscriptions and payments.', 'wp-ultimo'));
+ $webhook_message = sprintf('%s', __('Whenever you change your Stripe settings, WP Multisite WaaS will automatically check the webhook URLs on your Stripe account to make sure we get notified about changes in subscriptions and payments.', 'wp-multisite-waas'));
wu_register_settings_field(
'payment-gateways',
'stripe_webhook_listener_explanation',
[
- 'title' => __('Webhook Listener URL', 'wp-ultimo'),
+ 'title' => __('Webhook Listener URL', 'wp-multisite-waas'),
'desc' => $webhook_message,
- 'tooltip' => __('This is the URL Stripe should send webhook calls to.', 'wp-ultimo'),
+ 'tooltip' => __('This is the URL Stripe should send webhook calls to.', 'wp-multisite-waas'),
'type' => 'text-display',
'copy' => true,
'default' => $this->get_webhook_listener_url(),
@@ -257,7 +257,7 @@ class Stripe_Gateway extends Base_Stripe_Gateway {
if (is_wp_error($s_customer)) {
// translators: %s is the error message.
- return new \WP_Error($s_customer->get_error_code(), sprintf(__('Error creating Stripe customer: %s', 'wp-ultimo'), $s_customer->get_error_message()));
+ return new \WP_Error($s_customer->get_error_code(), sprintf(__('Error creating Stripe customer: %s', 'wp-multisite-waas'), $s_customer->get_error_message()));
}
$this->membership->set_gateway_customer_id($s_customer->id);
@@ -509,7 +509,7 @@ class Stripe_Gateway extends Base_Stripe_Gateway {
$payment_intent_id = $payment->get_meta('stripe_payment_intent_id');
if (empty($payment_intent_id)) {
- throw new \Exception(__('Missing Stripe payment intent, please try again or contact support if the issue persists.', 'wp-ultimo'), 'missing_stripe_payment_intent');
+ throw new \Exception(__('Missing Stripe payment intent, please try again or contact support if the issue persists.', 'wp-multisite-waas'), 'missing_stripe_payment_intent');
}
/**
@@ -544,7 +544,7 @@ class Stripe_Gateway extends Base_Stripe_Gateway {
$s_customer = $this->get_or_create_customer($customer->get_id(), $customer->get_user_id(), $payment_intent->customer);
// translators: first is the customer id, then the customer email.
- $description = sprintf(__('Customer ID: %1$d - User Email: %2$s', 'wp-ultimo'), $customer->get_id(), $customer->get_email_address());
+ $description = sprintf(__('Customer ID: %1$d - User Email: %2$s', 'wp-multisite-waas'), $customer->get_id(), $customer->get_email_address());
if (strlen($description) > 350) {
$description = substr($description, 0, 350);
@@ -646,12 +646,12 @@ class Stripe_Gateway extends Base_Stripe_Gateway {
$card_options = $this->get_saved_card_options();
if ($card_options) {
- $card_options['add-new'] = __('Add new card', 'wp-ultimo');
+ $card_options['add-new'] = __('Add new card', 'wp-multisite-waas');
$fields = [
'payment_method' => [
'type' => 'radio',
- 'title' => __('Saved Payment Methods', 'wp-ultimo'),
+ 'title' => __('Saved Payment Methods', 'wp-multisite-waas'),
'value' => wu_request('payment_method'),
'options' => $card_options,
'html_attr' => [
@@ -721,7 +721,7 @@ class Stripe_Gateway extends Base_Stripe_Gateway {
$fields = [
"payment_method_{$payment_method}" => [
'type' => 'text-display',
- 'title' => __('Saved Cards', 'wp-ultimo'),
+ 'title' => __('Saved Cards', 'wp-multisite-waas'),
'display_value' => $card,
],
];
diff --git a/inc/helpers/class-screenshot.php b/inc/helpers/class-screenshot.php
index b930970..655b976 100644
--- a/inc/helpers/class-screenshot.php
+++ b/inc/helpers/class-screenshot.php
@@ -83,7 +83,7 @@ class Screenshot {
* Check if the results contain a PNG header.
*/
if (! str_starts_with($response['body'], "\x89\x50\x4e\x47\x0d\x0a\x1a\x0a")) {
- wu_log_add('screenshot-generator', $log_prefix . __('Result is not a PNG file.', 'wp-ultimo'), LogLevel::ERROR);
+ wu_log_add('screenshot-generator', $log_prefix . __('Result is not a PNG file.', 'wp-multisite-waas'), LogLevel::ERROR);
return false;
}
@@ -122,7 +122,7 @@ class Screenshot {
// Assign metadata to attachment
wp_update_attachment_metadata($attach_id, $attach_data);
- wu_log_add('screenshot-generator', $log_prefix . __('Success!', 'wp-ultimo'));
+ wu_log_add('screenshot-generator', $log_prefix . __('Success!', 'wp-multisite-waas'));
return $attach_id;
}
diff --git a/inc/helpers/class-site-duplicator.php b/inc/helpers/class-site-duplicator.php
index 25b1da9..a858adc 100644
--- a/inc/helpers/class-site-duplicator.php
+++ b/inc/helpers/class-site-duplicator.php
@@ -56,7 +56,7 @@ class Site_Duplicator {
if (is_wp_error($duplicate_site)) {
// translators: %s id the template site id and %s is the error message returned.
- $message = sprintf(__('Attempt to duplicate site %1$d failed: %2$s', 'wp-ultimo'), $from_site_id, $duplicate_site->get_error_message());
+ $message = sprintf(__('Attempt to duplicate site %1$d failed: %2$s', 'wp-multisite-waas'), $from_site_id, $duplicate_site->get_error_message());
wu_log_add('site-duplication', $message, LogLevel::ERROR);
@@ -64,7 +64,7 @@ class Site_Duplicator {
}
// translators: %1$d is the ID of the site template used, and %2$d is the id of the new site.
- $message = sprintf(__('Attempt to duplicate site %1$d successful - New site id: %2$d', 'wp-ultimo'), $from_site_id, $duplicate_site);
+ $message = sprintf(__('Attempt to duplicate site %1$d successful - New site id: %2$d', 'wp-multisite-waas'), $from_site_id, $duplicate_site);
wu_log_add('site-duplication', $message);
@@ -108,7 +108,7 @@ class Site_Duplicator {
if (is_wp_error($duplicate_site_id)) {
// translators: %s id the template site id and %s is the error message returned.
- $message = sprintf(__('Attempt to override site %1$d with data from site %2$d failed: %3$s', 'wp-ultimo'), $from_site_id, $to_site_id, $duplicate_site_id->get_error_message());
+ $message = sprintf(__('Attempt to override site %1$d with data from site %2$d failed: %3$s', 'wp-multisite-waas'), $from_site_id, $to_site_id, $duplicate_site_id->get_error_message());
wu_log_add('site-duplication', $message, LogLevel::ERROR);
@@ -132,7 +132,7 @@ class Site_Duplicator {
if ($saved) {
// translators: %1$d is the ID of the site template used, and %2$d is the ID of the overriden site.
- $message = sprintf(__('Attempt to override site %1$d with data from site %2$d successful.', 'wp-ultimo'), $from_site_id, $duplicate_site_id);
+ $message = sprintf(__('Attempt to override site %1$d with data from site %2$d successful.', 'wp-multisite-waas'), $from_site_id, $duplicate_site_id);
wu_log_add('site-duplication', $message);
@@ -188,7 +188,7 @@ class Site_Duplicator {
$wpdb->hide_errors();
if ( ! $args->from_site_id) {
- return new \WP_Error('from_site_id_required', __('You need to provide a valid site to duplicate.', 'wp-ultimo'));
+ return new \WP_Error('from_site_id_required', __('You need to provide a valid site to duplicate.', 'wp-multisite-waas'));
}
$user_id = ! empty($args->user_id) ? $args->user_id : self::create_admin($args->email, $site_domain);
@@ -210,7 +210,7 @@ class Site_Duplicator {
}
if ( ! is_numeric($args->to_site_id)) {
- return new \WP_Error('site_creation_failed', __('An attempt to create a new site failed.', 'wp-ultimo'));
+ return new \WP_Error('site_creation_failed', __('An attempt to create a new site failed.', 'wp-multisite-waas'));
}
if ( ! is_super_admin($user_id) && ! get_user_option('primary_blog', $user_id)) {
@@ -274,7 +274,7 @@ class Site_Duplicator {
$user_id = wpmu_create_user($domain, $password, $email);
if (false === $user_id) {
- return new \WP_Error('user_creation_error', __('We were not able to create a new admin user for the site being duplicated.', 'wp-ultimo'));
+ return new \WP_Error('user_creation_error', __('We were not able to create a new admin user for the site being duplicated.', 'wp-multisite-waas'));
} else {
wp_new_user_notification($user_id);
}
diff --git a/inc/helpers/class-validator.php b/inc/helpers/class-validator.php
index 8d2da8e..87f9b0f 100644
--- a/inc/helpers/class-validator.php
+++ b/inc/helpers/class-validator.php
@@ -64,7 +64,7 @@ class Validator {
public function __construct() {
// translators: %s is the field name.
- $field_required_message = sprintf(__('The %s field is required', 'wp-ultimo'), ':attribute');
+ $field_required_message = sprintf(__('The %s field is required', 'wp-multisite-waas'), ':attribute');
$validation_error_messages = apply_filters(
'wu_validator_error_messages',
@@ -73,17 +73,17 @@ class Validator {
'required_without' => $field_required_message,
'required_with' => $field_required_message,
// translators: %s is the email field identifier
- 'email' => sprintf(__('The %s is not valid email', 'wp-ultimo'), ':attribute'),
+ 'email' => sprintf(__('The %s is not valid email', 'wp-multisite-waas'), ':attribute'),
// translators: 1st %s is the field name; 2nd is the allowed value
- 'min' => sprintf(__('The %1$s minimum is %2$s', 'wp-ultimo'), ':attribute', ':min'),
+ 'min' => sprintf(__('The %1$s minimum is %2$s', 'wp-multisite-waas'), ':attribute', ':min'),
// translators: 1st %s is the field name; 2nd is the allowed value
- 'max' => sprintf(__('The %1$s maximum is %2$s', 'wp-ultimo'), ':attribute', ':max'),
+ 'max' => sprintf(__('The %1$s maximum is %2$s', 'wp-multisite-waas'), ':attribute', ':max'),
// translators: %s is the field identifier
- 'alpha_dash' => sprintf(__('The %s only allows a-z, 0-9, _ and -', 'wp-ultimo'), ':attribute'),
+ 'alpha_dash' => sprintf(__('The %s only allows a-z, 0-9, _ and -', 'wp-multisite-waas'), ':attribute'),
// translators: %s is the field identifier
- 'lowercase' => sprintf(__('The %s must be lowercase', 'wp-ultimo'), ':attribute'),
+ 'lowercase' => sprintf(__('The %s must be lowercase', 'wp-multisite-waas'), ':attribute'),
// translators: %s is the field identifier
- 'integer' => sprintf(__('The %s must be integer', 'wp-ultimo'), ':attribute'),
+ 'integer' => sprintf(__('The %s must be integer', 'wp-multisite-waas'), ':attribute'),
],
$this
);
@@ -92,8 +92,8 @@ class Validator {
$this->validator->setTranslations(
[
- 'and' => __('and', 'wp-ultimo'),
- 'or' => __('or', 'wp-ultimo'),
+ 'and' => __('and', 'wp-multisite-waas'),
+ 'or' => __('or', 'wp-multisite-waas'),
]
);
diff --git a/inc/helpers/class-wp-config.php b/inc/helpers/class-wp-config.php
index 2ec4782..9ff538d 100644
--- a/inc/helpers/class-wp-config.php
+++ b/inc/helpers/class-wp-config.php
@@ -37,7 +37,7 @@ class WP_Config {
if ( ! is_writable($config_path)) {
// translators: %s is the file name.
- return new \WP_Error('not-writeable', sprintf(__('The file %s is not writable', 'wp-ultimo'), $config_path));
+ return new \WP_Error('not-writeable', sprintf(__('The file %s is not writable', 'wp-multisite-waas'), $config_path));
}
$config = file($config_path);
@@ -52,7 +52,7 @@ class WP_Config {
$hook_line = $this->find_reference_hook_line($config);
if (false === $hook_line) {
- return new \WP_Error('unknown-wpconfig', __("WP Multisite WaaS can't recognize your wp-config.php, please revert it to original state for further process.", 'wp-ultimo'));
+ return new \WP_Error('unknown-wpconfig', __("WP Multisite WaaS can't recognize your wp-config.php, please revert it to original state for further process.", 'wp-multisite-waas'));
}
$config = $this->inject_contents($config, $hook_line + 1, PHP_EOL . $content . PHP_EOL);
@@ -180,7 +180,7 @@ class WP_Config {
if ( ! is_writable($config_path)) {
// translators: %s is the file name.
- return new \WP_Error('not-writeable', sprintf(__('The file %s is not writable', 'wp-ultimo'), $config_path));
+ return new \WP_Error('not-writeable', sprintf(__('The file %s is not writable', 'wp-multisite-waas'), $config_path));
}
$config = file($config_path);
diff --git a/inc/helpers/validation-rules/class-checkout-steps.php b/inc/helpers/validation-rules/class-checkout-steps.php
index 37c2ec2..f67f57f 100644
--- a/inc/helpers/validation-rules/class-checkout-steps.php
+++ b/inc/helpers/validation-rules/class-checkout-steps.php
@@ -75,7 +75,7 @@ class Checkout_Steps extends Rule {
foreach ($required_fields_list as $field_slug) {
if (! in_array($field_slug, $all_fields_list, true)) {
- $this->message = sprintf(__('The %s field must be present in at least one of the checkout form steps.', 'wp-ultimo'), wu_slug_to_name($field_slug));
+ $this->message = sprintf(__('The %s field must be present in at least one of the checkout form steps.', 'wp-multisite-waas'), wu_slug_to_name($field_slug));
return false;
}
@@ -111,7 +111,7 @@ class Checkout_Steps extends Rule {
);
if (empty($found_submittable_field_types)) {
- $this->message = sprintf(__('The %s step is missing a submit field', 'wp-ultimo'), $step['name']);
+ $this->message = sprintf(__('The %s step is missing a submit field', 'wp-multisite-waas'), $step['name']);
return false;
}
diff --git a/inc/helpers/validation-rules/class-products.php b/inc/helpers/validation-rules/class-products.php
index a3b42db..35d1ae4 100644
--- a/inc/helpers/validation-rules/class-products.php
+++ b/inc/helpers/validation-rules/class-products.php
@@ -55,7 +55,7 @@ class Products extends Rule {
return true;
}
- $this->message = __('A plan is required.', 'wp-ultimo');
+ $this->message = __('A plan is required.', 'wp-multisite-waas');
return false;
}
diff --git a/inc/helpers/validation-rules/class-site-template.php b/inc/helpers/validation-rules/class-site-template.php
index 78847e0..9acfb4d 100644
--- a/inc/helpers/validation-rules/class-site-template.php
+++ b/inc/helpers/validation-rules/class-site-template.php
@@ -56,14 +56,14 @@ class Site_Template extends Rule {
$site = wu_get_site($template_id);
if (! $site || ($site->get_type() !== Site_Type::SITE_TEMPLATE && $site->get_type() !== Site_Type::CUSTOMER_OWNED)) {
- $this->message = __('The Template ID does not correspond to a valid Template', 'wp-ultimo');
+ $this->message = __('The Template ID does not correspond to a valid Template', 'wp-multisite-waas');
return false;
}
if ($site->get_type() === Site_Type::CUSTOMER_OWNED) {
if (! wu_get_setting('allow_own_site_as_template')) {
- $this->message = __('You can not use your sites as template', 'wp-ultimo');
+ $this->message = __('You can not use your sites as template', 'wp-multisite-waas');
return false;
}
@@ -71,7 +71,7 @@ class Site_Template extends Rule {
$customer = wu_get_current_customer();
if (! $customer || $site->get_customer_id() !== $customer->get_id()) {
- $this->message = __('The selected template is not available.', 'wp-ultimo');
+ $this->message = __('The selected template is not available.', 'wp-multisite-waas');
return false;
}
@@ -103,7 +103,7 @@ class Site_Template extends Rule {
if (is_array($allowed_templates) && !in_array($template_id, $allowed_templates)) { // phpcs:ignore
- $this->message = __('The selected template is not available for this product.', 'wp-ultimo');
+ $this->message = __('The selected template is not available for this product.', 'wp-multisite-waas');
return false;
}
diff --git a/inc/helpers/validation-rules/class-unique.php b/inc/helpers/validation-rules/class-unique.php
index a00b8c6..adf5478 100644
--- a/inc/helpers/validation-rules/class-unique.php
+++ b/inc/helpers/validation-rules/class-unique.php
@@ -78,7 +78,7 @@ class Unique extends Rule {
* Customize the error message for the customer.
*/
if (in_array($model, $user_models, true)) {
- $this->message = __('A customer with the same email address or username already exists.', 'wp-ultimo');
+ $this->message = __('A customer with the same email address or username already exists.', 'wp-multisite-waas');
}
if ( ! $existing) {
diff --git a/inc/installers/class-core-installer.php b/inc/installers/class-core-installer.php
index bb03b4a..2de900b 100644
--- a/inc/installers/class-core-installer.php
+++ b/inc/installers/class-core-installer.php
@@ -41,7 +41,7 @@ class Core_Installer extends Base_Installer {
if ( ! (defined('SUNRISE') && SUNRISE)) {
// translators: %s is a URL to a documentation link.
- $closte_message = sprintf(__('You are using Closte and they prevent the wp-config.php file from being written to. Follow these instructions to do it manually.', 'wp-ultimo'), wu_get_documentation_url('wp-ultimo-closte-config'));
+ $closte_message = sprintf(__('You are using Closte and they prevent the wp-config.php file from being written to. Follow these instructions to do it manually.', 'wp-multisite-waas'), wu_get_documentation_url('wp-ultimo-closte-config'));
throw new \Exception($closte_message);
}
@@ -68,21 +68,21 @@ class Core_Installer extends Base_Installer {
$steps['database_tables'] = [
'done' => $has_tables_installed,
- 'title' => __('Create Database Tables', 'wp-ultimo'),
- 'description' => __('WP Multisite WaaS uses custom tables for performance reasons. We need to create those tables and make sure they are setup properly before we can activate the plugin.', 'wp-ultimo'),
- 'pending' => __('Pending', 'wp-ultimo'),
- 'installing' => __('Creating default tables...', 'wp-ultimo'),
- 'success' => __('Success!', 'wp-ultimo'),
+ 'title' => __('Create Database Tables', 'wp-multisite-waas'),
+ 'description' => __('WP Multisite WaaS uses custom tables for performance reasons. We need to create those tables and make sure they are setup properly before we can activate the plugin.', 'wp-multisite-waas'),
+ 'pending' => __('Pending', 'wp-multisite-waas'),
+ 'installing' => __('Creating default tables...', 'wp-multisite-waas'),
+ 'success' => __('Success!', 'wp-multisite-waas'),
'help' => wu_get_documentation_url('installation-errors'),
];
$steps['sunrise'] = [
'done' => defined('SUNRISE') && SUNRISE && defined('WP_ULTIMO_SUNRISE_VERSION'),
- 'title' => __('Install sunrise.php File', 'wp-ultimo'),
- 'description' => __('We need to add our own sunrise.php file to the wp-content folder in order to be able to control access to sites and plugins before anything else happens on WordPress. ', 'wp-ultimo'),
- 'pending' => __('Pending', 'wp-ultimo'),
- 'installing' => __('Installing sunrise file...', 'wp-ultimo'),
- 'success' => __('Success!', 'wp-ultimo'),
+ 'title' => __('Install sunrise.php File', 'wp-multisite-waas'),
+ 'description' => __('We need to add our own sunrise.php file to the wp-content folder in order to be able to control access to sites and plugins before anything else happens on WordPress. ', 'wp-multisite-waas'),
+ 'pending' => __('Pending', 'wp-multisite-waas'),
+ 'installing' => __('Installing sunrise file...', 'wp-multisite-waas'),
+ 'success' => __('Success!', 'wp-multisite-waas'),
'help' => wu_get_documentation_url('installation-errors'),
];
@@ -117,7 +117,7 @@ class Core_Installer extends Base_Installer {
if (false === $success) {
// translators: %s is the name of a database table, e.g. wu_memberships.
- $error_message = sprintf(__('Installation of the table %s failed', 'wp-ultimo'), $table->get_name());
+ $error_message = sprintf(__('Installation of the table %s failed', 'wp-multisite-waas'), $table->get_name());
throw new \Exception($error_message);
}
diff --git a/inc/installers/class-default-content-installer.php b/inc/installers/class-default-content-installer.php
index 8825fb9..7042964 100644
--- a/inc/installers/class-default-content-installer.php
+++ b/inc/installers/class-default-content-installer.php
@@ -147,51 +147,51 @@ class Default_Content_Installer extends Base_Installer {
$steps['create_template_site'] = [
'done' => $this->done_creating_template_site(),
- 'title' => __('Create Example Template Site', 'wp-ultimo'),
- 'description' => __('This will create a template site on your network that you can use as a starting point.', 'wp-ultimo'),
- 'pending' => __('Pending', 'wp-ultimo'),
- 'installing' => __('Creating Template Site...', 'wp-ultimo'),
- 'success' => __('Success!', 'wp-ultimo'),
+ 'title' => __('Create Example Template Site', 'wp-multisite-waas'),
+ 'description' => __('This will create a template site on your network that you can use as a starting point.', 'wp-multisite-waas'),
+ 'pending' => __('Pending', 'wp-multisite-waas'),
+ 'installing' => __('Creating Template Site...', 'wp-multisite-waas'),
+ 'success' => __('Success!', 'wp-multisite-waas'),
'help' => wu_get_documentation_url('installation-errors'),
];
$steps['create_products'] = [
'done' => $this->done_creating_products(),
- 'title' => __('Create Example Products', 'wp-ultimo'),
- 'description' => __('This action will create example products (plans, packages, and services), so you have an starting point.', 'wp-ultimo'),
- 'pending' => __('Pending', 'wp-ultimo'),
- 'installing' => __('Creating Products...', 'wp-ultimo'),
- 'success' => __('Success!', 'wp-ultimo'),
+ 'title' => __('Create Example Products', 'wp-multisite-waas'),
+ 'description' => __('This action will create example products (plans, packages, and services), so you have an starting point.', 'wp-multisite-waas'),
+ 'pending' => __('Pending', 'wp-multisite-waas'),
+ 'installing' => __('Creating Products...', 'wp-multisite-waas'),
+ 'success' => __('Success!', 'wp-multisite-waas'),
'help' => wu_get_documentation_url('installation-errors'),
];
$steps['create_checkout'] = [
'done' => $this->done_creating_checkout_forms(),
- 'title' => __('Create a Checkout Form', 'wp-ultimo'),
- 'description' => __('This action will create a single-step checkout form that your customers will use to place purchases, as well as the page that goes with it.', 'wp-ultimo'),
- 'pending' => __('Pending', 'wp-ultimo'),
- 'installing' => __('Creating Checkout Form and Registration Page...', 'wp-ultimo'),
- 'success' => __('Success!', 'wp-ultimo'),
+ 'title' => __('Create a Checkout Form', 'wp-multisite-waas'),
+ 'description' => __('This action will create a single-step checkout form that your customers will use to place purchases, as well as the page that goes with it.', 'wp-multisite-waas'),
+ 'pending' => __('Pending', 'wp-multisite-waas'),
+ 'installing' => __('Creating Checkout Form and Registration Page...', 'wp-multisite-waas'),
+ 'success' => __('Success!', 'wp-multisite-waas'),
'help' => wu_get_documentation_url('installation-errors'),
];
$steps['create_emails'] = [
'done' => $this->done_creating_emails(),
- 'title' => __('Create the System Emails', 'wp-ultimo'),
- 'description' => __('This action will create all emails sent by WP Multisite WaaS.', 'wp-ultimo'),
- 'pending' => __('Pending', 'wp-ultimo'),
- 'installing' => __('Creating System Emails...', 'wp-ultimo'),
- 'success' => __('Success!', 'wp-ultimo'),
+ 'title' => __('Create the System Emails', 'wp-multisite-waas'),
+ 'description' => __('This action will create all emails sent by WP Multisite WaaS.', 'wp-multisite-waas'),
+ 'pending' => __('Pending', 'wp-multisite-waas'),
+ 'installing' => __('Creating System Emails...', 'wp-multisite-waas'),
+ 'success' => __('Success!', 'wp-multisite-waas'),
'help' => wu_get_documentation_url('installation-errors'),
];
$steps['create_login_page'] = [
'done' => $this->done_creating_login_page(),
- 'title' => __('Create Custom Login Page', 'wp-ultimo'),
- 'description' => __('This action will create a custom login page and replace the default one.', 'wp-ultimo'),
- 'pending' => __('Pending', 'wp-ultimo'),
- 'installing' => __('Creating Custom Login Page...', 'wp-ultimo'),
- 'success' => __('Success!', 'wp-ultimo'),
+ 'title' => __('Create Custom Login Page', 'wp-multisite-waas'),
+ 'description' => __('This action will create a custom login page and replace the default one.', 'wp-multisite-waas'),
+ 'pending' => __('Pending', 'wp-multisite-waas'),
+ 'installing' => __('Creating Custom Login Page...', 'wp-multisite-waas'),
+ 'success' => __('Success!', 'wp-multisite-waas'),
'help' => wu_get_documentation_url('installation-errors'),
];
@@ -214,7 +214,7 @@ class Default_Content_Installer extends Base_Installer {
$template_site = [
'domain' => $d->domain,
'path' => $d->path,
- 'title' => __('Template Site', 'wp-ultimo'),
+ 'title' => __('Template Site', 'wp-multisite-waas'),
'type' => 'site_template',
];
@@ -225,7 +225,7 @@ class Default_Content_Installer extends Base_Installer {
}
if ( ! $status) {
- $error_message = __('Template Site was not created. Maybe a site with the /template path already exists?', 'wp-ultimo');
+ $error_message = __('Template Site was not created. Maybe a site with the /template path already exists?', 'wp-multisite-waas');
throw new \Exception($error_message);
}
@@ -256,8 +256,8 @@ class Default_Content_Installer extends Base_Installer {
* Free Plan
*/
$products[] = [
- 'name' => __('Free', 'wp-ultimo'),
- 'description' => __('This is an example of a free plan.', 'wp-ultimo'),
+ 'name' => __('Free', 'wp-multisite-waas'),
+ 'description' => __('This is an example of a free plan.', 'wp-multisite-waas'),
'currency' => wu_get_setting('currency_symbol', 'USD'),
'pricing_type' => 'free',
'duration' => 1,
@@ -276,8 +276,8 @@ class Default_Content_Installer extends Base_Installer {
* Premium Plan
*/
$products[] = [
- 'name' => __('Premium', 'wp-ultimo'),
- 'description' => __('This is an example of a paid plan.', 'wp-ultimo'),
+ 'name' => __('Premium', 'wp-multisite-waas'),
+ 'description' => __('This is an example of a paid plan.', 'wp-multisite-waas'),
'currency' => wu_get_setting('currency_symbol', 'USD'),
'pricing_type' => 'paid',
'type' => 'plan',
@@ -296,8 +296,8 @@ class Default_Content_Installer extends Base_Installer {
* Service
*/
$products[] = [
- 'name' => __('SEO Consulting', 'wp-ultimo'),
- 'description' => __('This is an example of a service that you can create and charge customers for.', 'wp-ultimo'),
+ 'name' => __('SEO Consulting', 'wp-multisite-waas'),
+ 'description' => __('This is an example of a service that you can create and charge customers for.', 'wp-multisite-waas'),
'currency' => wu_get_setting('currency_symbol', 'USD'),
'pricing_type' => 'paid',
'type' => 'service',
@@ -335,7 +335,7 @@ class Default_Content_Installer extends Base_Installer {
public function _install_create_checkout(): void {
$checkout_form = [
- 'name' => __('Registration Form', 'wp-ultimo'),
+ 'name' => __('Registration Form', 'wp-multisite-waas'),
'slug' => 'main-form',
'settings' => [],
];
@@ -361,7 +361,7 @@ class Default_Content_Installer extends Base_Installer {
*/
$post_details = [
'post_name' => 'register',
- 'post_title' => __('Register', 'wp-ultimo'),
+ 'post_title' => __('Register', 'wp-multisite-waas'),
'post_content' => sprintf($post_content, $status->get_slug()),
'post_status' => 'publish',
'post_type' => 'page',
@@ -408,7 +408,7 @@ class Default_Content_Installer extends Base_Installer {
';
$page_args = [
- 'post_title' => __('Login', 'wp-ultimo'),
+ 'post_title' => __('Login', 'wp-multisite-waas'),
'post_content' => $page_content,
'post_status' => 'publish',
'post_author' => get_current_user_id(),
diff --git a/inc/installers/class-migrator.php b/inc/installers/class-migrator.php
index 6be3974..133605d 100644
--- a/inc/installers/class-migrator.php
+++ b/inc/installers/class-migrator.php
@@ -253,12 +253,12 @@ class Migrator extends Base_Installer {
if ($dry_run && ! $force_all) {
$steps['dry_run_check'] = [
- 'title' => __('Pre-Migration Check', 'wp-ultimo'),
- 'description' => __('Runs all migrations in a sand-boxed environment to see if it hits an error.', 'wp-ultimo'),
+ 'title' => __('Pre-Migration Check', 'wp-multisite-waas'),
+ 'description' => __('Runs all migrations in a sand-boxed environment to see if it hits an error.', 'wp-multisite-waas'),
'help' => wu_get_documentation_url('migration-errors'),
- 'pending' => __('Pending', 'wp-ultimo'),
- 'installing' => __('Checking...', 'wp-ultimo'),
- 'success' => __('Success!', 'wp-ultimo'),
+ 'pending' => __('Pending', 'wp-multisite-waas'),
+ 'installing' => __('Checking...', 'wp-multisite-waas'),
+ 'success' => __('Success!', 'wp-multisite-waas'),
'done' => false,
];
@@ -267,105 +267,105 @@ class Migrator extends Base_Installer {
if ( ! $dry_run) {
$steps['backup'] = [
- 'title' => __('Prepare for Migration', 'wp-ultimo'),
- 'description' => __('Verifies the data before going forward with the migration.', 'wp-ultimo'),
- 'pending' => __('Pending', 'wp-ultimo'),
- 'installing' => __('Preparing...', 'wp-ultimo'),
- 'success' => __('Success!', 'wp-ultimo'),
+ 'title' => __('Prepare for Migration', 'wp-multisite-waas'),
+ 'description' => __('Verifies the data before going forward with the migration.', 'wp-multisite-waas'),
+ 'pending' => __('Pending', 'wp-multisite-waas'),
+ 'installing' => __('Preparing...', 'wp-multisite-waas'),
+ 'success' => __('Success!', 'wp-multisite-waas'),
'help' => wu_get_documentation_url('migration-errors'),
'done' => false,
];
}
$steps['settings'] = [
- 'title' => __('Settings', 'wp-ultimo'),
- 'description' => __('Migrates the settings from the older version.', 'wp-ultimo'),
+ 'title' => __('Settings', 'wp-multisite-waas'),
+ 'description' => __('Migrates the settings from the older version.', 'wp-multisite-waas'),
'help' => wu_get_documentation_url('migration-errors'),
'done' => false,
];
$steps['products'] = [
- 'title' => __('Plans to Products', 'wp-ultimo'),
- 'description' => __('Converts the old plans into products.', 'wp-ultimo'),
+ 'title' => __('Plans to Products', 'wp-multisite-waas'),
+ 'description' => __('Converts the old plans into products.', 'wp-multisite-waas'),
'help' => wu_get_documentation_url('migration-errors'),
'done' => false,
];
$steps['customers'] = [
- 'title' => __('Users to Customers', 'wp-ultimo'),
- 'description' => __('Creates customers based on the existing users.', 'wp-ultimo'),
+ 'title' => __('Users to Customers', 'wp-multisite-waas'),
+ 'description' => __('Creates customers based on the existing users.', 'wp-multisite-waas'),
'help' => wu_get_documentation_url('migration-errors'),
'done' => false,
];
$steps['memberships'] = [
- 'title' => __('Subscriptions to Memberships', 'wp-ultimo'),
- 'description' => __('Converts subscriptions into Memberships.', 'wp-ultimo'),
+ 'title' => __('Subscriptions to Memberships', 'wp-multisite-waas'),
+ 'description' => __('Converts subscriptions into Memberships.', 'wp-multisite-waas'),
'help' => wu_get_documentation_url('migration-errors'),
'done' => false,
];
$steps['transactions'] = [
- 'title' => __('Transactions to Payments & Events', 'wp-ultimo'),
- 'description' => __('Converts transactions into payments and events.', 'wp-ultimo'),
+ 'title' => __('Transactions to Payments & Events', 'wp-multisite-waas'),
+ 'description' => __('Converts transactions into payments and events.', 'wp-multisite-waas'),
'help' => wu_get_documentation_url('migration-errors'),
'done' => false,
];
$steps['discount_codes'] = [
- 'title' => __('Coupons to Discount Codes', 'wp-ultimo'),
- 'description' => __('Converts coupons into discount codes.', 'wp-ultimo'),
+ 'title' => __('Coupons to Discount Codes', 'wp-multisite-waas'),
+ 'description' => __('Converts coupons into discount codes.', 'wp-multisite-waas'),
'help' => wu_get_documentation_url('migration-errors'),
'done' => false,
];
$steps['sites'] = [
- 'title' => __('Customer Sites', 'wp-ultimo'),
- 'description' => __('Adjusts existing customer sites.', 'wp-ultimo'),
- 'installing' => __('Making Adjustments...', 'wp-ultimo'),
+ 'title' => __('Customer Sites', 'wp-multisite-waas'),
+ 'description' => __('Adjusts existing customer sites.', 'wp-multisite-waas'),
+ 'installing' => __('Making Adjustments...', 'wp-multisite-waas'),
'help' => wu_get_documentation_url('migration-errors'),
'done' => false,
];
$steps['site_templates'] = [
- 'title' => __('Sites Templates', 'wp-ultimo'),
- 'description' => __('Adjusts existing site templates.', 'wp-ultimo'),
- 'installing' => __('Making Adjustments...', 'wp-ultimo'),
+ 'title' => __('Sites Templates', 'wp-multisite-waas'),
+ 'description' => __('Adjusts existing site templates.', 'wp-multisite-waas'),
+ 'installing' => __('Making Adjustments...', 'wp-multisite-waas'),
'help' => wu_get_documentation_url('migration-errors'),
'done' => false,
];
$steps['domains'] = [
- 'title' => __('Mapped Domains', 'wp-ultimo'),
- 'description' => __('Converts mapped domains.', 'wp-ultimo'),
+ 'title' => __('Mapped Domains', 'wp-multisite-waas'),
+ 'description' => __('Converts mapped domains.', 'wp-multisite-waas'),
'help' => wu_get_documentation_url('migration-errors'),
'done' => false,
];
$steps['forms'] = [
- 'title' => __('Checkout Forms', 'wp-ultimo'),
- 'description' => __('Creates a checkout form based on the existing signup flow.', 'wp-ultimo'),
+ 'title' => __('Checkout Forms', 'wp-multisite-waas'),
+ 'description' => __('Creates a checkout form based on the existing signup flow.', 'wp-multisite-waas'),
'help' => wu_get_documentation_url('migration-errors'),
'done' => false,
];
$steps['emails'] = [
- 'title' => __('Emails & Broadcasts', 'wp-ultimo'),
- 'description' => __('Converts the emails and broadcasts.', 'wp-ultimo'),
+ 'title' => __('Emails & Broadcasts', 'wp-multisite-waas'),
+ 'description' => __('Converts the emails and broadcasts.', 'wp-multisite-waas'),
'help' => wu_get_documentation_url('migration-errors'),
'done' => false,
];
$steps['webhooks'] = [
- 'title' => __('Webhooks', 'wp-ultimo'),
- 'description' => __('Migrates existing webhooks.', 'wp-ultimo'),
+ 'title' => __('Webhooks', 'wp-multisite-waas'),
+ 'description' => __('Migrates existing webhooks.', 'wp-multisite-waas'),
'help' => wu_get_documentation_url('migration-errors'),
'done' => false,
];
$steps['other'] = [
- 'title' => __('Other Migrations', 'wp-ultimo'),
- 'description' => __('Other migrations that don\'t really fit anywhere else.', 'wp-ultimo'),
+ 'title' => __('Other Migrations', 'wp-multisite-waas'),
+ 'description' => __('Other migrations that don\'t really fit anywhere else.', 'wp-multisite-waas'),
'help' => wu_get_documentation_url('migration-errors'),
'done' => false,
];
@@ -374,9 +374,9 @@ class Migrator extends Base_Installer {
fn($item) => wp_parse_args(
$item,
[
- 'pending' => __('Pending', 'wp-ultimo'),
- 'installing' => __('Migrating...', 'wp-ultimo'),
- 'success' => __('Success!', 'wp-ultimo'),
+ 'pending' => __('Pending', 'wp-multisite-waas'),
+ 'installing' => __('Migrating...', 'wp-multisite-waas'),
+ 'success' => __('Success!', 'wp-multisite-waas'),
]
),
$steps
@@ -578,7 +578,7 @@ class Migrator extends Base_Installer {
$caller = $dry_run ? $wu_migrator_current_installer : $installer;
// Translators: %s is the name of the installer.
- $error_nice_message = sprintf(__('Critical error found when migrating "%s".', 'wp-ultimo'), $caller);
+ $error_nice_message = sprintf(__('Critical error found when migrating "%s".', 'wp-multisite-waas'), $caller);
if ($session) {
$errors = (array) $session->get('errors');
@@ -912,7 +912,7 @@ class Migrator extends Base_Installer {
'preview_url_parameter' => 'template-preview',
'bg_color' => $this->get_old_setting('top-bar-bg-color', '#f9f9f9'),
'button_bg_color' => $this->get_old_setting('top-bar-button-bg-color', '#00a1ff'),
- 'button_text' => $this->get_old_setting('top-bar-button-text', __('Use this Template', 'wp-ultimo')),
+ 'button_text' => $this->get_old_setting('top-bar-button-text', __('Use this Template', 'wp-multisite-waas')),
'display_responsive_controls' => $this->get_old_setting('top-bar-enable-resize', true),
'use_custom_logo' => $this->get_old_setting('top-bar-use-logo'),
'custom_logo' => $this->get_old_setting('top-bar-logo'),
@@ -2310,7 +2310,7 @@ class Migrator extends Base_Installer {
}
$checkout_form = [
- 'name' => __('Signup Form', 'wp-ultimo'),
+ 'name' => __('Signup Form', 'wp-multisite-waas'),
'slug' => 'main-form',
'allowed_countries' => $this->get_old_setting('allowed_countries', []),
'settings' => [],
@@ -2347,7 +2347,7 @@ class Migrator extends Base_Installer {
*/
$post_details = [
'post_name' => $page_slug,
- 'post_title' => __('Signup', 'wp-ultimo'),
+ 'post_title' => __('Signup', 'wp-multisite-waas'),
'post_status' => 'publish',
'post_type' => 'page',
'post_content' => sprintf($post_content, $status->get_slug()),
@@ -2387,7 +2387,7 @@ class Migrator extends Base_Installer {
*/
$login_post_details = [
'post_name' => $login_page_slug,
- 'post_title' => __('Login', 'wp-ultimo'),
+ 'post_title' => __('Login', 'wp-multisite-waas'),
'post_status' => 'publish',
'post_type' => 'page',
'post_content' => '',
diff --git a/inc/integrations/host-providers/class-base-host-provider.php b/inc/integrations/host-providers/class-base-host-provider.php
index 3903a3f..c695ee0 100644
--- a/inc/integrations/host-providers/class-base-host-provider.php
+++ b/inc/integrations/host-providers/class-base-host-provider.php
@@ -200,7 +200,7 @@ abstract class Base_Host_Provider {
$slug = $this->get_id();
- $html = $this->is_enabled() ? sprintf(' %s', __('Activated', 'wp-ultimo')) : '';
+ $html = $this->is_enabled() ? sprintf(' %s', __('Activated', 'wp-multisite-waas')) : '';
$url = wu_network_admin_url(
'wp-ultimo-hosting-integration-wizard',
@@ -209,14 +209,14 @@ abstract class Base_Host_Provider {
]
);
- $html .= sprintf('%s', $url, __('Configuration', 'wp-ultimo'));
+ $html .= sprintf('%s', $url, __('Configuration', 'wp-multisite-waas'));
// translators: %s is the name of a host provider (e.g. Cloudways, WPMUDev, Closte...).
- $title = sprintf(__('%s Integration', 'wp-ultimo'), $this->get_title());
+ $title = sprintf(__('%s Integration', 'wp-multisite-waas'), $this->get_title());
$title .= sprintf(
"%s",
- __('Go to the setup wizard to setup this integration.', 'wp-ultimo')
+ __('Go to the setup wizard to setup this integration.', 'wp-multisite-waas')
);
wu_register_settings_field(
@@ -243,14 +243,14 @@ abstract class Base_Host_Provider {
}
// translators: %1$s will be replaced with the integration title. E.g. RunCloud
- $message = sprintf(__('It looks like you are using %1$s as your hosting provider, yet the %1$s integration module is not active. In order for the domain mapping integration to work with %1$s, you might want to activate that module.', 'wp-ultimo'), $this->get_title());
+ $message = sprintf(__('It looks like you are using %1$s as your hosting provider, yet the %1$s integration module is not active. In order for the domain mapping integration to work with %1$s, you might want to activate that module.', 'wp-multisite-waas'), $this->get_title());
$slug = $this->get_id();
$actions = [
'activate' => [
// translators: %s is the integration name.
- 'title' => sprintf(__('Activate %s', 'wp-ultimo'), $this->get_title()),
+ 'title' => sprintf(__('Activate %s', 'wp-multisite-waas'), $this->get_title()),
'url' => wu_network_admin_url(
'wp-ultimo-hosting-integration-wizard',
[
@@ -276,14 +276,14 @@ abstract class Base_Host_Provider {
}
// translators: %1$s will be replaced with the integration title. E.g. RunCloud.
- $message = sprintf(__('It looks like you are using %1$s as your hosting provider, yet the %1$s integration module was not properly setup. In order for the domain mapping integration to work with %1$s, you need to configure that module.', 'wp-ultimo'), $this->get_title());
+ $message = sprintf(__('It looks like you are using %1$s as your hosting provider, yet the %1$s integration module was not properly setup. In order for the domain mapping integration to work with %1$s, you need to configure that module.', 'wp-multisite-waas'), $this->get_title());
$slug = $this->get_id();
$actions = [
'activate' => [
// translators: %s is the integration name
- 'title' => sprintf(__('Setup %s', 'wp-ultimo'), $this->get_title()),
+ 'title' => sprintf(__('Setup %s', 'wp-multisite-waas'), $this->get_title()),
'url' => wu_network_admin_url(
'wp-ultimo-hosting-integration-wizard',
[
@@ -560,7 +560,7 @@ abstract class Base_Host_Provider {
$explainer_lines = [
'will' => [
// translators: %s is the name of the integration e.g. RunCloud
- 'send_domains' => sprintf(__('Send API calls to %s servers with domain names added to this network', 'wp-ultimo'), $this->get_title()),
+ 'send_domains' => sprintf(__('Send API calls to %s servers with domain names added to this network', 'wp-multisite-waas'), $this->get_title()),
],
'will_not' => [],
];
@@ -568,11 +568,11 @@ abstract class Base_Host_Provider {
if ($this->supports('autossl')) {
// translators: %s is the name of the integration e.g. RunCloud
- $explainer_lines['will'][] = sprintf(__('Fetch and install a SSL certificate on %s platform after the domain is added.', 'wp-ultimo'), $this->get_title());
+ $explainer_lines['will'][] = sprintf(__('Fetch and install a SSL certificate on %s platform after the domain is added.', 'wp-multisite-waas'), $this->get_title());
} else {
// translators: %s is the name of the integration e.g. RunCloud
- $explainer_lines['will_not'][] = sprintf(__('Fetch and install a SSL certificate on %s platform after the domain is added. This needs to be done manually.', 'wp-ultimo'), $this->get_title());
+ $explainer_lines['will_not'][] = sprintf(__('Fetch and install a SSL certificate on %s platform after the domain is added. This needs to be done manually.', 'wp-multisite-waas'), $this->get_title());
}
return $explainer_lines;
@@ -643,7 +643,7 @@ abstract class Base_Host_Provider {
*/
public function get_description() {
- return __('No description provided.', 'wp-ultimo');
+ return __('No description provided.', 'wp-multisite-waas');
}
/**
diff --git a/inc/integrations/host-providers/class-closte-host-provider.php b/inc/integrations/host-providers/class-closte-host-provider.php
index 9bdb871..7e8ecff 100644
--- a/inc/integrations/host-providers/class-closte-host-provider.php
+++ b/inc/integrations/host-providers/class-closte-host-provider.php
@@ -162,7 +162,7 @@ class Closte_Host_Provider extends Base_Host_Provider {
);
}
- $error = new \WP_Error('not-auth', __('Something went wrong', 'wp-ultimo'));
+ $error = new \WP_Error('not-auth', __('Something went wrong', 'wp-multisite-waas'));
wp_send_json_error($error);
}
@@ -224,7 +224,7 @@ class Closte_Host_Provider extends Base_Host_Provider {
*/
public function get_description() {
- return __('Closte is not just another web hosting who advertise their services as a cloud hosting while still provides fixed plans like in 1995.', 'wp-ultimo');
+ return __('Closte is not just another web hosting who advertise their services as a cloud hosting while still provides fixed plans like in 1995.', 'wp-multisite-waas');
}
/**
diff --git a/inc/integrations/host-providers/class-cloudflare-host-provider.php b/inc/integrations/host-providers/class-cloudflare-host-provider.php
index b029dce..761b41c 100644
--- a/inc/integrations/host-providers/class-cloudflare-host-provider.php
+++ b/inc/integrations/host-providers/class-cloudflare-host-provider.php
@@ -116,9 +116,9 @@ class Cloudflare_Host_Provider extends Base_Host_Provider {
);
if ( ! empty($dns_entries->result)) {
- $proxied_tag = sprintf('%s', wu_tooltip_text(__('Proxied', 'wp-ultimo')), __('Cloudflare', 'wp-ultimo'));
+ $proxied_tag = sprintf('%s', wu_tooltip_text(__('Proxied', 'wp-multisite-waas')), __('Cloudflare', 'wp-multisite-waas'));
- $not_proxied_tag = sprintf('%s', wu_tooltip_text(__('Not Proxied', 'wp-ultimo')), __('Cloudflare', 'wp-ultimo'));
+ $not_proxied_tag = sprintf('%s', wu_tooltip_text(__('Not Proxied', 'wp-multisite-waas')), __('Cloudflare', 'wp-multisite-waas'));
foreach ($dns_entries->result as $entry) {
$dns_records[] = [
@@ -163,12 +163,12 @@ class Cloudflare_Host_Provider extends Base_Host_Provider {
return [
'WU_CLOUDFLARE_ZONE_ID' => [
- 'title' => __('Zone ID', 'wp-ultimo'),
- 'placeholder' => __('e.g. 644c7705723d62e31f700bb798219c75', 'wp-ultimo'),
+ 'title' => __('Zone ID', 'wp-multisite-waas'),
+ 'placeholder' => __('e.g. 644c7705723d62e31f700bb798219c75', 'wp-multisite-waas'),
],
'WU_CLOUDFLARE_API_KEY' => [
- 'title' => __('API Key', 'wp-ultimo'),
- 'placeholder' => __('e.g. xKGbxxVDpdcUv9dUzRf4i4ngv0QNf1wCtbehiec_o', 'wp-ultimo'),
+ 'title' => __('API Key', 'wp-multisite-waas'),
+ 'placeholder' => __('e.g. xKGbxxVDpdcUv9dUzRf4i4ngv0QNf1wCtbehiec_o', 'wp-multisite-waas'),
],
];
}
@@ -423,7 +423,7 @@ class Cloudflare_Host_Provider extends Base_Host_Provider {
*/
public function get_description() {
- return __('Cloudflare secures and ensures the reliability of your external-facing resources such as websites, APIs, and applications. It protects your internal resources such as behind-the-firewall applications, teams, and devices. And it is your platform for developing globally-scalable applications.', 'wp-ultimo');
+ return __('Cloudflare secures and ensures the reliability of your external-facing resources such as websites, APIs, and applications. It protects your internal resources such as behind-the-firewall applications, teams, and devices. And it is your platform for developing globally-scalable applications.', 'wp-multisite-waas');
}
/**
@@ -451,12 +451,12 @@ class Cloudflare_Host_Provider extends Base_Host_Provider {
];
if (is_subdomain_install()) {
- $explainer_lines['will']['send_sub_domains'] = __('Add a new proxied subdomain to the configured CloudFlare zone whenever a new site gets created', 'wp-ultimo');
+ $explainer_lines['will']['send_sub_domains'] = __('Add a new proxied subdomain to the configured CloudFlare zone whenever a new site gets created', 'wp-multisite-waas');
} else {
- $explainer_lines['will']['subdirectory'] = __('Do nothing! The CloudFlare integration has no effect in subdirectory multisite installs such as this one', 'wp-ultimo');
+ $explainer_lines['will']['subdirectory'] = __('Do nothing! The CloudFlare integration has no effect in subdirectory multisite installs such as this one', 'wp-multisite-waas');
}
- $explainer_lines['will_not']['send_domain'] = __('Add domain mappings as new CloudFlare zones', 'wp-ultimo');
+ $explainer_lines['will_not']['send_domain'] = __('Add domain mappings as new CloudFlare zones', 'wp-multisite-waas');
return $explainer_lines;
}
diff --git a/inc/integrations/host-providers/class-cloudways-host-provider.php b/inc/integrations/host-providers/class-cloudways-host-provider.php
index 9572960..59c1882 100644
--- a/inc/integrations/host-providers/class-cloudways-host-provider.php
+++ b/inc/integrations/host-providers/class-cloudways-host-provider.php
@@ -146,30 +146,30 @@ class Cloudways_Host_Provider extends Base_Host_Provider {
return [
'WU_CLOUDWAYS_EMAIL' => [
- 'title' => __('Cloudways Account Email', 'wp-ultimo'),
- 'desc' => __('Your Cloudways account email address.', 'wp-ultimo'),
- 'placeholder' => __('e.g. me@gmail.com', 'wp-ultimo'),
+ 'title' => __('Cloudways Account Email', 'wp-multisite-waas'),
+ 'desc' => __('Your Cloudways account email address.', 'wp-multisite-waas'),
+ 'placeholder' => __('e.g. me@gmail.com', 'wp-multisite-waas'),
],
'WU_CLOUDWAYS_API_KEY' => [
- 'title' => __('Cloudways API Key', 'wp-ultimo'),
- 'desc' => __('The API Key retrieved in the previous step.', 'wp-ultimo'),
- 'placeholder' => __('e.g. eYP0Jo3Fzzm5SOZCi5nLR0Mki2lbYZ', 'wp-ultimo'),
+ 'title' => __('Cloudways API Key', 'wp-multisite-waas'),
+ 'desc' => __('The API Key retrieved in the previous step.', 'wp-multisite-waas'),
+ 'placeholder' => __('e.g. eYP0Jo3Fzzm5SOZCi5nLR0Mki2lbYZ', 'wp-multisite-waas'),
],
'WU_CLOUDWAYS_SERVER_ID' => [
- 'title' => __('Cloudways Server ID', 'wp-ultimo'),
- 'desc' => __('The Server ID retrieved in the previous step.', 'wp-ultimo'),
- 'placeholder' => __('e.g. 11667', 'wp-ultimo'),
+ 'title' => __('Cloudways Server ID', 'wp-multisite-waas'),
+ 'desc' => __('The Server ID retrieved in the previous step.', 'wp-multisite-waas'),
+ 'placeholder' => __('e.g. 11667', 'wp-multisite-waas'),
],
'WU_CLOUDWAYS_APP_ID' => [
- 'title' => __('Cloudways App ID', 'wp-ultimo'),
- 'desc' => __('The App ID retrieved in the previous step.', 'wp-ultimo'),
- 'placeholder' => __('e.g. 940288', 'wp-ultimo'),
+ 'title' => __('Cloudways App ID', 'wp-multisite-waas'),
+ 'desc' => __('The App ID retrieved in the previous step.', 'wp-multisite-waas'),
+ 'placeholder' => __('e.g. 940288', 'wp-multisite-waas'),
],
'WU_CLOUDWAYS_EXTRA_DOMAINS' => [
- 'title' => __('Cloudways Extra Domains', 'wp-ultimo'),
- 'tooltip' => __('The Cloudways API is a bit strange in that it doesn’t offer a way to add or remove just one domain, only a way to update the whole domain list. That means that WP Multisite WaaS will replace all domains you might have there with the list of mapped domains of the network every time a new domain is added.', 'wp-ultimo'),
- 'desc' => __('Comma-separated list of additional domains to add to Cloudways.', 'wp-ultimo'),
- 'placeholder' => __('e.g. *.test.com, test.com', 'wp-ultimo'),
+ 'title' => __('Cloudways Extra Domains', 'wp-multisite-waas'),
+ 'tooltip' => __('The Cloudways API is a bit strange in that it doesn’t offer a way to add or remove just one domain, only a way to update the whole domain list. That means that WP Multisite WaaS will replace all domains you might have there with the list of mapped domains of the network every time a new domain is added.', 'wp-multisite-waas'),
+ 'desc' => __('Comma-separated list of additional domains to add to Cloudways.', 'wp-multisite-waas'),
+ 'placeholder' => __('e.g. *.test.com, test.com', 'wp-multisite-waas'),
],
];
}
@@ -530,7 +530,7 @@ class Cloudways_Host_Provider extends Base_Host_Provider {
*/
public function get_description() {
- return __('Focus on your business and avoid all the web hosting hassles. Our managed hosting guarantees unmatched performance, reliability and choice with 24/7 support that acts as your extended team, making Cloudways an ultimate choice for growing agencies and e-commerce businesses.', 'wp-ultimo');
+ return __('Focus on your business and avoid all the web hosting hassles. Our managed hosting guarantees unmatched performance, reliability and choice with 24/7 support that acts as your extended team, making Cloudways an ultimate choice for growing agencies and e-commerce businesses.', 'wp-multisite-waas');
}
/**
diff --git a/inc/integrations/host-providers/class-cpanel-host-provider.php b/inc/integrations/host-providers/class-cpanel-host-provider.php
index 08777f8..96333ba 100644
--- a/inc/integrations/host-providers/class-cpanel-host-provider.php
+++ b/inc/integrations/host-providers/class-cpanel-host-provider.php
@@ -112,26 +112,26 @@ class CPanel_Host_Provider extends Base_Host_Provider {
return [
'WU_CPANEL_USERNAME' => [
- 'title' => __('cPanel Username', 'wp-ultimo'),
- 'placeholder' => __('e.g. username', 'wp-ultimo'),
+ 'title' => __('cPanel Username', 'wp-multisite-waas'),
+ 'placeholder' => __('e.g. username', 'wp-multisite-waas'),
],
'WU_CPANEL_PASSWORD' => [
'type' => 'password',
- 'title' => __('cPanel Password', 'wp-ultimo'),
- 'placeholder' => __('password', 'wp-ultimo'),
+ 'title' => __('cPanel Password', 'wp-multisite-waas'),
+ 'placeholder' => __('password', 'wp-multisite-waas'),
],
'WU_CPANEL_HOST' => [
- 'title' => __('cPanel Host', 'wp-ultimo'),
- 'placeholder' => __('e.g. yourdomain.com', 'wp-ultimo'),
+ 'title' => __('cPanel Host', 'wp-multisite-waas'),
+ 'placeholder' => __('e.g. yourdomain.com', 'wp-multisite-waas'),
],
'WU_CPANEL_PORT' => [
- 'title' => __('cPanel Port', 'wp-ultimo'),
- 'placeholder' => __('Defaults to 2083', 'wp-ultimo'),
+ 'title' => __('cPanel Port', 'wp-multisite-waas'),
+ 'placeholder' => __('Defaults to 2083', 'wp-multisite-waas'),
'value' => 2083,
],
'WU_CPANEL_ROOT_DIR' => [
- 'title' => __('Root Directory', 'wp-ultimo'),
- 'placeholder' => __('Defaults to /public_html', 'wp-ultimo'),
+ 'title' => __('Root Directory', 'wp-multisite-waas'),
+ 'placeholder' => __('Defaults to /public_html', 'wp-multisite-waas'),
'value' => '/public_html',
],
];
@@ -300,7 +300,7 @@ class CPanel_Host_Provider extends Base_Host_Provider {
if (is_object($results->cpanelresult->data)) {
return wu_log_add('integration-cpanel', $results->cpanelresult->data->reason);
} elseif ( ! isset($results->cpanelresult->data[0])) {
- return wu_log_add('integration-cpanel', __('Unexpected error ocurred trying to sync domains with CPanel', 'wp-ultimo'), LogLevel::ERROR);
+ return wu_log_add('integration-cpanel', __('Unexpected error ocurred trying to sync domains with CPanel', 'wp-multisite-waas'), LogLevel::ERROR);
}
return wu_log_add('integration-cpanel', $results->cpanelresult->data[0]->reason);
@@ -314,7 +314,7 @@ class CPanel_Host_Provider extends Base_Host_Provider {
*/
public function get_description() {
- return __('cPanel is the management panel being used on a large number of shared and dedicated hosts across the globe.', 'wp-ultimo');
+ return __('cPanel is the management panel being used on a large number of shared and dedicated hosts across the globe.', 'wp-multisite-waas');
}
/**
@@ -359,13 +359,13 @@ class CPanel_Host_Provider extends Base_Host_Provider {
$explainer_lines = [
'will' => [
- 'send_domains' => __('Add a new Addon Domain on cPanel whenever a new domain mapping gets created on your network', 'wp-ultimo'),
+ 'send_domains' => __('Add a new Addon Domain on cPanel whenever a new domain mapping gets created on your network', 'wp-multisite-waas'),
],
'will_not' => [],
];
if (is_subdomain_install()) {
- $explainer_lines['will']['send_sub_domains'] = __('Add a new SubDomain on cPanel whenever a new site gets created on your network', 'wp-ultimo');
+ $explainer_lines['will']['send_sub_domains'] = __('Add a new SubDomain on cPanel whenever a new site gets created on your network', 'wp-multisite-waas');
}
return $explainer_lines;
diff --git a/inc/integrations/host-providers/class-gridpane-host-provider.php b/inc/integrations/host-providers/class-gridpane-host-provider.php
index 7af16bd..597520d 100644
--- a/inc/integrations/host-providers/class-gridpane-host-provider.php
+++ b/inc/integrations/host-providers/class-gridpane-host-provider.php
@@ -208,7 +208,7 @@ class Gridpane_Host_Provider extends Base_Host_Provider {
if (wu_get_isset($results, 'message') === 'This action is unauthorized.') {
wp_send_json_error(
[
- 'error' => __('We were not able to successfully establish a connection.', 'wp-ultimo'),
+ 'error' => __('We were not able to successfully establish a connection.', 'wp-multisite-waas'),
]
);
}
@@ -216,14 +216,14 @@ class Gridpane_Host_Provider extends Base_Host_Provider {
if (is_wp_error($results)) {
wp_send_json_error(
[
- 'error' => __('We were not able to successfully establish a connection.', 'wp-ultimo'),
+ 'error' => __('We were not able to successfully establish a connection.', 'wp-multisite-waas'),
]
);
}
wp_send_json_success(
[
- 'success' => __('Connection successfully established.', 'wp-ultimo'),
+ 'success' => __('Connection successfully established.', 'wp-multisite-waas'),
]
);
}
@@ -247,7 +247,7 @@ class Gridpane_Host_Provider extends Base_Host_Provider {
*/
public function get_description() {
- return __("GridPane is the world's first hosting control panel built exclusively for serious WordPress professionals.", 'wp-ultimo');
+ return __("GridPane is the world's first hosting control panel built exclusively for serious WordPress professionals.", 'wp-multisite-waas');
}
/**
diff --git a/inc/integrations/host-providers/class-runcloud-host-provider.php b/inc/integrations/host-providers/class-runcloud-host-provider.php
index 8b28579..0232904 100644
--- a/inc/integrations/host-providers/class-runcloud-host-provider.php
+++ b/inc/integrations/host-providers/class-runcloud-host-provider.php
@@ -91,24 +91,24 @@ class Runcloud_Host_Provider extends Base_Host_Provider {
return [
'WU_RUNCLOUD_API_KEY' => [
- 'title' => __('RunCloud API Key', 'wp-ultimo'),
- 'desc' => __('The API Key retrieved in the previous step.', 'wp-ultimo'),
- 'placeholder' => __('e.g. Sx9tHAn5XMrkeyZKS1a7uj8dGTLgKnlEOaJEFRt1m95L', 'wp-ultimo'),
+ 'title' => __('RunCloud API Key', 'wp-multisite-waas'),
+ 'desc' => __('The API Key retrieved in the previous step.', 'wp-multisite-waas'),
+ 'placeholder' => __('e.g. Sx9tHAn5XMrkeyZKS1a7uj8dGTLgKnlEOaJEFRt1m95L', 'wp-multisite-waas'),
],
'WU_RUNCLOUD_API_SECRET' => [
- 'title' => __('RunCloud API Secret', 'wp-ultimo'),
- 'desc' => __('The API secret retrieved in the previous step.', 'wp-ultimo'),
- 'placeholder' => __('e.g. ZlAebXp2sa6J5xsrPoiPcMXZRIVsHJ2rEkNCNGknZnF0UK5cSNSePS8GBW9FXIQd', 'wp-ultimo'),
+ 'title' => __('RunCloud API Secret', 'wp-multisite-waas'),
+ 'desc' => __('The API secret retrieved in the previous step.', 'wp-multisite-waas'),
+ 'placeholder' => __('e.g. ZlAebXp2sa6J5xsrPoiPcMXZRIVsHJ2rEkNCNGknZnF0UK5cSNSePS8GBW9FXIQd', 'wp-multisite-waas'),
],
'WU_RUNCLOUD_SERVER_ID' => [
- 'title' => __('RunCloud Server ID', 'wp-ultimo'),
- 'desc' => __('The Server ID retrieved in the previous step.', 'wp-ultimo'),
- 'placeholder' => __('e.g. 11667', 'wp-ultimo'),
+ 'title' => __('RunCloud Server ID', 'wp-multisite-waas'),
+ 'desc' => __('The Server ID retrieved in the previous step.', 'wp-multisite-waas'),
+ 'placeholder' => __('e.g. 11667', 'wp-multisite-waas'),
],
'WU_RUNCLOUD_APP_ID' => [
- 'title' => __('RunCloud App ID', 'wp-ultimo'),
- 'desc' => __('The App ID retrieved in the previous step.', 'wp-ultimo'),
- 'placeholder' => __('e.g. 940288', 'wp-ultimo'),
+ 'title' => __('RunCloud App ID', 'wp-multisite-waas'),
+ 'desc' => __('The App ID retrieved in the previous step.', 'wp-multisite-waas'),
+ 'placeholder' => __('e.g. 940288', 'wp-multisite-waas'),
],
];
}
@@ -168,7 +168,7 @@ class Runcloud_Host_Provider extends Base_Host_Provider {
$domain_id = $this->get_runcloud_domain_id($domain);
if ( ! $domain_id) {
- wu_log_add('integration-runcloud', __('Domain name not found on runcloud', 'wp-ultimo'));
+ wu_log_add('integration-runcloud', __('Domain name not found on runcloud', 'wp-multisite-waas'));
}
$response = $this->send_runcloud_request($this->get_runcloud_base_url("domains/$domain_id"), [], 'DELETE');
@@ -372,7 +372,7 @@ class Runcloud_Host_Provider extends Base_Host_Provider {
*/
public function get_description() {
- return __('With RunCloud, you don’t need to be a Linux expert to build a website powered by DigitalOcean, AWS, or Google Cloud. Use our graphical interface and build a business on the cloud affordably.', 'wp-ultimo');
+ return __('With RunCloud, you don’t need to be a Linux expert to build a website powered by DigitalOcean, AWS, or Google Cloud. Use our graphical interface and build a business on the cloud affordably.', 'wp-multisite-waas');
}
/**
diff --git a/inc/integrations/host-providers/class-serverpilot-host-provider.php b/inc/integrations/host-providers/class-serverpilot-host-provider.php
index 3e4e0a9..34374ee 100644
--- a/inc/integrations/host-providers/class-serverpilot-host-provider.php
+++ b/inc/integrations/host-providers/class-serverpilot-host-provider.php
@@ -91,19 +91,19 @@ class ServerPilot_Host_Provider extends Base_Host_Provider {
return [
'WU_SERVER_PILOT_CLIENT_ID' => [
- 'title' => __('ServerPilot Client ID', 'wp-ultimo'),
- 'desc' => __('Your ServerPilot Client ID.', 'wp-ultimo'),
- 'placeholder' => __('e.g. cid_lSmjevkdoSOpasYVqm', 'wp-ultimo'),
+ 'title' => __('ServerPilot Client ID', 'wp-multisite-waas'),
+ 'desc' => __('Your ServerPilot Client ID.', 'wp-multisite-waas'),
+ 'placeholder' => __('e.g. cid_lSmjevkdoSOpasYVqm', 'wp-multisite-waas'),
],
'WU_SERVER_PILOT_API_KEY' => [
- 'title' => __('ServerPilot API Key', 'wp-ultimo'),
- 'desc' => __('The API Key retrieved in the previous step.', 'wp-ultimo'),
- 'placeholder' => __('e.g. eYP0Jo3Fzzm5SOZCi5nLR0Mki2lbYZ', 'wp-ultimo'),
+ 'title' => __('ServerPilot API Key', 'wp-multisite-waas'),
+ 'desc' => __('The API Key retrieved in the previous step.', 'wp-multisite-waas'),
+ 'placeholder' => __('e.g. eYP0Jo3Fzzm5SOZCi5nLR0Mki2lbYZ', 'wp-multisite-waas'),
],
'WU_SERVER_PILOT_APP_ID' => [
- 'title' => __('ServerPilot App ID', 'wp-ultimo'),
- 'desc' => __('The App ID retrieved in the previous step.', 'wp-ultimo'),
- 'placeholder' => __('e.g. 940288', 'wp-ultimo'),
+ 'title' => __('ServerPilot App ID', 'wp-multisite-waas'),
+ 'desc' => __('The App ID retrieved in the previous step.', 'wp-multisite-waas'),
+ 'placeholder' => __('e.g. 940288', 'wp-multisite-waas'),
],
];
}
@@ -274,7 +274,7 @@ class ServerPilot_Host_Provider extends Base_Host_Provider {
*/
// translators: %s is the json_encode of the error.
- wu_log_add('integration-serverpilot', sprintf(__('An error occurred while trying to get the current list of domains: %s', 'wp-ultimo'), json_encode($app_info)), LogLevel::ERROR);
+ wu_log_add('integration-serverpilot', sprintf(__('An error occurred while trying to get the current list of domains: %s', 'wp-multisite-waas'), json_encode($app_info)), LogLevel::ERROR);
return false;
}
@@ -315,7 +315,7 @@ class ServerPilot_Host_Provider extends Base_Host_Provider {
*/
public function get_description() {
- return __('ServerPilot is a cloud service for hosting WordPress and other PHP websites on servers at DigitalOcean, Amazon, Google, or any other server provider. You can think of ServerPilot as a modern, centralized hosting control panel.', 'wp-ultimo');
+ return __('ServerPilot is a cloud service for hosting WordPress and other PHP websites on servers at DigitalOcean, Amazon, Google, or any other server provider. You can think of ServerPilot as a modern, centralized hosting control panel.', 'wp-multisite-waas');
}
/**
diff --git a/inc/integrations/host-providers/class-wpengine-host-provider.php b/inc/integrations/host-providers/class-wpengine-host-provider.php
index 0b1cae3..10d56f8 100644
--- a/inc/integrations/host-providers/class-wpengine-host-provider.php
+++ b/inc/integrations/host-providers/class-wpengine-host-provider.php
@@ -172,9 +172,9 @@ class WPEngine_Host_Provider extends Base_Host_Provider {
*/
public function get_description() {
- $description = __('WP Engine drives your business forward faster with the first and only WordPress Digital Experience Platform. We offer the best WordPress hosting and developer experience on a proven, reliable architecture that delivers unparalleled speed, scalability, and security for your sites.', 'wp-ultimo');
+ $description = __('WP Engine drives your business forward faster with the first and only WordPress Digital Experience Platform. We offer the best WordPress hosting and developer experience on a proven, reliable architecture that delivers unparalleled speed, scalability, and security for your sites.', 'wp-multisite-waas');
- $description .= '
' . __('We recommend to enter in contact with WP Engine support to ask for a Wildcard domain if you are using a subdomain install.', 'wp-ultimo') . '';
+ $description .= '
' . __('We recommend to enter in contact with WP Engine support to ask for a Wildcard domain if you are using a subdomain install.', 'wp-multisite-waas') . '';
return $description;
}
diff --git a/inc/integrations/host-providers/class-wpmudev-host-provider.php b/inc/integrations/host-providers/class-wpmudev-host-provider.php
index 75040c0..1607d2e 100644
--- a/inc/integrations/host-providers/class-wpmudev-host-provider.php
+++ b/inc/integrations/host-providers/class-wpmudev-host-provider.php
@@ -157,7 +157,7 @@ class WPMUDEV_Host_Provider extends Base_Host_Provider {
if (is_wp_error($response)) {
// translators: The %s placeholder will be replaced with the domain name.
- wu_log_add('integration-wpmudev', sprintf(__('An error occurred while trying to add the custom domain %s to WPMU Dev hosting.', 'wp-ultimo'), $_domain), LogLevel::ERROR);
+ wu_log_add('integration-wpmudev', sprintf(__('An error occurred while trying to add the custom domain %s to WPMU Dev hosting.', 'wp-multisite-waas'), $_domain), LogLevel::ERROR);
}
$body = json_decode(wp_remote_retrieve_body($response));
@@ -165,11 +165,11 @@ class WPMUDEV_Host_Provider extends Base_Host_Provider {
if ($body->message) {
// translators: The %1$s will be replaced with the domain name and %2$s is the error message.
- wu_log_add('integration-wpmudev', sprintf(__('An error occurred while trying to add the custom domain %1$s to WPMU Dev hosting: %2$s', 'wp-ultimo'), $_domain, $body->message->message), LogLevel::ERROR);
+ wu_log_add('integration-wpmudev', sprintf(__('An error occurred while trying to add the custom domain %1$s to WPMU Dev hosting: %2$s', 'wp-multisite-waas'), $_domain, $body->message->message), LogLevel::ERROR);
} else {
// translators: The %s placeholder will be replaced with the domain name.
- wu_log_add('integration-wpmudev', sprintf(__('Domain %s added to WPMU Dev hosting successfully.', 'wp-ultimo'), $_domain));
+ wu_log_add('integration-wpmudev', sprintf(__('Domain %s added to WPMU Dev hosting successfully.', 'wp-multisite-waas'), $_domain));
}
}
}
@@ -253,7 +253,7 @@ class WPMUDEV_Host_Provider extends Base_Host_Provider {
*/
public function get_description() {
- return __('WPMU DEV is one of the largest companies in the WordPress space. Founded in 2004, it was one of the first companies to scale the Website as a Service model with products such as Edublogs and CampusPress.', 'wp-ultimo');
+ return __('WPMU DEV is one of the largest companies in the WordPress space. Founded in 2004, it was one of the first companies to scale the Website as a Service model with products such as Edublogs and CampusPress.', 'wp-multisite-waas');
}
/**
diff --git a/inc/integrations/host-providers/cpanel-api/class-cpanel-api.php b/inc/integrations/host-providers/cpanel-api/class-cpanel-api.php
index fdcbc13..cbeb879 100644
--- a/inc/integrations/host-providers/cpanel-api/class-cpanel-api.php
+++ b/inc/integrations/host-providers/cpanel-api/class-cpanel-api.php
@@ -154,13 +154,13 @@ class CPanel_API {
fopen($this->cookie_file, 'w');
} catch (Exception $ex) {
if ( ! file_exists($this->cookie_file)) {
- $this->log($ex . __('Cookie file missing.', 'wp-ultimo'));
+ $this->log($ex . __('Cookie file missing.', 'wp-multisite-waas'));
return false;
}
}
} elseif ( ! is_writable($this->cookie_file)) {
- $this->log(__('Cookie file not writable', 'wp-ultimo'));
+ $this->log(__('Cookie file not writable', 'wp-multisite-waas'));
return false;
}
@@ -204,7 +204,7 @@ class CPanel_API {
if (curl_error($ch)) {
// translators: %s is the cURL error.
- $this->log(sprintf(__('cPanel API Error: %s', 'wp-ultimo'), curl_error($ch)));
+ $this->log(sprintf(__('cPanel API Error: %s', 'wp-multisite-waas'), curl_error($ch)));
return false;
}
@@ -249,7 +249,7 @@ class CPanel_API {
$this->homepage = $this->get_base_url() . $reply['redirect'];
$this->ex_page = $this->get_base_url() . "/{$this->cpsess}/execute/";
} else {
- return $this->log(__('Cannot connect to your cPanel server : Invalid Credentials', 'wp-ultimo'));
+ return $this->log(__('Cannot connect to your cPanel server : Invalid Credentials', 'wp-multisite-waas'));
}
}
diff --git a/inc/internal/class-memory-trap.php b/inc/internal/class-memory-trap.php
index 5d7fd95..e3863d3 100644
--- a/inc/internal/class-memory-trap.php
+++ b/inc/internal/class-memory-trap.php
@@ -97,7 +97,7 @@ class Memory_Trap {
*/
public function memory_limit_error_handler($error): void { // phpcs:ignore
- $message = sprintf(__('Your server\'s PHP and WordPress memory limits are too low to perform this check. You might need to contact your host provider and ask the PHP memory limit in particular to be raised.', 'wp-ultimo'));
+ $message = sprintf(__('Your server\'s PHP and WordPress memory limits are too low to perform this check. You might need to contact your host provider and ask the PHP memory limit in particular to be raised.', 'wp-multisite-waas'));
if ('json' === $this->return_type) {
wp_send_json_error(
diff --git a/inc/invoices/class-invoice.php b/inc/invoices/class-invoice.php
index d921bb5..c79bf61 100644
--- a/inc/invoices/class-invoice.php
+++ b/inc/invoices/class-invoice.php
@@ -104,7 +104,7 @@ class Invoice {
$this->printer->SetProtection(['print']);
- $this->printer->SetTitle(__('Invoice', 'wp-ultimo'));
+ $this->printer->SetTitle(__('Invoice', 'wp-multisite-waas'));
$this->printer->SetAuthor($this->company_name);
@@ -251,7 +251,7 @@ class Invoice {
'use_custom_logo' => false,
'custom_logo' => false,
'footer_message' => '',
- 'paid_tag_text' => __('Paid', 'wp-ultimo'),
+ 'paid_tag_text' => __('Paid', 'wp-multisite-waas'),
]
);
diff --git a/inc/limits/class-customer-user-role-limits.php b/inc/limits/class-customer-user-role-limits.php
index 095673a..1f5c836 100644
--- a/inc/limits/class-customer-user-role-limits.php
+++ b/inc/limits/class-customer-user-role-limits.php
@@ -62,7 +62,7 @@ class Customer_User_Role_Limits {
return;
}
- $message = __('You reached your membership users limit.', 'wp-ultimo');
+ $message = __('You reached your membership users limit.', 'wp-multisite-waas');
/**
* Allow developers to change the message about the membership users limit
@@ -71,7 +71,7 @@ class Customer_User_Role_Limits {
*/
$message = apply_filters('wu_users_membership_limit_message', $message);
- wp_die($message, __('Limit Reached', 'wp-ultimo'), ['back_link' => true]);
+ wp_die($message, __('Limit Reached', 'wp-multisite-waas'), ['back_link' => true]);
}
/**
diff --git a/inc/limits/class-plugin-limits.php b/inc/limits/class-plugin-limits.php
index d479773..03da257 100644
--- a/inc/limits/class-plugin-limits.php
+++ b/inc/limits/class-plugin-limits.php
@@ -145,7 +145,7 @@ class Plugin_Limits {
%s
',
- __('Always Loaded', 'wp-ultimo')
+ __('Always Loaded', 'wp-multisite-waas')
);
}
@@ -160,8 +160,8 @@ class Plugin_Limits {
'type' => $plugin_file,
]
),
- __('Upgrade to unlock', 'wp-ultimo'),
- __('Upgrade to unlock', 'wp-ultimo')
+ __('Upgrade to unlock', 'wp-multisite-waas'),
+ __('Upgrade to unlock', 'wp-multisite-waas')
);
$actions['upgrade'] = $upgrade;
@@ -196,7 +196,7 @@ class Plugin_Limits {
unset($plugins[ $plugin_slug ]);
}
- if (str_starts_with($plugin_slug, 'wp-ultimo')) {
+ if (str_starts_with($plugin_slug, 'wp-multisite-waas')) {
unset($plugins[ $plugin_slug ]);
}
@@ -236,7 +236,7 @@ class Plugin_Limits {
$plugin_limits = wu_get_current_site()->get_limitations()->plugins;
foreach ($plugins as $plugin_slug => $timestamp) {
- if (str_contains($plugin_slug, 'wp-ultimo')) {
+ if (str_contains($plugin_slug, 'wp-multisite-waas')) {
continue;
}
@@ -289,7 +289,7 @@ class Plugin_Limits {
$plugin_limits = wu_get_current_site()->get_limitations()->plugins;
foreach ($plugins as $plugin_slug) {
- if (str_contains((string) $plugin_slug, 'wp-ultimo')) {
+ if (str_contains((string) $plugin_slug, 'wp-multisite-waas')) {
continue;
}
diff --git a/inc/limits/class-post-type-limits.php b/inc/limits/class-post-type-limits.php
index dfd6022..0900a1f 100644
--- a/inc/limits/class-post-type-limits.php
+++ b/inc/limits/class-post-type-limits.php
@@ -132,18 +132,18 @@ class Post_Type_Limits {
$screen = get_current_screen();
if ( ! wu_get_current_site()->get_limitations()->post_types->{$screen->post_type}->enabled) {
- $upgrade_message = __('Your plan does not support this post type.', 'wp-ultimo');
+ $upgrade_message = __('Your plan does not support this post type.', 'wp-multisite-waas');
// translators: %s is the URL.
- wp_die($upgrade_message, __('Limit Reached', 'wp-ultimo'), ['back_link' => true]);
+ wp_die($upgrade_message, __('Limit Reached', 'wp-multisite-waas'), ['back_link' => true]);
}
// Check if that is more than our limit
if (wu_get_current_site()->get_limitations()->post_types->is_post_above_limit($screen->post_type)) {
- $upgrade_message = __('You reached your plan\'s post limit.', 'wp-ultimo');
+ $upgrade_message = __('You reached your plan\'s post limit.', 'wp-multisite-waas');
// translators: %s is the URL
- wp_die($upgrade_message, __('Limit Reached', 'wp-ultimo'), ['back_link' => true]);
+ wp_die($upgrade_message, __('Limit Reached', 'wp-multisite-waas'), ['back_link' => true]);
}
}
@@ -196,7 +196,7 @@ class Post_Type_Limits {
public function limit_media($file) {
if ( ! wu_get_current_site()->get_limitations()->post_types->attachment->enabled) {
- $file['error'] = __('Your plan does not support media upload.', 'wp-ultimo');
+ $file['error'] = __('Your plan does not support media upload.', 'wp-multisite-waas');
return $file;
}
@@ -223,7 +223,7 @@ class Post_Type_Limits {
if ($quota > 0 && $post_count >= $quota) {
// translators: %d is the number of images allowed.
- $file['error'] = sprintf(__('You reached your media upload limit of %d images. Upgrade your account to unlock more media uploads.', 'wp-ultimo'), $quota, '#');
+ $file['error'] = sprintf(__('You reached your media upload limit of %d images. Upgrade your account to unlock more media uploads.', 'wp-multisite-waas'), $quota, '#');
}
return $file;
diff --git a/inc/limits/class-theme-limits.php b/inc/limits/class-theme-limits.php
index 78f9f5c..1402a06 100644
--- a/inc/limits/class-theme-limits.php
+++ b/inc/limits/class-theme-limits.php
@@ -126,7 +126,7 @@ class Theme_Limits {
if ($theme_limitations->allowed($new_theme, 'not_available')) {
$response = [
'code' => 'not-available',
- 'message' => __('This theme is not available on your current plan.', 'wp-ultimo'),
+ 'message' => __('This theme is not available on your current plan.', 'wp-multisite-waas'),
];
wp_send_json($response, 'not-available');
@@ -168,7 +168,7 @@ class Theme_Limits {
}
$upgrade_button = wu_generate_upgrade_to_unlock_button(
- __('Upgrade to unlock', 'wp-ultimo'),
+ __('Upgrade to unlock', 'wp-multisite-waas'),
[
'module' => 'themes',
'type' => 'EXTENSION',
diff --git a/inc/list-tables/class-base-list-table.php b/inc/list-tables/class-base-list-table.php
index fcdfea7..498968d 100644
--- a/inc/list-tables/class-base-list-table.php
+++ b/inc/list-tables/class-base-list-table.php
@@ -171,7 +171,7 @@ class Base_List_Table extends \WP_List_Table {
if ('grid' === $this->current_mode) {
printf(
'',
- __('Select All', 'wp-ultimo')
+ __('Select All', 'wp-multisite-waas')
);
}
}
@@ -405,7 +405,7 @@ class Base_List_Table extends \WP_List_Table {
'base_url' => wu_get_form_url('bulk_actions'),
'model' => strstr($this->get_table_id(), '_', true),
'i18n' => [
- 'confirm' => __('Confirm Action', 'wp-ultimo'),
+ 'confirm' => __('Confirm Action', 'wp-multisite-waas'),
],
]
);
@@ -504,10 +504,10 @@ class Base_List_Table extends \WP_List_Table {
if ( ! $this->has_items() && 'page' === $this->context) {
echo wu_render_empty_state(
[
- 'message' => sprintf(__("You don't have any %s yet.", 'wp-ultimo'), $this->labels['plural']),
- 'sub_message' => $this->_args['add_new'] ? __('How about we create a new one?', 'wp-ultimo') : __('...but you will see them here once they get created.', 'wp-ultimo'),
+ 'message' => sprintf(__("You don't have any %s yet.", 'wp-multisite-waas'), $this->labels['plural']),
+ 'sub_message' => $this->_args['add_new'] ? __('How about we create a new one?', 'wp-multisite-waas') : __('...but you will see them here once they get created.', 'wp-multisite-waas'),
// translators: %s is the singular value of the model, such as Product, or Payment.
- 'link_label' => sprintf(__('Create a new %s', 'wp-ultimo'), $this->labels['singular']),
+ 'link_label' => sprintf(__('Create a new %s', 'wp-multisite-waas'), $this->labels['singular']),
'link_url' => wu_get_isset($this->_args['add_new'], 'url', ''),
'link_classes' => wu_get_isset($this->_args['add_new'], 'classes', ''),
'link_icon' => 'dashicons-wu-circle-with-plus',
@@ -596,7 +596,7 @@ class Base_List_Table extends \WP_List_Table {
'
' . __('Force Redirect to Mapped Domain: your users with mapped domains will be redirected to theirdomain.com/wp-admin, even if they access using yournetworkdomain.com/wp-admin.', 'wp-ultimo') . '
' . __('Force Redirect to Network Domain: your users with mapped domains will be redirect to yournetworkdomain.com/wp-admin, even if they access using theirdomain.com/wp-admin.', 'wp-ultimo'),
+ 'title' => __('Force Admin Redirect', 'wp-multisite-waas'),
+ 'desc' => __('Select how you want your users to access the admin panel if they have mapped domains.', 'wp-multisite-waas') . '
' . __('Force Redirect to Mapped Domain: your users with mapped domains will be redirected to theirdomain.com/wp-admin, even if they access using yournetworkdomain.com/wp-admin.', 'wp-multisite-waas') . '
' . __('Force Redirect to Network Domain: your users with mapped domains will be redirect to yournetworkdomain.com/wp-admin, even if they access using theirdomain.com/wp-admin.', 'wp-multisite-waas'),
'tooltip' => '',
'type' => 'select',
'default' => 'both',
'require' => ['enable_domain_mapping' => 1],
'options' => [
- 'both' => __('Allow access to the admin by both mapped domain and network domain', 'wp-ultimo'),
- 'force_map' => __('Force Redirect to Mapped Domain', 'wp-ultimo'),
- 'force_network' => __('Force Redirect to Network Domain', 'wp-ultimo'),
+ 'both' => __('Allow access to the admin by both mapped domain and network domain', 'wp-multisite-waas'),
+ 'force_map' => __('Force Redirect to Mapped Domain', 'wp-multisite-waas'),
+ 'force_network' => __('Force Redirect to Network Domain', 'wp-multisite-waas'),
],
]
);
@@ -294,8 +294,8 @@ class Domain_Manager extends Base_Manager {
'domain-mapping',
'custom_domains',
[
- 'title' => __('Enable Custom Domains?', 'wp-ultimo'),
- 'desc' => __('Toggle this option if you wish to allow end-customers to add their own domains. This can be controlled on a plan per plan basis.', 'wp-ultimo'),
+ 'title' => __('Enable Custom Domains?', 'wp-multisite-waas'),
+ 'desc' => __('Toggle this option if you wish to allow end-customers to add their own domains. This can be controlled on a plan per plan basis.', 'wp-multisite-waas'),
'type' => 'toggle',
'default' => 1,
'require' => [
@@ -308,9 +308,9 @@ class Domain_Manager extends Base_Manager {
'domain-mapping',
'domain_mapping_instructions',
[
- 'title' => __('Add New Domain Instructions', 'wp-ultimo'),
- 'tooltip' => __('Display a customized message with instructions for the mapping and alerting the end-user of the risks of mapping a misconfigured domain.', 'wp-ultimo'),
- 'desc' => __('You can use the placeholder %NETWORK_DOMAIN% and %NETWORK_IP%.', 'wp-ultimo'),
+ 'title' => __('Add New Domain Instructions', 'wp-multisite-waas'),
+ 'tooltip' => __('Display a customized message with instructions for the mapping and alerting the end-user of the risks of mapping a misconfigured domain.', 'wp-multisite-waas'),
+ 'desc' => __('You can use the placeholder %NETWORK_DOMAIN% and %NETWORK_IP%.', 'wp-multisite-waas'),
'type' => 'textarea',
'default' => [$this, 'default_domain_mapping_instructions'],
'html_attr' => [
@@ -336,8 +336,8 @@ class Domain_Manager extends Base_Manager {
'sso',
'sso_header',
[
- 'title' => __('Single Sign-On Settings', 'wp-ultimo'),
- 'desc' => __('Settings to configure the Single Sign-On functionality of WP Multisite WaaS, responsible for keeping customers and admins logged in across all network domains.', 'wp-ultimo'),
+ 'title' => __('Single Sign-On Settings', 'wp-multisite-waas'),
+ 'desc' => __('Settings to configure the Single Sign-On functionality of WP Multisite WaaS, responsible for keeping customers and admins logged in across all network domains.', 'wp-multisite-waas'),
'type' => 'header',
]
);
@@ -346,8 +346,8 @@ class Domain_Manager extends Base_Manager {
'sso',
'enable_sso',
[
- 'title' => __('Enable Single Sign-On', 'wp-ultimo'),
- 'desc' => __('Enables the Single Sign-on functionality.', 'wp-ultimo'),
+ 'title' => __('Enable Single Sign-On', 'wp-multisite-waas'),
+ 'desc' => __('Enables the Single Sign-on functionality.', 'wp-multisite-waas'),
'type' => 'toggle',
'default' => 1,
]
@@ -357,8 +357,8 @@ class Domain_Manager extends Base_Manager {
'sso',
'restrict_sso_to_login_pages',
[
- 'title' => __('Restrict SSO Checks to Login Pages', 'wp-ultimo'),
- 'desc' => __('The Single Sign-on feature adds one extra ajax calls to every page load on sites with custom domains active to check if it should perform an auth loopback. You can restrict these extra calls to the login pages of sub-sites using this option. If enabled, SSO will only work on login pages.', 'wp-ultimo'),
+ 'title' => __('Restrict SSO Checks to Login Pages', 'wp-multisite-waas'),
+ 'desc' => __('The Single Sign-on feature adds one extra ajax calls to every page load on sites with custom domains active to check if it should perform an auth loopback. You can restrict these extra calls to the login pages of sub-sites using this option. If enabled, SSO will only work on login pages.', 'wp-multisite-waas'),
'type' => 'toggle',
'default' => 0,
'require' => [
@@ -371,8 +371,8 @@ class Domain_Manager extends Base_Manager {
'sso',
'enable_sso_loading_overlay',
[
- 'title' => __('Enable SSO Loading Overlay', 'wp-ultimo'),
- 'desc' => __('When active, a loading overlay will be added on-top of the site currently being viewed while the SSO auth loopback is performed on the background.', 'wp-ultimo'),
+ 'title' => __('Enable SSO Loading Overlay', 'wp-multisite-waas'),
+ 'desc' => __('When active, a loading overlay will be added on-top of the site currently being viewed while the SSO auth loopback is performed on the background.', 'wp-multisite-waas'),
'type' => 'toggle',
'default' => 1,
'require' => [
@@ -391,11 +391,11 @@ class Domain_Manager extends Base_Manager {
$instructions = [];
- $instructions[] = __("Cool! You're about to make this site accessible using your own domain name!", 'wp-ultimo');
+ $instructions[] = __("Cool! You're about to make this site accessible using your own domain name!", 'wp-multisite-waas');
- $instructions[] = __("For that to work, you'll need to create a new CNAME record pointing to %NETWORK_DOMAIN% on your DNS manager.", 'wp-ultimo');
+ $instructions[] = __("For that to work, you'll need to create a new CNAME record pointing to %NETWORK_DOMAIN% on your DNS manager.", 'wp-multisite-waas');
- $instructions[] = __('After you finish that step, come back to this screen and click the button below.', 'wp-ultimo');
+ $instructions[] = __('After you finish that step, come back to this screen and click the button below.', 'wp-multisite-waas');
return implode(PHP_EOL . PHP_EOL, $instructions);
}
@@ -480,7 +480,7 @@ class Domain_Manager extends Base_Manager {
$domain_url = $domain->get_domain();
// translators: %s is the domain name
- wu_log_add("domain-{$domain_url}", sprintf(__('Starting Check for %s', 'wp-ultimo'), $domain_url));
+ wu_log_add("domain-{$domain_url}", sprintf(__('Starting Check for %s', 'wp-multisite-waas'), $domain_url));
if ('checking-dns' === $stage) {
if ($domain->has_correct_dns()) {
@@ -490,7 +490,7 @@ class Domain_Manager extends Base_Manager {
wu_log_add(
"domain-{$domain_url}",
- __('- DNS propagation finished, advancing domain to next step...', 'wp-ultimo')
+ __('- DNS propagation finished, advancing domain to next step...', 'wp-multisite-waas')
);
wu_enqueue_async_action(
@@ -517,7 +517,7 @@ class Domain_Manager extends Base_Manager {
wu_log_add(
"domain-{$domain_url}",
// translators: %d is the number of minutes to try again.
- sprintf(__('- DNS propagation checks tried for the max amount of times (5 times, one every %d minutes). Marking as failed.', 'wp-ultimo'), $try_again_time)
+ sprintf(__('- DNS propagation checks tried for the max amount of times (5 times, one every %d minutes). Marking as failed.', 'wp-multisite-waas'), $try_again_time)
);
return;
@@ -526,7 +526,7 @@ class Domain_Manager extends Base_Manager {
wu_log_add(
"domain-{$domain_url}",
// translators: %d is the number of minutes before trying again.
- sprintf(__('- DNS propagation not finished, retrying in %d minutes...', 'wp-ultimo'), $try_again_time)
+ sprintf(__('- DNS propagation not finished, retrying in %d minutes...', 'wp-multisite-waas'), $try_again_time)
);
wu_schedule_single_action(
@@ -551,7 +551,7 @@ class Domain_Manager extends Base_Manager {
wu_log_add(
"domain-{$domain_url}",
- __('- Valid SSL cert found. Marking domain as done.', 'wp-ultimo')
+ __('- Valid SSL cert found. Marking domain as done.', 'wp-multisite-waas')
);
return;
@@ -567,7 +567,7 @@ class Domain_Manager extends Base_Manager {
wu_log_add(
"domain-{$domain_url}",
// translators: %d is the number of minutes to try again.
- sprintf(__('- SSL checks tried for the max amount of times (5 times, one every %d minutes). Marking as ready without SSL.', 'wp-ultimo'), $try_again_time)
+ sprintf(__('- SSL checks tried for the max amount of times (5 times, one every %d minutes). Marking as ready without SSL.', 'wp-multisite-waas'), $try_again_time)
);
return;
@@ -576,7 +576,7 @@ class Domain_Manager extends Base_Manager {
wu_log_add(
"domain-{$domain_url}",
// translators: %d is the number of minutes before trying again.
- sprintf(__('- SSL Cert not found, retrying in %d minute(s)...', 'wp-ultimo'), $try_again_time)
+ sprintf(__('- SSL Cert not found, retrying in %d minute(s)...', 'wp-multisite-waas'), $try_again_time)
);
wu_schedule_single_action(
@@ -665,7 +665,7 @@ class Domain_Manager extends Base_Manager {
$domain = wu_request('domain');
if ( ! $domain) {
- wp_send_json_error(new \WP_Error('domain-missing', __('A valid domain was not passed.', 'wp-ultimo')));
+ wp_send_json_error(new \WP_Error('domain-missing', __('A valid domain was not passed.', 'wp-multisite-waas')));
}
$auth_ns = [];
@@ -678,7 +678,7 @@ class Domain_Manager extends Base_Manager {
wp_send_json_error(
new \WP_Error(
'error',
- __('Not able to fetch DNS entries.', 'wp-ultimo'),
+ __('Not able to fetch DNS entries.', 'wp-multisite-waas'),
[
'exception' => $e->getMessage(),
]
@@ -687,7 +687,7 @@ class Domain_Manager extends Base_Manager {
}
if (false === $result) {
- wp_send_json_error(new \WP_Error('error', __('Not able to fetch DNS entries.', 'wp-ultimo')));
+ wp_send_json_error(new \WP_Error('error', __('Not able to fetch DNS entries.', 'wp-multisite-waas')));
}
wp_send_json_success(
@@ -738,7 +738,7 @@ class Domain_Manager extends Base_Manager {
if ( ! $integration) {
wp_send_json_error(
[
- 'message' => __('Invalid Integration ID', 'wp-ultimo'),
+ 'message' => __('Invalid Integration ID', 'wp-multisite-waas'),
]
);
}
@@ -750,7 +750,7 @@ class Domain_Manager extends Base_Manager {
wp_send_json_error(
[
'message' => sprintf(
- __('The necessary constants were not found on your wp-config.php file: %s', 'wp-ultimo'),
+ __('The necessary constants were not found on your wp-config.php file: %s', 'wp-multisite-waas'),
implode(', ', $integration->get_missing_constants())
),
]
diff --git a/inc/managers/class-email-manager.php b/inc/managers/class-email-manager.php
index 1e88c6c..4ee9f5f 100644
--- a/inc/managers/class-email-manager.php
+++ b/inc/managers/class-email-manager.php
@@ -133,7 +133,7 @@ class Email_Manager extends Base_Manager {
$to = $email->get_target_list($payload);
if (empty($to)) {
- wu_log_add('mailer', __('No targets found.', 'wp-ultimo'));
+ wu_log_add('mailer', __('No targets found.', 'wp-multisite-waas'));
return;
}
@@ -218,8 +218,8 @@ class Email_Manager extends Base_Manager {
'emails',
'sender_header',
[
- 'title' => __('Sender Settings', 'wp-ultimo'),
- 'desc' => __('Change the settings of the email headers, like from and name.', 'wp-ultimo'),
+ 'title' => __('Sender Settings', 'wp-multisite-waas'),
+ 'desc' => __('Change the settings of the email headers, like from and name.', 'wp-multisite-waas'),
'type' => 'header',
]
);
@@ -228,8 +228,8 @@ class Email_Manager extends Base_Manager {
'emails',
'from_name',
[
- 'title' => __('"From" Name', 'wp-ultimo'),
- 'desc' => __('How the sender name will appear in emails sent by WP Multisite WaaS.', 'wp-ultimo'),
+ 'title' => __('"From" Name', 'wp-multisite-waas'),
+ 'desc' => __('How the sender name will appear in emails sent by WP Multisite WaaS.', 'wp-multisite-waas'),
'type' => 'text',
'placeholder' => get_network_option(null, 'site_name'),
'default' => get_network_option(null, 'site_name'),
@@ -243,8 +243,8 @@ class Email_Manager extends Base_Manager {
'emails',
'from_email',
[
- 'title' => __('"From" E-mail', 'wp-ultimo'),
- 'desc' => __('How the sender email will appear in emails sent by WP Multisite WaaS.', 'wp-ultimo'),
+ 'title' => __('"From" E-mail', 'wp-multisite-waas'),
+ 'desc' => __('How the sender email will appear in emails sent by WP Multisite WaaS.', 'wp-multisite-waas'),
'type' => 'email',
'placeholder' => get_network_option(null, 'admin_email'),
'default' => get_network_option(null, 'admin_email'),
@@ -258,8 +258,8 @@ class Email_Manager extends Base_Manager {
'emails',
'template_header',
[
- 'title' => __('Template Settings', 'wp-ultimo'),
- 'desc' => __('Change the settings of the email templates.', 'wp-ultimo'),
+ 'title' => __('Template Settings', 'wp-multisite-waas'),
+ 'desc' => __('Change the settings of the email templates.', 'wp-multisite-waas'),
'type' => 'header',
]
);
@@ -268,13 +268,13 @@ class Email_Manager extends Base_Manager {
'emails',
'email_template_type',
[
- 'title' => __('Email Templates Style', 'wp-ultimo'),
- 'desc' => __('Choose if email body will be sent using the HTML template or in plain text.', 'wp-ultimo'),
+ 'title' => __('Email Templates Style', 'wp-multisite-waas'),
+ 'desc' => __('Choose if email body will be sent using the HTML template or in plain text.', 'wp-multisite-waas'),
'type' => 'select',
'default' => 'html',
'options' => [
- 'html' => __('HTML Emails', 'wp-ultimo'),
- 'plain' => __('Plain Emails', 'wp-ultimo'),
+ 'html' => __('HTML Emails', 'wp-multisite-waas'),
+ 'plain' => __('Plain Emails', 'wp-multisite-waas'),
],
'html_attr' => [
'v-model' => 'emails_template',
@@ -286,8 +286,8 @@ class Email_Manager extends Base_Manager {
'emails',
'expiring_header',
[
- 'title' => __('Expiring Notification Settings', 'wp-ultimo'),
- 'desc' => __('Change the settings for the expiring notification (trials and subscriptions) emails.', 'wp-ultimo'),
+ 'title' => __('Expiring Notification Settings', 'wp-multisite-waas'),
+ 'desc' => __('Change the settings for the expiring notification (trials and subscriptions) emails.', 'wp-multisite-waas'),
'type' => 'header',
]
);
@@ -296,10 +296,10 @@ class Email_Manager extends Base_Manager {
'emails',
'expiring_days',
[
- 'title' => __('Days to Expire', 'wp-ultimo'),
- 'desc' => __('Select when we should send the notification email. If you select 3 days, for example, a notification email will be sent to every membership (or trial period) expiring in the next 3 days. Memberships are checked hourly.', 'wp-ultimo'),
+ 'title' => __('Days to Expire', 'wp-multisite-waas'),
+ 'desc' => __('Select when we should send the notification email. If you select 3 days, for example, a notification email will be sent to every membership (or trial period) expiring in the next 3 days. Memberships are checked hourly.', 'wp-multisite-waas'),
'type' => 'number',
- 'placeholder' => __('e.g. 3', 'wp-ultimo'),
+ 'placeholder' => __('e.g. 3', 'wp-multisite-waas'),
'html_attr' => [
'v-model' => 'expiring_days',
],
@@ -391,7 +391,7 @@ class Email_Manager extends Base_Manager {
'event' => 'payment_received',
'slug' => 'payment_received_admin',
'target' => 'admin',
- 'title' => __('You got a new payment!', 'wp-ultimo'),
+ 'title' => __('You got a new payment!', 'wp-multisite-waas'),
'content' => wu_get_template_contents('emails/admin/payment-received'),
]
);
@@ -404,7 +404,7 @@ class Email_Manager extends Base_Manager {
'event' => 'payment_received',
'slug' => 'payment_received_customer',
'target' => 'customer',
- 'title' => __('We got your payment!', 'wp-ultimo'),
+ 'title' => __('We got your payment!', 'wp-multisite-waas'),
'content' => wu_get_template_contents('emails/customer/payment-received'),
]
);
@@ -417,7 +417,7 @@ class Email_Manager extends Base_Manager {
'event' => 'site_published',
'target' => 'admin',
'slug' => 'site_published_admin',
- 'title' => __('A new site was created on your Network!', 'wp-ultimo'),
+ 'title' => __('A new site was created on your Network!', 'wp-multisite-waas'),
'content' => wu_get_template_contents('emails/admin/site-published'),
]
);
@@ -430,7 +430,7 @@ class Email_Manager extends Base_Manager {
'event' => 'site_published',
'target' => 'customer',
'slug' => 'site_published_customer',
- 'title' => __('Your site is ready!', 'wp-ultimo'),
+ 'title' => __('Your site is ready!', 'wp-multisite-waas'),
'content' => wu_get_template_contents('emails/customer/site-published'),
]
);
@@ -443,7 +443,7 @@ class Email_Manager extends Base_Manager {
'event' => 'confirm_email_address',
'target' => 'customer',
'slug' => 'confirm_email_address',
- 'title' => __('Confirm your email address!', 'wp-ultimo'),
+ 'title' => __('Confirm your email address!', 'wp-multisite-waas'),
'content' => wu_get_template_contents('emails/customer/confirm-email-address'),
]
);
@@ -456,7 +456,7 @@ class Email_Manager extends Base_Manager {
'event' => 'domain_created',
'target' => 'admin',
'slug' => 'domain_created_admin',
- 'title' => __('A new domain was added to your Network!', 'wp-ultimo'),
+ 'title' => __('A new domain was added to your Network!', 'wp-multisite-waas'),
'content' => wu_get_template_contents('emails/admin/domain-created'),
]
);
@@ -469,7 +469,7 @@ class Email_Manager extends Base_Manager {
'event' => 'renewal_payment_created',
'target' => 'customer',
'slug' => 'renewal_payment_created',
- 'title' => __('You have a new pending payment!', 'wp-ultimo'),
+ 'title' => __('You have a new pending payment!', 'wp-multisite-waas'),
'content' => wu_get_template_contents('emails/customer/renewal-payment-created'),
]
);
diff --git a/inc/managers/class-event-manager.php b/inc/managers/class-event-manager.php
index 3a01ce9..2e14a9c 100644
--- a/inc/managers/class-event-manager.php
+++ b/inc/managers/class-event-manager.php
@@ -191,19 +191,19 @@ class Event_Manager extends Base_Manager {
public function event_payload_preview(): void {
if ( ! wu_request('event')) {
- wp_send_json_error(new \WP_Error('error', __('No event was selected.', 'wp-ultimo')));
+ wp_send_json_error(new \WP_Error('error', __('No event was selected.', 'wp-multisite-waas')));
}
$slug = wu_request('event');
if ( ! $slug) {
- wp_send_json_error(new \WP_Error('not-found', __('Event was not found.', 'wp-ultimo')));
+ wp_send_json_error(new \WP_Error('not-found', __('Event was not found.', 'wp-multisite-waas')));
}
$event = wu_get_event_type($slug);
if ( ! $event) {
- wp_send_json_error(new \WP_Error('not-found', __('Data not found.', 'wp-ultimo')));
+ wp_send_json_error(new \WP_Error('not-found', __('Data not found.', 'wp-multisite-waas')));
} else {
$payload = isset($event['payload']) ? wu_maybe_lazy_load_payload($event['payload']) : '{}';
@@ -367,8 +367,8 @@ class Event_Manager extends Base_Manager {
wu_register_event_type(
'payment_received',
[
- 'name' => __('Payment Received', 'wp-ultimo'),
- 'desc' => __('This event is fired every time a new payment is received, regardless of the payment status.', 'wp-ultimo'),
+ 'name' => __('Payment Received', 'wp-multisite-waas'),
+ 'desc' => __('This event is fired every time a new payment is received, regardless of the payment status.', 'wp-multisite-waas'),
'payload' => fn() => array_merge(
wu_generate_event_payload('payment'),
wu_generate_event_payload('membership'),
@@ -390,8 +390,8 @@ class Event_Manager extends Base_Manager {
wu_register_event_type(
'site_published',
[
- 'name' => __('Site Published', 'wp-ultimo'),
- 'desc' => __('This event is fired every time a new site is created tied to a membership, or transitions from a pending state to a published state.', 'wp-ultimo'),
+ 'name' => __('Site Published', 'wp-multisite-waas'),
+ 'desc' => __('This event is fired every time a new site is created tied to a membership, or transitions from a pending state to a published state.', 'wp-multisite-waas'),
'payload' => fn() => array_merge(
wu_generate_event_payload('site'),
wu_generate_event_payload('customer'),
@@ -407,8 +407,8 @@ class Event_Manager extends Base_Manager {
wu_register_event_type(
'confirm_email_address',
[
- 'name' => __('Email Verification Needed', 'wp-ultimo'),
- 'desc' => __('This event is fired every time a new customer is added with an email verification status of pending.', 'wp-ultimo'),
+ 'name' => __('Email Verification Needed', 'wp-multisite-waas'),
+ 'desc' => __('This event is fired every time a new customer is added with an email verification status of pending.', 'wp-multisite-waas'),
'payload' => fn() => array_merge(
[
'verification_link' => 'https://linktoverifyemail.com',
@@ -425,8 +425,8 @@ class Event_Manager extends Base_Manager {
wu_register_event_type(
'domain_created',
[
- 'name' => __('New Domain Mapping Added', 'wp-ultimo'),
- 'desc' => __('This event is fired every time a new domain mapping is added by a customer.', 'wp-ultimo'),
+ 'name' => __('New Domain Mapping Added', 'wp-multisite-waas'),
+ 'desc' => __('This event is fired every time a new domain mapping is added by a customer.', 'wp-multisite-waas'),
'payload' => fn() => array_merge(
wu_generate_event_payload('domain'),
wu_generate_event_payload('site'),
@@ -449,8 +449,8 @@ class Event_Manager extends Base_Manager {
wu_register_event_type(
'renewal_payment_created',
[
- 'name' => __('New Renewal Payment Created', 'wp-ultimo'),
- 'desc' => __('This event is fired every time a new renewal payment is created by WP Multisite WaaS.', 'wp-ultimo'),
+ 'name' => __('New Renewal Payment Created', 'wp-multisite-waas'),
+ 'desc' => __('This event is fired every time a new renewal payment is created by WP Multisite WaaS.', 'wp-multisite-waas'),
'payload' => fn() => array_merge(
[
'default_payment_url' => 'https://linktopayment.com',
@@ -470,8 +470,8 @@ class Event_Manager extends Base_Manager {
wu_register_event_type(
$model . '_' . $type,
[
- 'name' => sprintf(__('%1$s %2$s', 'wp-ultimo'), $params['label'], ucfirst($type)),
- 'desc' => sprintf(__('This event is fired every time a %1$s is %2$s by WP Multisite WaaS.', 'wp-ultimo'), $params['label'], $type),
+ 'name' => sprintf(__('%1$s %2$s', 'wp-multisite-waas'), $params['label'], ucfirst($type)),
+ 'desc' => sprintf(__('This event is fired every time a %1$s is %2$s by WP Multisite WaaS.', 'wp-multisite-waas'), $params['label'], $type),
'deprecated_args' => [],
'payload' => fn() => $this->get_model_payload($model),
]
@@ -621,7 +621,7 @@ class Event_Manager extends Base_Manager {
}
}
- wu_log_add('wu-cron', sprintf(__('Removed %1$d events successfully. Failed to remove %2$d events.', 'wp-ultimo'), $success_count, count($events_to_remove) - $success_count));
+ wu_log_add('wu-cron', sprintf(__('Removed %1$d events successfully. Failed to remove %2$d events.', 'wp-multisite-waas'), $success_count, count($events_to_remove) - $success_count));
return true;
}
diff --git a/inc/managers/class-field-templates-manager.php b/inc/managers/class-field-templates-manager.php
index 0895c5f..cbf9012 100644
--- a/inc/managers/class-field-templates-manager.php
+++ b/inc/managers/class-field-templates-manager.php
@@ -61,7 +61,7 @@ class Field_Templates_Manager extends Base_Manager {
$template_class = $this->get_template_class($template_parts[0], $template_parts[1]);
if ( ! $template_class) {
- wp_send_json_error(new \WP_Error('template', __('Template not found.', 'wp-ultimo')));
+ wp_send_json_error(new \WP_Error('template', __('Template not found.', 'wp-multisite-waas')));
}
$key = $template_parts[0];
diff --git a/inc/managers/class-form-manager.php b/inc/managers/class-form-manager.php
index 400cca7..019605e 100644
--- a/inc/managers/class-form-manager.php
+++ b/inc/managers/class-form-manager.php
@@ -64,7 +64,7 @@ class Form_Manager extends Base_Manager {
*/
public function display_form_unavailable($error = false): void {
- $message = __('Form not available', 'wp-ultimo');
+ $message = __('Form not available', 'wp-multisite-waas');
if (is_wp_error($error)) {
$message = $error->get_error_message();
@@ -352,7 +352,7 @@ class Form_Manager extends Base_Manager {
$object = apply_filters("wu_delete_form_get_object_{$model}", $object, $id, $model);
if ( ! $object) {
- $this->display_form_unavailable(new \WP_Error('not-found', __('Object not found.', 'wp-ultimo')));
+ $this->display_form_unavailable(new \WP_Error('not-found', __('Object not found.', 'wp-multisite-waas')));
return;
}
@@ -362,16 +362,16 @@ class Form_Manager extends Base_Manager {
[
'confirm' => [
'type' => 'toggle',
- 'title' => __('Confirm Deletion', 'wp-ultimo'),
- 'desc' => __('This action can not be undone.', 'wp-ultimo'),
+ 'title' => __('Confirm Deletion', 'wp-multisite-waas'),
+ 'desc' => __('This action can not be undone.', 'wp-multisite-waas'),
'html_attr' => [
'v-model' => 'confirmed',
],
],
'submit_button' => [
'type' => 'submit',
- 'title' => __('Delete', 'wp-ultimo'),
- 'placeholder' => __('Delete', 'wp-ultimo'),
+ 'title' => __('Delete', 'wp-multisite-waas'),
+ 'placeholder' => __('Delete', 'wp-multisite-waas'),
'value' => 'save',
'classes' => 'button button-primary wu-w-full',
'wrapper_classes' => 'wu-items-end',
@@ -471,7 +471,7 @@ class Form_Manager extends Base_Manager {
$object = apply_filters("wu_delete_form_get_object_{$model}", $object, $id, $model);
if ( ! $object) {
- wp_send_json_error(new \WP_Error('not-found', __('Object not found.', 'wp-ultimo')));
+ wp_send_json_error(new \WP_Error('not-found', __('Object not found.', 'wp-multisite-waas')));
}
/*
@@ -496,7 +496,7 @@ class Form_Manager extends Base_Manager {
wp_send_json_success($data_json_success);
} else {
- wp_send_json_error(new \WP_Error('model-not-found', __('Something went wrong.', 'wp-ultimo')));
+ wp_send_json_error(new \WP_Error('model-not-found', __('Something went wrong.', 'wp-multisite-waas')));
}
}
@@ -517,8 +517,8 @@ class Form_Manager extends Base_Manager {
[
'confirm' => [
'type' => 'toggle',
- 'title' => __('Confirm Action', 'wp-ultimo'),
- 'desc' => __('Review this action carefully.', 'wp-ultimo'),
+ 'title' => __('Confirm Action', 'wp-multisite-waas'),
+ 'desc' => __('Review this action carefully.', 'wp-multisite-waas'),
'html_attr' => [
'v-model' => 'confirmed',
],
diff --git a/inc/managers/class-gateway-manager.php b/inc/managers/class-gateway-manager.php
index 58803ff..1bfc221 100644
--- a/inc/managers/class-gateway-manager.php
+++ b/inc/managers/class-gateway-manager.php
@@ -278,11 +278,11 @@ class Gateway_Manager extends Base_Manager {
$gateway = wu_get_gateway($gateway_id);
if ( ! $gateway) {
- $error = new \WP_Error('missing_gateway', esc_html__('Missing gateway parameter.', 'wp-ultimo'));
+ $error = new \WP_Error('missing_gateway', esc_html__('Missing gateway parameter.', 'wp-multisite-waas'));
wp_die(
$error,
- esc_html__('Error', 'wp-ultimo'),
+ esc_html__('Error', 'wp-multisite-waas'),
[
'back_link' => true,
'response' => '200',
@@ -311,7 +311,7 @@ class Gateway_Manager extends Base_Manager {
if (is_wp_error($results)) {
wp_die(
$results,
- __('Error', 'wp-ultimo'),
+ __('Error', 'wp-multisite-waas'),
[
'back_link' => true,
'response' => '200',
@@ -323,7 +323,7 @@ class Gateway_Manager extends Base_Manager {
wp_die(
$error,
- __('Error', 'wp-ultimo'),
+ __('Error', 'wp-multisite-waas'),
[
'back_link' => true,
'response' => '200',
@@ -354,8 +354,8 @@ class Gateway_Manager extends Base_Manager {
'payment-gateways',
'active_gateways',
[
- 'title' => __('Active Payment Gateways', 'wp-ultimo'),
- 'desc' => __('Payment gateways are what your customers will use to pay.', 'wp-ultimo'),
+ 'title' => __('Active Payment Gateways', 'wp-multisite-waas'),
+ 'desc' => __('Payment gateways are what your customers will use to pay.', 'wp-multisite-waas'),
'type' => 'multiselect',
'columns' => 2,
'options' => [$this, 'get_gateways_as_options'],
@@ -393,31 +393,31 @@ class Gateway_Manager extends Base_Manager {
/*
* Free Payments
*/
- wu_register_gateway('free', __('Free', 'wp-ultimo'), '', Free_Gateway::class, true);
+ wu_register_gateway('free', __('Free', 'wp-multisite-waas'), '', Free_Gateway::class, true);
/*
* Stripe Payments
*/
- $stripe_desc = __('Stripe is a suite of payment APIs that powers commerce for businesses of all sizes, including subscription management.', 'wp-ultimo');
- wu_register_gateway('stripe', __('Stripe', 'wp-ultimo'), $stripe_desc, Stripe_Gateway::class);
+ $stripe_desc = __('Stripe is a suite of payment APIs that powers commerce for businesses of all sizes, including subscription management.', 'wp-multisite-waas');
+ wu_register_gateway('stripe', __('Stripe', 'wp-multisite-waas'), $stripe_desc, Stripe_Gateway::class);
/*
* Stripe Checkout Payments
*/
- $stripe_checkout_desc = __('Stripe Checkout is the hosted solution for checkouts using Stripe.', 'wp-ultimo');
- wu_register_gateway('stripe-checkout', __('Stripe Checkout', 'wp-ultimo'), $stripe_checkout_desc, Stripe_Checkout_Gateway::class);
+ $stripe_checkout_desc = __('Stripe Checkout is the hosted solution for checkouts using Stripe.', 'wp-multisite-waas');
+ wu_register_gateway('stripe-checkout', __('Stripe Checkout', 'wp-multisite-waas'), $stripe_checkout_desc, Stripe_Checkout_Gateway::class);
/*
* PayPal Payments
*/
- $paypal_desc = __('PayPal is the leading provider in checkout solutions and it is the easier way to get your network subscriptions going.', 'wp-ultimo');
- wu_register_gateway('paypal', __('PayPal', 'wp-ultimo'), $paypal_desc, PayPal_Gateway::class);
+ $paypal_desc = __('PayPal is the leading provider in checkout solutions and it is the easier way to get your network subscriptions going.', 'wp-multisite-waas');
+ wu_register_gateway('paypal', __('PayPal', 'wp-multisite-waas'), $paypal_desc, PayPal_Gateway::class);
/*
* Manual Payments
*/
- $manual_desc = __('Use the Manual Gateway to allow users to pay you directly via bank transfers, checks, or other channels.', 'wp-ultimo');
- wu_register_gateway('manual', __('Manual', 'wp-ultimo'), $manual_desc, Manual_Gateway::class);
+ $manual_desc = __('Use the Manual Gateway to allow users to pay you directly via bank transfers, checks, or other channels.', 'wp-multisite-waas');
+ wu_register_gateway('manual', __('Manual', 'wp-multisite-waas'), $manual_desc, Manual_Gateway::class);
}
/**
diff --git a/inc/managers/class-limitation-manager.php b/inc/managers/class-limitation-manager.php
index 8cf6579..213fd07 100644
--- a/inc/managers/class-limitation-manager.php
+++ b/inc/managers/class-limitation-manager.php
@@ -138,15 +138,15 @@ class Limitation_Manager {
$fields = [
'confirm' => [
'type' => 'toggle',
- 'title' => __('Confirm Reset', 'wp-ultimo'),
- 'desc' => __('This action can not be undone.', 'wp-ultimo'),
+ 'title' => __('Confirm Reset', 'wp-multisite-waas'),
+ 'desc' => __('This action can not be undone.', 'wp-multisite-waas'),
'html_attr' => [
'v-model' => 'confirmed',
],
],
'submit_button' => [
'type' => 'submit',
- 'title' => __('Reset Limitations', 'wp-ultimo'),
+ 'title' => __('Reset Limitations', 'wp-multisite-waas'),
'value' => 'save',
'classes' => 'button button-primary wu-w-full',
'wrapper_classes' => 'wu-items-end',
@@ -165,7 +165,7 @@ class Limitation_Manager {
];
$form_attributes = [
- 'title' => __('Reset', 'wp-ultimo'),
+ 'title' => __('Reset', 'wp-multisite-waas'),
'views' => 'admin-pages/fields',
'classes' => 'wu-modal-form wu-widget-list wu-striped wu-m-0 wu-mt-0',
'field_wrapper_classes' => 'wu-w-full wu-box-border wu-items-center wu-flex wu-justify-between wu-p-4 wu-m-0 wu-border-t wu-border-l-0 wu-border-r-0 wu-border-b-0 wu-border-gray-300 wu-border-solid',
@@ -200,7 +200,7 @@ class Limitation_Manager {
wp_send_json_error(
new \WP_Error(
'parameters-not-found',
- __('Required parameters are missing.', 'wp-ultimo')
+ __('Required parameters are missing.', 'wp-multisite-waas')
)
);
}
@@ -258,11 +258,11 @@ class Limitation_Manager {
public function add_limitation_sections($sections, $object) {
if ($this->get_object_type($object) === 'site' && $object->get_type() !== Site_Type::CUSTOMER_OWNED) {
- $html = sprintf('%s', __('Limitations are only available for customer-owned sites. You need to change the type to Customer-owned and save this site before the options are shown.', 'wp-ultimo'));
+ $html = sprintf('%s', __('Limitations are only available for customer-owned sites. You need to change the type to Customer-owned and save this site before the options are shown.', 'wp-multisite-waas'));
$sections['sites'] = [
- 'title' => __('Limits', 'wp-ultimo'),
- 'desc' => __('Only customer-owned sites have limitations.', 'wp-ultimo'),
+ 'title' => __('Limits', 'wp-multisite-waas'),
+ 'desc' => __('Only customer-owned sites have limitations.', 'wp-multisite-waas'),
'icon' => 'dashicons-wu-browser',
'fields' => [
'note' => [
@@ -277,8 +277,8 @@ class Limitation_Manager {
if ($this->get_object_type($object) !== 'site') {
$sections['sites'] = [
- 'title' => __('Sites', 'wp-ultimo'),
- 'desc' => __('Control limitations imposed to the number of sites allowed for memberships attached to this product.', 'wp-ultimo'),
+ 'title' => __('Sites', 'wp-multisite-waas'),
+ 'desc' => __('Control limitations imposed to the number of sites allowed for memberships attached to this product.', 'wp-multisite-waas'),
'icon' => 'dashicons-wu-browser',
'fields' => $this->get_sites_fields($object),
'v-show' => "get_state_value('product_type', 'none') !== 'service'",
@@ -293,8 +293,8 @@ class Limitation_Manager {
*/
if ((bool) wu_get_setting('enable_visits_limiting', true)) {
$sections['visits'] = [
- 'title' => __('Visits', 'wp-ultimo'),
- 'desc' => __('Control limitations imposed to the number of unique visitors allowed for memberships attached to this product.', 'wp-ultimo'),
+ 'title' => __('Visits', 'wp-multisite-waas'),
+ 'desc' => __('Control limitations imposed to the number of unique visitors allowed for memberships attached to this product.', 'wp-multisite-waas'),
'icon' => 'dashicons-wu-man',
'v-show' => "get_state_value('product_type', 'none') !== 'service'",
'state' => [
@@ -303,8 +303,8 @@ class Limitation_Manager {
'fields' => [
'modules[visits][enabled]' => [
'type' => 'toggle',
- 'title' => __('Limit Unique Visits', 'wp-ultimo'),
- 'desc' => __('Toggle this option to enable unique visits limitation.', 'wp-ultimo'),
+ 'title' => __('Limit Unique Visits', 'wp-multisite-waas'),
+ 'desc' => __('Toggle this option to enable unique visits limitation.', 'wp-multisite-waas'),
'value' => 10,
'html_attr' => [
'v-model' => 'limit_visits',
@@ -319,9 +319,9 @@ class Limitation_Manager {
$sections['visits']['fields']['modules[visits][limit]'] = [
'type' => 'number',
- 'title' => __('Unique Visits Quota', 'wp-ultimo'),
- 'desc' => __('Set a top limit for the number of monthly unique visits. Leave empty or 0 to allow for unlimited visits.', 'wp-ultimo'),
- 'placeholder' => __('e.g. 10000', 'wp-ultimo'),
+ 'title' => __('Unique Visits Quota', 'wp-multisite-waas'),
+ 'desc' => __('Set a top limit for the number of monthly unique visits. Leave empty or 0 to allow for unlimited visits.', 'wp-multisite-waas'),
+ 'placeholder' => __('e.g. 10000', 'wp-multisite-waas'),
'value' => $object->get_limitations()->visits->get_limit(),
'wrapper_html_attr' => [
'v-show' => 'limit_visits',
@@ -343,8 +343,8 @@ class Limitation_Manager {
if ($this->get_object_type($object) === 'site') {
$sections['visits']['fields']['visits_count'] = [
'type' => 'text-display',
- 'title' => __('Current Unique Visits Count this Month', 'wp-ultimo'),
- 'desc' => __('Current visits count for this particular site.', 'wp-ultimo'),
+ 'title' => __('Current Unique Visits Count this Month', 'wp-multisite-waas'),
+ 'desc' => __('Current visits count for this particular site.', 'wp-multisite-waas'),
'display_value' => sprintf('%s visit(s)', $object->get_visits_count()),
'wrapper_html_attr' => [
'v-show' => 'limit_visits',
@@ -355,8 +355,8 @@ class Limitation_Manager {
}
$sections['users'] = [
- 'title' => __('Users', 'wp-ultimo'),
- 'desc' => __('Control limitations imposed to the number of user allowed for memberships attached to this product.', 'wp-ultimo'),
+ 'title' => __('Users', 'wp-multisite-waas'),
+ 'desc' => __('Control limitations imposed to the number of user allowed for memberships attached to this product.', 'wp-multisite-waas'),
'icon' => 'dashicons-wu-users',
'v-show' => "get_state_value('product_type', 'none') !== 'service'",
'state' => [
@@ -365,8 +365,8 @@ class Limitation_Manager {
'fields' => [
'modules[users][enabled]' => [
'type' => 'toggle',
- 'title' => __('Limit User', 'wp-ultimo'),
- 'desc' => __('Enable user limitations for this product.', 'wp-ultimo'),
+ 'title' => __('Limit User', 'wp-multisite-waas'),
+ 'desc' => __('Enable user limitations for this product.', 'wp-multisite-waas'),
'html_attr' => [
'v-model' => 'limit_users',
],
@@ -381,8 +381,8 @@ class Limitation_Manager {
$this->register_user_fields($sections, $object);
$sections['post_types'] = [
- 'title' => __('Post Types', 'wp-ultimo'),
- 'desc' => __('Control limitations imposed to the number of posts allowed for memberships attached to this product.', 'wp-ultimo'),
+ 'title' => __('Post Types', 'wp-multisite-waas'),
+ 'desc' => __('Control limitations imposed to the number of posts allowed for memberships attached to this product.', 'wp-multisite-waas'),
'icon' => 'dashicons-wu-book',
'v-show' => "get_state_value('product_type', 'none') !== 'service'",
'state' => [
@@ -391,8 +391,8 @@ class Limitation_Manager {
'fields' => [
'modules[post_types][enabled]' => [
'type' => 'toggle',
- 'title' => __('Limit Post Types', 'wp-ultimo'),
- 'desc' => __('Toggle this option to set limits to each post type.', 'wp-ultimo'),
+ 'title' => __('Limit Post Types', 'wp-multisite-waas'),
+ 'desc' => __('Toggle this option to set limits to each post type.', 'wp-multisite-waas'),
'value' => false,
'html_attr' => [
'v-model' => 'limit_post_types',
@@ -407,7 +407,7 @@ class Limitation_Manager {
$sections['post_types']['post_quota_note'] = [
'type' => 'note',
- 'desc' => __('Note: Using the fields below you can set a post limit for each of the post types activated. Toggle the switch to deactivate the post type altogether. Leave 0 or blank for unlimited posts.', 'wp-ultimo'),
+ 'desc' => __('Note: Using the fields below you can set a post limit for each of the post types activated. Toggle the switch to deactivate the post type altogether. Leave 0 or blank for unlimited posts.', 'wp-multisite-waas'),
'wrapper_html_attr' => [
'v-show' => 'limit_post_types',
'v-cloak' => '1',
@@ -417,8 +417,8 @@ class Limitation_Manager {
$this->register_post_type_fields($sections, $object);
$sections['limit_disk_space'] = [
- 'title' => __('Disk Space', 'wp-ultimo'),
- 'desc' => __('Control limitations imposed to the disk space allowed for memberships attached to this entity.', 'wp-ultimo'),
+ 'title' => __('Disk Space', 'wp-multisite-waas'),
+ 'desc' => __('Control limitations imposed to the disk space allowed for memberships attached to this entity.', 'wp-multisite-waas'),
'icon' => 'dashicons-wu-drive',
'v-show' => "get_state_value('product_type', 'none') !== 'service'",
'state' => [
@@ -427,8 +427,8 @@ class Limitation_Manager {
'fields' => [
'modules[disk_space][enabled]' => [
'type' => 'toggle',
- 'title' => __('Limit Disk Space per Site', 'wp-ultimo'),
- 'desc' => __('Enable disk space limitations for this entity.', 'wp-ultimo'),
+ 'title' => __('Limit Disk Space per Site', 'wp-multisite-waas'),
+ 'desc' => __('Enable disk space limitations for this entity.', 'wp-multisite-waas'),
'value' => true,
'html_attr' => [
'v-model' => 'limit_disk_space',
@@ -443,8 +443,8 @@ class Limitation_Manager {
$sections['limit_disk_space']['fields']['modules[disk_space][limit]'] = [
'type' => 'number',
- 'title' => __('Disk Space Allowance', 'wp-ultimo'),
- 'desc' => __('Set a limit in MBs for the disk space for each individual site.', 'wp-ultimo'),
+ 'title' => __('Disk Space Allowance', 'wp-multisite-waas'),
+ 'desc' => __('Set a limit in MBs for the disk space for each individual site.', 'wp-multisite-waas'),
'min' => 0,
'placeholder' => 100,
'value' => $object->get_limitations()->disk_space->get_limit(),
@@ -459,8 +459,8 @@ class Limitation_Manager {
}
$sections['custom_domain'] = [
- 'title' => __('Custom Domains', 'wp-ultimo'),
- 'desc' => __('Limit the number of users on each role, posts, pages, and more.', 'wp-ultimo'),
+ 'title' => __('Custom Domains', 'wp-multisite-waas'),
+ 'desc' => __('Limit the number of users on each role, posts, pages, and more.', 'wp-multisite-waas'),
'icon' => 'dashicons-wu-link1',
'v-show' => "get_state_value('product_type', 'none') !== 'service'",
'state' => [
@@ -469,8 +469,8 @@ class Limitation_Manager {
'fields' => [
'modules[domain_mapping][enabled]' => [
'type' => 'toggle',
- 'title' => __('Allow Custom Domains', 'wp-ultimo'),
- 'desc' => __('Toggle this option on to allow this plan to enable custom domains for sign-ups on this plan.', 'wp-ultimo'),
+ 'title' => __('Allow Custom Domains', 'wp-multisite-waas'),
+ 'desc' => __('Toggle this option on to allow this plan to enable custom domains for sign-ups on this plan.', 'wp-multisite-waas'),
'value' => $object->get_limitations()->domain_mapping->is_enabled(),
'wrapper_html_attr' => [
'v-cloak' => '1',
@@ -487,8 +487,8 @@ class Limitation_Manager {
}
$sections['allowed_themes'] = [
- 'title' => __('Themes', 'wp-ultimo'),
- 'desc' => __('Limit the number of users on each role, posts, pages, and more.', 'wp-ultimo'),
+ 'title' => __('Themes', 'wp-multisite-waas'),
+ 'desc' => __('Limit the number of users on each role, posts, pages, and more.', 'wp-multisite-waas'),
'icon' => 'dashicons-wu-palette',
'v-show' => "get_state_value('product_type', 'none') !== 'service'",
'state' => [
@@ -497,23 +497,23 @@ class Limitation_Manager {
'fields' => [
'themes' => [
'type' => 'html',
- 'title' => __('Themes', 'wp-ultimo'),
- 'desc' => __('Select how the themes installed on the network should behave.', 'wp-ultimo'),
+ 'title' => __('Themes', 'wp-multisite-waas'),
+ 'desc' => __('Select how the themes installed on the network should behave.', 'wp-multisite-waas'),
'content' => fn() => $this->get_theme_selection_list($object, $sections['allowed_themes']),
],
],
];
$sections['allowed_plugins'] = [
- 'title' => __('Plugins', 'wp-ultimo'),
- 'desc' => __('You can choose the behavior of each plugin installed on the platform.', 'wp-ultimo'),
+ 'title' => __('Plugins', 'wp-multisite-waas'),
+ 'desc' => __('You can choose the behavior of each plugin installed on the platform.', 'wp-multisite-waas'),
'icon' => 'dashicons-wu-power-plug',
'v-show' => "get_state_value('product_type', 'none') !== 'service'",
'fields' => [
'plugins' => [
'type' => 'html',
- 'title' => __('Plugins', 'wp-ultimo'),
- 'desc' => __('Select how the plugins installed on the network should behave.', 'wp-ultimo'),
+ 'title' => __('Plugins', 'wp-multisite-waas'),
+ 'desc' => __('Select how the plugins installed on the network should behave.', 'wp-multisite-waas'),
'content' => fn() => $this->get_plugin_selection_list($object),
],
],
@@ -528,14 +528,14 @@ class Limitation_Manager {
);
$sections['reset_limitations'] = [
- 'title' => __('Reset Limitations', 'wp-ultimo'),
- 'desc' => __('Reset the limitations applied to this element.', 'wp-ultimo'),
+ 'title' => __('Reset Limitations', 'wp-multisite-waas'),
+ 'desc' => __('Reset the limitations applied to this element.', 'wp-multisite-waas'),
'icon' => 'dashicons-wu-back-in-time',
'fields' => [
'reset_permissions' => [
'type' => 'note',
- 'title' => sprintf("%s%s", __('Reset Limitations', 'wp-ultimo'), __('Use this option to reset the custom limitations applied to this object.', 'wp-ultimo')),
- 'desc' => sprintf('%s', $reset_url, __('Reset Limitations', 'wp-ultimo'), __('Reset Limitations', 'wp-ultimo')),
+ 'title' => sprintf("%s%s", __('Reset Limitations', 'wp-multisite-waas'), __('Use this option to reset the custom limitations applied to this object.', 'wp-multisite-waas')),
+ 'desc' => sprintf('%s', $reset_url, __('Reset Limitations', 'wp-multisite-waas'), __('Reset Limitations', 'wp-multisite-waas')),
],
],
];
@@ -554,7 +554,7 @@ class Limitation_Manager {
*/
protected function override_notice($show = false, $additional_checks = []) {
- $text = sprintf('
%s
', __('This value is being applied only to this entity. Changes made to the membership or product permissions will not affect this particular value.', 'wp-ultimo'));
+ $text = sprintf('
%s
', __('This value is being applied only to this entity. Changes made to the membership or product permissions will not affect this particular value.', 'wp-multisite-waas'));
return [
'desc' => $text,
@@ -588,8 +588,8 @@ class Limitation_Manager {
$sections['users']['fields'][ "control_{$user_role_slug}" ] = [
'type' => 'group',
- 'title' => sprintf(__('Limit %s Role', 'wp-ultimo'), $user_role['name']),
- 'desc' => sprintf(__('The customer will be able to create %s users(s) of this user role.', 'wp-ultimo'), "{{ roles['{$user_role_slug}'].enabled ? ( parseInt(roles['{$user_role_slug}'].number, 10) ? roles['{$user_role_slug}'].number : '" . __('unlimited', 'wp-ultimo') . "' ) : '" . __('no', 'wp-ultimo') . "' }}"),
+ 'title' => sprintf(__('Limit %s Role', 'wp-multisite-waas'), $user_role['name']),
+ 'desc' => sprintf(__('The customer will be able to create %s users(s) of this user role.', 'wp-multisite-waas'), "{{ roles['{$user_role_slug}'].enabled ? ( parseInt(roles['{$user_role_slug}'].number, 10) ? roles['{$user_role_slug}'].number : '" . __('unlimited', 'wp-multisite-waas') . "' ) : '" . __('no', 'wp-multisite-waas') . "' }}"),
'tooltip' => '',
'wrapper_html_attr' => [
'v-bind:class' => "!roles['{$user_role_slug}'].enabled ? 'wu-opacity-75' : ''",
@@ -599,7 +599,7 @@ class Limitation_Manager {
'fields' => [
"modules[users][limit][{$user_role_slug}][number]" => [
'type' => 'number',
- 'placeholder' => sprintf(__('%s Role Quota. e.g. 10', 'wp-ultimo'), $user_role['name']),
+ 'placeholder' => sprintf(__('%s Role Quota. e.g. 10', 'wp-multisite-waas'), $user_role['name']),
'min' => 0,
'wrapper_classes' => 'wu-w-full',
'html_attr' => [
@@ -646,8 +646,8 @@ class Limitation_Manager {
$sections['post_types']['fields'][ "control_{$post_type_slug}" ] = [
'type' => 'group',
- 'title' => sprintf(__('Limit %s', 'wp-ultimo'), $post_type->label),
- 'desc' => sprintf(__('The customer will be able to create %s post(s) of this post type.', 'wp-ultimo'), "{{ types['{$post_type_slug}'].enabled ? ( parseInt(types['{$post_type_slug}'].number, 10) ? types['{$post_type_slug}'].number : '" . __('unlimited', 'wp-ultimo') . "' ) : '" . __('no', 'wp-ultimo') . "' }}"),
+ 'title' => sprintf(__('Limit %s', 'wp-multisite-waas'), $post_type->label),
+ 'desc' => sprintf(__('The customer will be able to create %s post(s) of this post type.', 'wp-multisite-waas'), "{{ types['{$post_type_slug}'].enabled ? ( parseInt(types['{$post_type_slug}'].number, 10) ? types['{$post_type_slug}'].number : '" . __('unlimited', 'wp-multisite-waas') . "' ) : '" . __('no', 'wp-multisite-waas') . "' }}"),
'tooltip' => '',
'wrapper_html_attr' => [
'v-bind:class' => "!types['{$post_type_slug}'].enabled ? 'wu-opacity-75' : ''",
@@ -657,7 +657,7 @@ class Limitation_Manager {
'fields' => [
"modules[post_types][limit][{$post_type_slug}][number]" => [
'type' => 'number',
- 'placeholder' => sprintf(__('%s Quota. e.g. 200', 'wp-ultimo'), $post_type->label),
+ 'placeholder' => sprintf(__('%s Quota. e.g. 200', 'wp-multisite-waas'), $post_type->label),
'min' => 0,
'wrapper_classes' => 'wu-w-full',
'html_attr' => [
@@ -702,8 +702,8 @@ class Limitation_Manager {
$fields = [
'modules[sites][enabled]' => [
'type' => 'toggle',
- 'title' => __('Limit Sites', 'wp-ultimo'),
- 'desc' => __('Enable site limitations for this product.', 'wp-ultimo'),
+ 'title' => __('Limit Sites', 'wp-multisite-waas'),
+ 'desc' => __('Enable site limitations for this product.', 'wp-multisite-waas'),
'value' => $object->get_limitations()->sites->is_enabled(),
'html_attr' => [
'v-model' => 'limit_sites',
@@ -720,7 +720,7 @@ class Limitation_Manager {
*/
$fields['site_not_allowed_note'] = [
'type' => 'note',
- 'desc' => __('The product type selection does not support allowing for the creating of extra sites.', 'wp-ultimo'),
+ 'desc' => __('The product type selection does not support allowing for the creating of extra sites.', 'wp-multisite-waas'),
'tooltip' => '',
'wrapper_html_attr' => [
'v-show' => "get_state_value('product_type', 'none') === 'service' && limit_sites",
@@ -731,8 +731,8 @@ class Limitation_Manager {
$fields['modules[sites][limit]'] = [
'type' => 'number',
'min' => 1,
- 'title' => __('Site Allowance', 'wp-ultimo'),
- 'desc' => __('This is the number of sites the customer will be able to create under this membership.', 'wp-ultimo'),
+ 'title' => __('Site Allowance', 'wp-multisite-waas'),
+ 'desc' => __('This is the number of sites the customer will be able to create under this membership.', 'wp-multisite-waas'),
'placeholder' => 1,
'value' => $object->get_limitations()->sites->get_limit(),
'wrapper_html_attr' => [
diff --git a/inc/managers/class-membership-manager.php b/inc/managers/class-membership-manager.php
index 4d58b15..918bfe9 100644
--- a/inc/managers/class-membership-manager.php
+++ b/inc/managers/class-membership-manager.php
@@ -60,7 +60,7 @@ class Membership_Manager extends Base_Manager {
add_action(
'init',
function () {
- Event_Manager::register_model_events('membership', __('Membership', 'wp-ultimo'), ['created', 'updated']);
+ Event_Manager::register_model_events('membership', __('Membership', 'wp-multisite-waas'), ['created', 'updated']);
}
);
@@ -128,7 +128,7 @@ class Membership_Manager extends Base_Manager {
$membership = wu_get_membership($membership_id);
if ( ! $membership) {
- return new \WP_Error('error', __('An unexpected error happened.', 'wp-ultimo'));
+ return new \WP_Error('error', __('An unexpected error happened.', 'wp-multisite-waas'));
}
$status = $membership->publish_pending_site();
@@ -152,7 +152,7 @@ class Membership_Manager extends Base_Manager {
$membership = wu_get_membership_by_hash($membership_id);
if ( ! $membership) {
- return new \WP_Error('error', __('An unexpected error happened.', 'wp-ultimo'));
+ return new \WP_Error('error', __('An unexpected error happened.', 'wp-multisite-waas'));
}
$pending_site = $membership->get_pending_site();
@@ -186,13 +186,13 @@ class Membership_Manager extends Base_Manager {
$membership = wu_get_membership($membership_id);
if ( ! $membership) {
- return new \WP_Error('error', __('An unexpected error happened.', 'wp-ultimo'));
+ return new \WP_Error('error', __('An unexpected error happened.', 'wp-multisite-waas'));
}
$scheduled_swap = $membership->get_scheduled_swap();
if (empty($scheduled_swap)) {
- return new \WP_Error('error', __('An unexpected error happened.', 'wp-ultimo'));
+ return new \WP_Error('error', __('An unexpected error happened.', 'wp-multisite-waas'));
}
$order = $scheduled_swap->order;
@@ -207,12 +207,12 @@ class Membership_Manager extends Base_Manager {
if (is_wp_error($status)) {
$wpdb->query('ROLLBACK');
- return new \WP_Error('error', __('An unexpected error happened.', 'wp-ultimo'));
+ return new \WP_Error('error', __('An unexpected error happened.', 'wp-multisite-waas'));
}
} catch (\Throwable $exception) {
$wpdb->query('ROLLBACK');
- return new \WP_Error('error', __('An unexpected error happened.', 'wp-ultimo'));
+ return new \WP_Error('error', __('An unexpected error happened.', 'wp-multisite-waas'));
}
/*
@@ -308,7 +308,7 @@ class Membership_Manager extends Base_Manager {
$target_customer = wu_get_customer($target_customer_id);
if ( ! $membership || ! $target_customer || absint($membership->get_customer_id()) === absint($target_customer->get_id())) {
- return new \WP_Error('error', __('An unexpected error happened.', 'wp-ultimo'));
+ return new \WP_Error('error', __('An unexpected error happened.', 'wp-multisite-waas'));
}
$wpdb->query('START TRANSACTION');
@@ -380,7 +380,7 @@ class Membership_Manager extends Base_Manager {
$membership = wu_get_membership($membership_id);
if ( ! $membership) {
- return new \WP_Error('error', __('An unexpected error happened.', 'wp-ultimo'));
+ return new \WP_Error('error', __('An unexpected error happened.', 'wp-multisite-waas'));
}
$wpdb->query('START TRANSACTION');
diff --git a/inc/managers/class-notes-manager.php b/inc/managers/class-notes-manager.php
index 0422e80..c74e35f 100644
--- a/inc/managers/class-notes-manager.php
+++ b/inc/managers/class-notes-manager.php
@@ -142,7 +142,7 @@ class Notes_Manager extends Base_Manager {
if (current_user_can('delete_notes')) {
$fields_buttons['button_clear_notes'] = [
'type' => 'link',
- 'display_value' => __('Clear Notes', 'wp-ultimo'),
+ 'display_value' => __('Clear Notes', 'wp-multisite-waas'),
'wrapper_classes' => 'wu-mb-0',
'classes' => 'button wubox',
'html_attr' => [
@@ -153,7 +153,7 @@ class Notes_Manager extends Base_Manager {
'model' => $object->model,
]
),
- 'title' => __('Clear Notes', 'wp-ultimo'),
+ 'title' => __('Clear Notes', 'wp-multisite-waas'),
],
];
}
@@ -161,7 +161,7 @@ class Notes_Manager extends Base_Manager {
if (current_user_can('edit_notes')) {
$fields_buttons['button_add_note'] = [
'type' => 'link',
- 'display_value' => __('Add new Note', 'wp-ultimo'),
+ 'display_value' => __('Add new Note', 'wp-multisite-waas'),
'wrapper_classes' => 'wu-mb-0',
'classes' => 'button button-primary wubox wu-absolute wu-right-5',
'html_attr' => [
@@ -173,7 +173,7 @@ class Notes_Manager extends Base_Manager {
'height' => 306,
]
),
- 'title' => __('Add new Note', 'wp-ultimo'),
+ 'title' => __('Add new Note', 'wp-multisite-waas'),
],
];
}
@@ -185,8 +185,8 @@ class Notes_Manager extends Base_Manager {
];
$sections['notes'] = [
- 'title' => __('Notes', 'wp-ultimo'),
- 'desc' => __('Add notes to this model.', 'wp-ultimo'),
+ 'title' => __('Notes', 'wp-multisite-waas'),
+ 'desc' => __('Add notes to this model.', 'wp-multisite-waas'),
'icon' => 'dashicons-wu-text-document',
'order' => 1001,
'fields' => $fields,
@@ -207,8 +207,8 @@ class Notes_Manager extends Base_Manager {
'content' => [
'id' => 'content',
'type' => 'wp-editor',
- 'title' => __('Note Content', 'wp-ultimo'),
- 'desc' => __('Basic formatting is supported.', 'wp-ultimo'),
+ 'title' => __('Note Content', 'wp-multisite-waas'),
+ 'desc' => __('Basic formatting is supported.', 'wp-multisite-waas'),
'settings' => [
'tinymce' => [
'toolbar1' => 'bold,italic,strikethrough,link,unlink,undo,redo,pastetext',
@@ -220,8 +220,8 @@ class Notes_Manager extends Base_Manager {
],
'submit_add_note' => [
'type' => 'submit',
- 'title' => __('Add Note', 'wp-ultimo'),
- 'placeholder' => __('Add Note', 'wp-ultimo'),
+ 'title' => __('Add Note', 'wp-multisite-waas'),
+ 'placeholder' => __('Add Note', 'wp-multisite-waas'),
'value' => 'save',
'classes' => 'wu-w-full button button-primary',
'wrapper_classes' => 'wu-items-end',
@@ -308,16 +308,16 @@ class Notes_Manager extends Base_Manager {
$fields = [
'confirm_clear_notes' => [
'type' => 'toggle',
- 'title' => __('Confirm clear all notes?', 'wp-ultimo'),
- 'desc' => __('This action can not be undone.', 'wp-ultimo'),
+ 'title' => __('Confirm clear all notes?', 'wp-multisite-waas'),
+ 'desc' => __('This action can not be undone.', 'wp-multisite-waas'),
'html_attr' => [
'v-model' => 'confirmed',
],
],
'submit_clear_notes' => [
'type' => 'submit',
- 'title' => __('Clear Notes', 'wp-ultimo'),
- 'placeholder' => __('Clear Notes', 'wp-ultimo'),
+ 'title' => __('Clear Notes', 'wp-multisite-waas'),
+ 'placeholder' => __('Clear Notes', 'wp-multisite-waas'),
'value' => 'save',
'classes' => 'wu-w-full button button-primary',
'wrapper_classes' => 'wu-items-end',
@@ -403,16 +403,16 @@ class Notes_Manager extends Base_Manager {
$fields = [
'confirm_delete_note' => [
'type' => 'toggle',
- 'title' => __('Confirm clear the note?', 'wp-ultimo'),
- 'desc' => __('This action can not be undone.', 'wp-ultimo'),
+ 'title' => __('Confirm clear the note?', 'wp-multisite-waas'),
+ 'desc' => __('This action can not be undone.', 'wp-multisite-waas'),
'html_attr' => [
'v-model' => 'confirmed',
],
],
'submit_delete_note' => [
'type' => 'submit',
- 'title' => __('Clear Note', 'wp-ultimo'),
- 'placeholder' => __('Clear Note', 'wp-ultimo'),
+ 'title' => __('Clear Note', 'wp-multisite-waas'),
+ 'placeholder' => __('Clear Note', 'wp-multisite-waas'),
'value' => 'save',
'classes' => 'wu-w-full button button-primary',
'wrapper_classes' => 'wu-items-end',
@@ -475,7 +475,7 @@ class Notes_Manager extends Base_Manager {
$status = $object->delete_note($note_id);
if (is_wp_error($status) || false === $status) {
- wp_send_json_error(new \WP_Error('not-found', __('Note not found', 'wp-ultimo')));
+ wp_send_json_error(new \WP_Error('not-found', __('Note not found', 'wp-multisite-waas')));
}
wp_send_json_success(
diff --git a/inc/managers/class-notification-manager.php b/inc/managers/class-notification-manager.php
index cc8d88f..767c2b4 100644
--- a/inc/managers/class-notification-manager.php
+++ b/inc/managers/class-notification-manager.php
@@ -121,8 +121,8 @@ class Notification_Manager {
'sites',
'hide_notifications_subsites',
[
- 'title' => __('Hide Admin Notices on Sites', 'wp-ultimo'),
- 'desc' => __('Hide all admin notices on network sites, except for WP Multisite WaaS broadcasts.', 'wp-ultimo'),
+ 'title' => __('Hide Admin Notices on Sites', 'wp-multisite-waas'),
+ 'desc' => __('Hide all admin notices on network sites, except for WP Multisite WaaS broadcasts.', 'wp-multisite-waas'),
'type' => 'toggle',
'default' => 0,
'order' => 25,
diff --git a/inc/managers/class-payment-manager.php b/inc/managers/class-payment-manager.php
index eb2770a..7ad1d1f 100644
--- a/inc/managers/class-payment-manager.php
+++ b/inc/managers/class-payment-manager.php
@@ -66,7 +66,7 @@ class Payment_Manager extends Base_Manager {
function () {
Event_Manager::register_model_events(
'payment',
- __('Payment', 'wp-ultimo'),
+ __('Payment', 'wp-multisite-waas'),
['created', 'updated']
);
}
@@ -169,7 +169,7 @@ class Payment_Manager extends Base_Manager {
wp_enqueue_style('wu-admin');
add_wubox();
- $form_title = __('Pending Payments', 'wp-ultimo');
+ $form_title = __('Pending Payments', 'wp-multisite-waas');
$form_url = wu_get_form_url('pending_payments');
wp_add_inline_script('wubox', "document.addEventListener('DOMContentLoaded', function(){wubox.show('$form_title', '$form_url');});");
@@ -225,7 +225,7 @@ class Payment_Manager extends Base_Manager {
}
}
- $message = ! empty($pending_payments) ? __('You have pending payments on your account!', 'wp-ultimo') : __('You do not have pending payments on your account!', 'wp-ultimo');
+ $message = ! empty($pending_payments) ? __('You have pending payments on your account!', 'wp-multisite-waas') : __('You do not have pending payments on your account!', 'wp-multisite-waas');
/**
* Allow user to change the message about the pending payments.
@@ -252,7 +252,7 @@ class Payment_Manager extends Base_Manager {
$url = $payment->get_payment_url();
- $html = sprintf('%s', $url, __('Pay Now', 'wp-ultimo'));
+ $html = sprintf('%s', $url, __('Pay Now', 'wp-multisite-waas'));
$title = $slug;
@@ -291,13 +291,13 @@ class Payment_Manager extends Base_Manager {
*/
if ( ! wp_verify_nonce(wu_request('key'), 'see_invoice')) {
- // wp_die(__('You do not have permissions to access this file.', 'wp-ultimo'));
+ // wp_die(__('You do not have permissions to access this file.', 'wp-multisite-waas'));
}
$payment = wu_get_payment_by_hash(wu_request('reference'));
if ( ! $payment) {
- wp_die(__('This invoice does not exist.', 'wp-ultimo'));
+ wp_die(__('This invoice does not exist.', 'wp-multisite-waas'));
}
$invoice = new Invoice($payment);
@@ -329,7 +329,7 @@ class Payment_Manager extends Base_Manager {
$target_customer = wu_get_customer($target_customer_id);
if ( ! $payment || ! $target_customer || $payment->get_customer_id() === $target_customer->get_id()) {
- return new \WP_Error('error', __('An unexpected error happened.', 'wp-ultimo'));
+ return new \WP_Error('error', __('An unexpected error happened.', 'wp-multisite-waas'));
}
$wpdb->query('START TRANSACTION');
@@ -374,7 +374,7 @@ class Payment_Manager extends Base_Manager {
$payment = wu_get_payment($payment_id);
if ( ! $payment) {
- return new \WP_Error('error', __('An unexpected error happened.', 'wp-ultimo'));
+ return new \WP_Error('error', __('An unexpected error happened.', 'wp-multisite-waas'));
}
$wpdb->query('START TRANSACTION');
diff --git a/inc/managers/class-site-manager.php b/inc/managers/class-site-manager.php
index 7413347..62cf916 100644
--- a/inc/managers/class-site-manager.php
+++ b/inc/managers/class-site-manager.php
@@ -132,7 +132,7 @@ class Site_Manager extends Base_Manager {
}
if (preg_match('/[^a-z0-9-]+/', (string) $result['blogname'])) {
- $result['errors']->add('blogname', __('Site names can only contain lowercase letters (a-z), numbers, and hyphens.', 'wp-ultimo'));
+ $result['errors']->add('blogname', __('Site names can only contain lowercase letters (a-z), numbers, and hyphens.', 'wp-multisite-waas'));
}
}
@@ -165,7 +165,7 @@ class Site_Manager extends Base_Manager {
$customer = wu_get_current_customer();
if ( ! $customer || ! $membership || $customer->get_id() !== $membership->get_customer_id()) {
- $errors->add('not-owner', __('You do not have the necessary permissions to create a site to this membership', 'wp-ultimo'));
+ $errors->add('not-owner', __('You do not have the necessary permissions to create a site to this membership', 'wp-multisite-waas'));
}
if ($errors->has_errors() === false) {
@@ -316,9 +316,9 @@ class Site_Manager extends Base_Manager {
new \WP_Error(
'not-available',
// phpcs:ignore
- sprintf( __('This site is not available at the moment. If you are the site admin, click here to login.', 'wp-ultimo'), wp_login_url()),
+ sprintf( __('This site is not available at the moment. If you are the site admin, click here to login.', 'wp-multisite-waas'), wp_login_url()),
[
- 'title' => __('Site not available', 'wp-ultimo'),
+ 'title' => __('Site not available', 'wp-multisite-waas'),
]
),
'',
@@ -370,7 +370,7 @@ class Site_Manager extends Base_Manager {
if ( ! $site) {
wp_send_json_error(
- new \WP_Error('missing-site', __('Site not found.', 'wp-ultimo'))
+ new \WP_Error('missing-site', __('Site not found.', 'wp-multisite-waas'))
);
}
@@ -380,7 +380,7 @@ class Site_Manager extends Base_Manager {
if ( ! $attachment_id) {
wp_send_json_error(
- new \WP_Error('error', __('We were not able to fetch the screenshot.', 'wp-ultimo'))
+ new \WP_Error('error', __('We were not able to fetch the screenshot.', 'wp-multisite-waas'))
);
}
@@ -421,7 +421,7 @@ class Site_Manager extends Base_Manager {
public function add_no_index_warning(): void {
if (wu_get_setting('stop_template_indexing', false)) {
- add_meta_box('wu-warnings', __('WP Multisite WaaS - Search Engines', 'wp-ultimo'), [$this, 'render_no_index_warning'], 'dashboard-network', 'normal', 'high');
+ add_meta_box('wu-warnings', __('WP Multisite WaaS - Search Engines', 'wp-multisite-waas'), [$this, 'render_no_index_warning'], 'dashboard-network', 'normal', 'high');
}
}
@@ -437,9 +437,9 @@ class Site_Manager extends Base_Manager {
-
prevent search engines such as Google from indexing your template sites.', 'wp-ultimo'); ?>
+
prevent search engines such as Google from indexing your template sites.', 'wp-multisite-waas'); ?>
diff --git a/inc/traits/trait-wp-ultimo-coupon-deprecated.php b/inc/traits/trait-wp-ultimo-coupon-deprecated.php
index 6e12a32..0d16227 100644
--- a/inc/traits/trait-wp-ultimo-coupon-deprecated.php
+++ b/inc/traits/trait-wp-ultimo-coupon-deprecated.php
@@ -29,7 +29,7 @@ trait WP_Ultimo_Coupon_Deprecated {
*
* @since 2.0.0
*/
- _doing_it_wrong($key, __('Discount Code keys should not be set directly.', 'wp-ultimo'), '2.0.0');
+ _doing_it_wrong($key, __('Discount Code keys should not be set directly.', 'wp-multisite-waas'), '2.0.0');
$this->meta[ "wpu_{$key}" ] = $value;
}
@@ -55,7 +55,7 @@ trait WP_Ultimo_Coupon_Deprecated {
if (null === $value) {
// translators: the placeholder is the key.
- $message = sprintf(__('Discount Codes do not have a %s parameter', 'wp-ultimo'), $key);
+ $message = sprintf(__('Discount Codes do not have a %s parameter', 'wp-multisite-waas'), $key);
// throw new \Exception($message);
@@ -67,7 +67,7 @@ trait WP_Ultimo_Coupon_Deprecated {
*
* @since 2.0.0
*/
- _doing_it_wrong($key, __('Discount Code keys should not be accessed directly', 'wp-ultimo'), '2.0.0');
+ _doing_it_wrong($key, __('Discount Code keys should not be accessed directly', 'wp-multisite-waas'), '2.0.0');
return $value;
}
diff --git a/inc/traits/trait-wp-ultimo-plan-deprecated.php b/inc/traits/trait-wp-ultimo-plan-deprecated.php
index dd34b4b..7f68476 100644
--- a/inc/traits/trait-wp-ultimo-plan-deprecated.php
+++ b/inc/traits/trait-wp-ultimo-plan-deprecated.php
@@ -80,7 +80,7 @@ trait WP_Ultimo_Plan_Deprecated {
*
* @since 2.0.0
*/
- _doing_it_wrong($key, __('Product keys should not be accessed directly', 'wp-ultimo'), '2.0.0');
+ _doing_it_wrong($key, __('Product keys should not be accessed directly', 'wp-multisite-waas'), '2.0.0');
return $value;
}
@@ -142,11 +142,11 @@ trait WP_Ultimo_Plan_Deprecated {
*/
if ($this->should_display_quota_on_pricing_tables('setup_fee', true)) {
if ($this->get_pricing_type() === 'contact_us') {
- $pricing_table_lines['wu_product_contact_us'] = __('Contact Us to know more', 'wp-ultimo');
+ $pricing_table_lines['wu_product_contact_us'] = __('Contact Us to know more', 'wp-multisite-waas');
} else {
$pricing_table_lines['wu_product_setup_fee'] = $this->has_setup_fee()
- ? sprintf(__('Setup Fee: %s', 'wp-ultimo'), "" . wu_format_currency($this->get_setup_fee()) . '')
- : __('No Setup Fee', 'wp-ultimo');
+ ? sprintf(__('Setup Fee: %s', 'wp-multisite-waas'), "" . wu_format_currency($this->get_setup_fee()) . '')
+ : __('No Setup Fee', 'wp-multisite-waas');
}
}
@@ -169,7 +169,7 @@ trait WP_Ultimo_Plan_Deprecated {
if ($this->is_post_type_disabled($pt_slug)) {
// Translators: used as "No Posts" where a post type is disabled
- $pricing_table_lines[ 'wu_product_limit_post_type_' . $pt_slug ] = sprintf(__('No %s', 'wp-ultimo'), $post_type->labels->name);
+ $pricing_table_lines[ 'wu_product_limit_post_type_' . $pt_slug ] = sprintf(__('No %s', 'wp-multisite-waas'), $post_type->labels->name);
continue;
}
@@ -180,7 +180,7 @@ trait WP_Ultimo_Plan_Deprecated {
* @var integer|string
*/
$is_unlimited = (int) $this->get_limitations()->post_types->{$pt_slug}->number === 0 || ! $this->get_limitations()->post_types->is_enabled();
- $value = $is_unlimited ? __('Unlimited', 'wp-ultimo') : $this->get_limitations()->post_types->{$pt_slug}->number;
+ $value = $is_unlimited ? __('Unlimited', 'wp-multisite-waas') : $this->get_limitations()->post_types->{$pt_slug}->number;
// Add Line
$label = 1 == $value ? $post_type->labels->singular_name : $post_type->labels->name;
@@ -196,10 +196,10 @@ trait WP_Ultimo_Plan_Deprecated {
*/
if (wu_get_setting('enable_multiple_sites') && $this->should_display_quota_on_pricing_tables('sites')) {
$is_unlimited = (int) $this->get_limitations()->sites->get_limit() === 0 || ! $this->get_limitations()->sites->is_enabled();
- $value = $is_unlimited ? __('Unlimited', 'wp-ultimo') : $this->get_limitations()->sites->get_limit();
+ $value = $is_unlimited ? __('Unlimited', 'wp-multisite-waas') : $this->get_limitations()->sites->get_limit();
// Add Line
- $pricing_table_lines['wu_product_limit_sites'] = sprintf('%s %s', $value, _n('Site', 'Sites', $this->get_limitations()->sites->get_limit(), 'wp-ultimo'));
+ $pricing_table_lines['wu_product_limit_sites'] = sprintf('%s %s', $value, _n('Site', 'Sites', $this->get_limitations()->sites->get_limit(), 'wp-multisite-waas'));
}
/**
@@ -207,10 +207,10 @@ trait WP_Ultimo_Plan_Deprecated {
*/
if ($this->should_display_quota_on_pricing_tables('upload')) {
$is_unlimited = (int) $this->get_limitations()->disk_space->get_limit() === 0 || ! $this->get_limitations()->disk_space->is_enabled();
- $disk_space = $is_unlimited ? __('Unlimited', 'wp-ultimo') : size_format(absint($this->get_limitations()->disk_space->get_limit()) * 1024 * 1024);
+ $disk_space = $is_unlimited ? __('Unlimited', 'wp-multisite-waas') : size_format(absint($this->get_limitations()->disk_space->get_limit()) * 1024 * 1024);
// Add Line
- $pricing_table_lines['wu_product_limit_disk_space'] = ! empty($disk_space) ? sprintf(__('%s Disk Space', 'wp-ultimo'), $disk_space) : false;
+ $pricing_table_lines['wu_product_limit_disk_space'] = ! empty($disk_space) ? sprintf(__('%s Disk Space', 'wp-multisite-waas'), $disk_space) : false;
}
/**
@@ -220,10 +220,10 @@ trait WP_Ultimo_Plan_Deprecated {
*/
if ($this->should_display_quota_on_pricing_tables('visits')) {
$is_unlimited = (int) $this->get_limitations()->visits->get_limit() === 0 || ! $this->get_limitations()->visits->is_enabled();
- $value = $is_unlimited ? __('Unlimited', 'wp-ultimo') : number_format($this->get_limitations()->visits->get_limit());
+ $value = $is_unlimited ? __('Unlimited', 'wp-multisite-waas') : number_format($this->get_limitations()->visits->get_limit());
// Add Line
- $pricing_table_lines['wu_product_limit_visits'] = sprintf('%s %s', $value, _n('Visit per month', 'Visits per month', $this->get_limitations()->visits->get_limit(), 'wp-ultimo'));
+ $pricing_table_lines['wu_product_limit_visits'] = sprintf('%s %s', $value, _n('Visit per month', 'Visits per month', $this->get_limitations()->visits->get_limit(), 'wp-multisite-waas'));
}
/**
@@ -235,7 +235,7 @@ trait WP_Ultimo_Plan_Deprecated {
if ($trial_days > 0 || $trial_days_plan) {
$trial_days = $trial_days_plan ?: $trial_days;
- $pricing_table_lines['wu_product_trial'] = ! $this->is_free() ? sprintf(__('%s day Free Trial', 'wp-ultimo'), $trial_days) : '-';
+ $pricing_table_lines['wu_product_trial'] = ! $this->is_free() ? sprintf(__('%s day Free Trial', 'wp-multisite-waas'), $trial_days) : '-';
}
/**
diff --git a/inc/traits/trait-wp-ultimo-settings-deprecated.php b/inc/traits/trait-wp-ultimo-settings-deprecated.php
index b71b8e6..c717e3a 100644
--- a/inc/traits/trait-wp-ultimo-settings-deprecated.php
+++ b/inc/traits/trait-wp-ultimo-settings-deprecated.php
@@ -74,8 +74,8 @@ trait WP_Ultimo_Settings_Deprecated {
$this->add_section(
'other',
[
- 'title' => __('Other', 'wp-ultimo'),
- 'desc' => __('Other', 'wp-ultimo'),
+ 'title' => __('Other', 'wp-multisite-waas'),
+ 'desc' => __('Other', 'wp-multisite-waas'),
]
);
diff --git a/inc/traits/trait-wp-ultimo-site-deprecated.php b/inc/traits/trait-wp-ultimo-site-deprecated.php
index 6db5237..1d78f74 100644
--- a/inc/traits/trait-wp-ultimo-site-deprecated.php
+++ b/inc/traits/trait-wp-ultimo-site-deprecated.php
@@ -39,7 +39,7 @@ trait WP_Ultimo_Site_Deprecated {
*
* @since 2.0.0
*/
- _doing_it_wrong($key, __('Product keys should not be accessed directly', 'wp-ultimo'), '2.0.0');
+ _doing_it_wrong($key, __('Product keys should not be accessed directly', 'wp-multisite-waas'), '2.0.0');
return $value;
}
diff --git a/inc/traits/trait-wp-ultimo-subscription-deprecated.php b/inc/traits/trait-wp-ultimo-subscription-deprecated.php
index 442db11..c89eba7 100644
--- a/inc/traits/trait-wp-ultimo-subscription-deprecated.php
+++ b/inc/traits/trait-wp-ultimo-subscription-deprecated.php
@@ -38,7 +38,7 @@ trait WP_Ultimo_Subscription_Deprecated {
*
* @since 2.0.0
*/
- _doing_it_wrong($key, __('Membership keys should not be accessed directly', 'wp-ultimo'), '2.0.0');
+ _doing_it_wrong($key, __('Membership keys should not be accessed directly', 'wp-multisite-waas'), '2.0.0');
return $value;
}
diff --git a/inc/ui/class-account-summary-element.php b/inc/ui/class-account-summary-element.php
index eb918ad..c608b4b 100644
--- a/inc/ui/class-account-summary-element.php
+++ b/inc/ui/class-account-summary-element.php
@@ -100,14 +100,14 @@ class Account_Summary_Element extends Base_Element {
*
* This is used on the Blocks list of Gutenberg.
* You should return a string with the localized title.
- * e.g. return __('My Element', 'wp-ultimo').
+ * e.g. return __('My Element', 'wp-multisite-waas').
*
* @since 2.0.0
* @return string
*/
public function get_title() {
- return __('Account Summary', 'wp-ultimo');
+ return __('Account Summary', 'wp-multisite-waas');
}
/**
@@ -116,14 +116,14 @@ class Account_Summary_Element extends Base_Element {
* This is also used on the Gutenberg block list
* to explain what this block is about.
* You should return a string with the localized title.
- * e.g. return __('Adds a checkout form to the page', 'wp-ultimo').
+ * e.g. return __('Adds a checkout form to the page', 'wp-multisite-waas').
*
* @since 2.0.0
* @return string
*/
public function get_description() {
- return __('Adds a account summary block to the page.', 'wp-ultimo');
+ return __('Adds a account summary block to the page.', 'wp-multisite-waas');
}
/**
@@ -148,16 +148,16 @@ class Account_Summary_Element extends Base_Element {
$fields = [];
$fields['header'] = [
- 'title' => __('General', 'wp-ultimo'),
- 'desc' => __('General', 'wp-ultimo'),
+ 'title' => __('General', 'wp-multisite-waas'),
+ 'desc' => __('General', 'wp-multisite-waas'),
'type' => 'header',
];
$fields['title'] = [
'type' => 'text',
- 'title' => __('Title', 'wp-ultimo'),
- 'value' => __('About this Site', 'wp-ultimo'),
- 'desc' => __('Leave blank to hide the title completely.', 'wp-ultimo'),
+ 'title' => __('Title', 'wp-multisite-waas'),
+ 'value' => __('About this Site', 'wp-multisite-waas'),
+ 'desc' => __('Leave blank to hide the title completely.', 'wp-multisite-waas'),
'tooltip' => '',
];
@@ -208,7 +208,7 @@ class Account_Summary_Element extends Base_Element {
public function defaults() {
return [
- 'title' => __('About this Site', 'wp-ultimo'),
+ 'title' => __('About this Site', 'wp-multisite-waas'),
];
}
diff --git a/inc/ui/class-base-element.php b/inc/ui/class-base-element.php
index 129787c..e0c6e4f 100644
--- a/inc/ui/class-base-element.php
+++ b/inc/ui/class-base-element.php
@@ -120,7 +120,7 @@ abstract class Base_Element {
*
* This is used on the Blocks list of Gutenberg.
* You should return a string with the localized title.
- * e.g. return __('My Element', 'wp-ultimo').
+ * e.g. return __('My Element', 'wp-multisite-waas').
*
* @since 2.0.0
* @return string
@@ -133,7 +133,7 @@ abstract class Base_Element {
* This is also used on the Gutenberg block list
* to explain what this block is about.
* You should return a string with the localized title.
- * e.g. return __('Adds a checkout form to the page', 'wp-ultimo').
+ * e.g. return __('Adds a checkout form to the page', 'wp-multisite-waas').
*
* @since 2.0.0
* @return string
@@ -743,12 +743,12 @@ abstract class Base_Element {
$fields['shortcode_result'] = [
'type' => 'note',
'wrapper_classes' => 'sm:wu-block',
- 'desc' => '
' . __('Result', 'wp-ultimo') . '
',
+ 'desc' => '
' . __('Result', 'wp-multisite-waas') . '
',
];
$fields['submit_copy'] = [
'type' => 'submit',
- 'title' => __('Copy Shortcode', 'wp-ultimo'),
+ 'title' => __('Copy Shortcode', 'wp-multisite-waas'),
'value' => 'edit',
'classes' => 'button button-primary wu-w-full wu-copy',
'wrapper_classes' => 'wu-items-end',
@@ -797,8 +797,8 @@ abstract class Base_Element {
$fields['hide'] = [
'type' => 'toggle',
- 'title' => __('Hide Element', 'wp-ultimo'),
- 'desc' => __('Be careful. Hiding an element from the account page might remove important functionality from your customers\' reach.', 'wp-ultimo'),
+ 'title' => __('Hide Element', 'wp-multisite-waas'),
+ 'desc' => __('Be careful. Hiding an element from the account page might remove important functionality from your customers\' reach.', 'wp-multisite-waas'),
'value' => $this->hidden_by_default,
'classes' => 'button button-primary wu-w-full',
'wrapper_classes' => 'wu-items-end',
@@ -833,14 +833,14 @@ abstract class Base_Element {
'fields' => [
'restore' => [
'type' => 'submit',
- 'title' => __('Reset Settings', 'wp-ultimo'),
+ 'title' => __('Reset Settings', 'wp-multisite-waas'),
'value' => 'edit',
'classes' => 'button',
'wrapper_classes' => 'wu-mb-0',
],
'submit' => [
'type' => 'submit',
- 'title' => __('Save Changes', 'wp-ultimo'),
+ 'title' => __('Save Changes', 'wp-multisite-waas'),
'value' => 'edit',
'classes' => 'button button-primary',
'wrapper_classes' => 'wu-mb-0',
@@ -1052,7 +1052,7 @@ abstract class Base_Element {
public function as_inline_content($screen_id, $hook = 'admin_notices', $atts = []): void {
if ( ! function_exists('get_current_screen')) {
- _doing_it_wrong(__METHOD__, esc_html__('An element can not be loaded as inline content unless the get_current_screen() function is already available.', 'wp-ultimo'), '2.0.0');
+ _doing_it_wrong(__METHOD__, esc_html__('An element can not be loaded as inline content unless the get_current_screen() function is already available.', 'wp-multisite-waas'), '2.0.0');
return;
}
@@ -1206,9 +1206,9 @@ abstract class Base_Element {
if ($should_display) {
// translators: %1$s is the URL to the customize modal. %2$s is the URL of the shortcode generation modal
- $message = __('Customize this element, or generate a shortcode to use it on the front-end!', 'wp-ultimo');
+ $message = __('Customize this element, or generate a shortcode to use it on the front-end!', 'wp-multisite-waas');
- $message .= wu_tooltip(__('You are seeing this because you are a super admin', 'wp-ultimo'));
+ $message .= wu_tooltip(__('You are seeing this because you are a super admin', 'wp-multisite-waas'));
$link_shortcode = wu_get_form_url("shortcode_{$this->id}");
$link_customize = wu_get_form_url("customize_{$this->id}");
diff --git a/inc/ui/class-billing-info-element.php b/inc/ui/class-billing-info-element.php
index 57bf74b..7ef494d 100644
--- a/inc/ui/class-billing-info-element.php
+++ b/inc/ui/class-billing-info-element.php
@@ -114,14 +114,14 @@ class Billing_Info_Element extends Base_Element {
*
* This is used on the Blocks list of Gutenberg.
* You should return a string with the localized title.
- * e.g. return __('My Element', 'wp-ultimo').
+ * e.g. return __('My Element', 'wp-multisite-waas').
*
* @since 2.0.0
* @return string
*/
public function get_title() {
- return __('Billing Information', 'wp-ultimo');
+ return __('Billing Information', 'wp-multisite-waas');
}
/**
@@ -130,14 +130,14 @@ class Billing_Info_Element extends Base_Element {
* This is also used on the Gutenberg block list
* to explain what this block is about.
* You should return a string with the localized title.
- * e.g. return __('Adds a checkout form to the page', 'wp-ultimo').
+ * e.g. return __('Adds a checkout form to the page', 'wp-multisite-waas').
*
* @since 2.0.0
* @return string
*/
public function get_description() {
- return __('Adds a checkout form block to the page.', 'wp-ultimo');
+ return __('Adds a checkout form block to the page.', 'wp-multisite-waas');
}
/**
@@ -162,16 +162,16 @@ class Billing_Info_Element extends Base_Element {
$fields = [];
$fields['header'] = [
- 'title' => __('General', 'wp-ultimo'),
- 'desc' => __('General', 'wp-ultimo'),
+ 'title' => __('General', 'wp-multisite-waas'),
+ 'desc' => __('General', 'wp-multisite-waas'),
'type' => 'header',
];
$fields['title'] = [
'type' => 'text',
- 'title' => __('Title', 'wp-ultimo'),
- 'value' => __('Billing Address', 'wp-ultimo'),
- 'desc' => __('Leave blank to hide the title completely.', 'wp-ultimo'),
+ 'title' => __('Title', 'wp-multisite-waas'),
+ 'value' => __('Billing Address', 'wp-multisite-waas'),
+ 'desc' => __('Leave blank to hide the title completely.', 'wp-multisite-waas'),
'tooltip' => '',
];
@@ -223,7 +223,7 @@ class Billing_Info_Element extends Base_Element {
public function defaults() {
return [
- 'title' => __('Billing Address', 'wp-ultimo'),
+ 'title' => __('Billing Address', 'wp-multisite-waas'),
];
}
@@ -325,8 +325,8 @@ class Billing_Info_Element extends Base_Element {
$fields['billing-title'] = [
'type' => 'header',
'order' => 1,
- 'title' => __('Your Address', 'wp-ultimo'),
- 'desc' => __('Enter your billing address here. This info will be used on your invoices.', 'wp-ultimo'),
+ 'title' => __('Your Address', 'wp-multisite-waas'),
+ 'desc' => __('Enter your billing address here. This info will be used on your invoices.', 'wp-multisite-waas'),
'wrapper_classes' => 'wu-col-span-2',
];
@@ -336,7 +336,7 @@ class Billing_Info_Element extends Base_Element {
$fields['submit'] = [
'type' => 'submit',
- 'title' => __('Save Changes', 'wp-ultimo'),
+ 'title' => __('Save Changes', 'wp-multisite-waas'),
'value' => 'save',
'classes' => 'button button-primary wu-w-full',
'wrapper_classes' => 'wu-col-span-2',
@@ -375,7 +375,7 @@ class Billing_Info_Element extends Base_Element {
$membership = wu_get_membership_by_hash(wu_request('membership'));
if ( ! $membership) {
- $error = new \WP_Error('membership-dont-exist', __('Something went wrong.', 'wp-ultimo'));
+ $error = new \WP_Error('membership-dont-exist', __('Something went wrong.', 'wp-multisite-waas'));
wp_send_json_error($error);
}
diff --git a/inc/ui/class-checkout-element.php b/inc/ui/class-checkout-element.php
index 67a2f65..e34c5be 100644
--- a/inc/ui/class-checkout-element.php
+++ b/inc/ui/class-checkout-element.php
@@ -101,14 +101,14 @@ class Checkout_Element extends Base_Element {
*
* This is used on the Blocks list of Gutenberg.
* You should return a string with the localized title.
- * e.g. return __('My Element', 'wp-ultimo').
+ * e.g. return __('My Element', 'wp-multisite-waas').
*
* @since 2.0.0
* @return string
*/
public function get_title() {
- return __('Checkout', 'wp-ultimo');
+ return __('Checkout', 'wp-multisite-waas');
}
/**
@@ -117,14 +117,14 @@ class Checkout_Element extends Base_Element {
* This is also used on the Gutenberg block list
* to explain what this block is about.
* You should return a string with the localized title.
- * e.g. return __('Adds a checkout form to the page', 'wp-ultimo').
+ * e.g. return __('Adds a checkout form to the page', 'wp-multisite-waas').
*
* @since 2.0.0
* @return string
*/
public function get_description() {
- return __('Adds a checkout form block to the page.', 'wp-ultimo');
+ return __('Adds a checkout form block to the page.', 'wp-multisite-waas');
}
/**
@@ -149,14 +149,14 @@ class Checkout_Element extends Base_Element {
$fields = [];
$fields['header'] = [
- 'title' => __('General', 'wp-ultimo'),
- 'desc' => __('General', 'wp-ultimo'),
+ 'title' => __('General', 'wp-multisite-waas'),
+ 'desc' => __('General', 'wp-multisite-waas'),
'type' => 'header',
];
$fields['slug'] = [
- 'title' => __('Slug', 'wp-ultimo'),
- 'desc' => __('The checkout form slug.', 'wp-ultimo'),
+ 'title' => __('Slug', 'wp-multisite-waas'),
+ 'desc' => __('The checkout form slug.', 'wp-multisite-waas'),
'type' => 'text',
];
@@ -336,7 +336,7 @@ class Checkout_Element extends Base_Element {
*/
// Translators: Placeholder receives the customer display name
- $message = sprintf(__('Hi %s. You have a pending payment for your membership!', 'wp-ultimo'), $customer->get_display_name());
+ $message = sprintf(__('Hi %s. You have a pending payment for your membership!', 'wp-multisite-waas'), $customer->get_display_name());
$payment_url = add_query_arg(
[
@@ -346,7 +346,7 @@ class Checkout_Element extends Base_Element {
);
// Translators: The link to registration url with payment hash
- $message .= ' ' . sprintf(__('Click here to pay.', 'wp-ultimo'), $payment_url);
+ $message .= ' ' . sprintf(__('Click here to pay.', 'wp-multisite-waas'), $payment_url);
$message = '
' . $message . '
';
@@ -367,7 +367,7 @@ class Checkout_Element extends Base_Element {
if ( ! $membership->is_active() && $membership->get_status() !== Membership_Status::TRIALING && in_array($atts['slug'], $membership_blocked_forms, true)) {
// Translators: Placeholder receives the customer display name
- $message = sprintf(__('Hi %s. You cannot take action on your membership while it is not active!', 'wp-ultimo'), $customer->get_display_name());
+ $message = sprintf(__('Hi %s. You cannot take action on your membership while it is not active!', 'wp-multisite-waas'), $customer->get_display_name());
if ($membership->get_status() === Membership_Status::PENDING && $customer->get_email_verification() === 'pending') {
/**
@@ -383,17 +383,17 @@ class Checkout_Element extends Base_Element {
'resend_verification_email_nonce' => wp_create_nonce('wu_resend_verification_email_nonce'),
'membership_hash' => $membership->get_hash(),
'i18n' => [
- 'resending_verification_email' => __('Resending verification email...', 'wp-ultimo'),
- 'email_sent' => __('Verification email sent!', 'wp-ultimo'),
+ 'resending_verification_email' => __('Resending verification email...', 'wp-multisite-waas'),
+ 'email_sent' => __('Verification email sent!', 'wp-multisite-waas'),
],
]
);
wp_enqueue_script('wu-thank-you');
- $message .= '
' . __('Check your inbox and verify your email address.', 'wp-ultimo') . '
';
+ $message .= '
' . __('Check your inbox and verify your email address.', 'wp-multisite-waas') . '
', __('You already have a membership!', 'wp-ultimo'));
+ $message = sprintf('
%s
', __('You already have a membership!', 'wp-multisite-waas'));
if (isset($published_sites[0])) {
$account_link = get_admin_url($published_sites[0]->get_id(), 'admin.php?page=account');
- $button_text = __('Go to my account', 'wp-ultimo');
+ $button_text = __('Go to my account', 'wp-multisite-waas');
$message .= "
', __('You are not allowed to change this membership!', 'wp-ultimo'));
+ $message = sprintf('
%s
', __('You are not allowed to change this membership!', 'wp-multisite-waas'));
/**
* Allow developers to change the message if customer is not part of the membership
@@ -482,13 +482,13 @@ class Checkout_Element extends Base_Element {
if ($used_limit >= $limit_max) {
// Translators: Placeholder receives the limit name
- $message = '
';
$message .= '';
if (wu_multiple_memberships_enabled()) {
$register_page = wu_get_registration_url();
- $button_text = __('Buy a new membership', 'wp-ultimo');
+ $button_text = __('Buy a new membership', 'wp-multisite-waas');
$message .= "$button_text";
}
@@ -514,7 +514,7 @@ class Checkout_Element extends Base_Element {
}
if ( ! empty($update_link)) {
- $button_text = __('Upgrade your account', 'wp-ultimo');
+ $button_text = __('Upgrade your account', 'wp-multisite-waas');
$message .= "$button_text";
}
@@ -538,12 +538,12 @@ class Checkout_Element extends Base_Element {
}
} elseif ( ! $customer && 'wu-finish-checkout' === $slug) {
if (is_user_logged_in()) {
- $message = __('You need to be the account owner to complete this payment.', 'wp-ultimo');
+ $message = __('You need to be the account owner to complete this payment.', 'wp-multisite-waas');
} else {
- $message = __('You need to be logged in to complete a payment', 'wp-ultimo');
+ $message = __('You need to be logged in to complete a payment', 'wp-multisite-waas');
// Translators: The link to login url with redirect_to url
- $message .= ' ' . sprintf(__('Click here sign in.', 'wp-ultimo'), wp_login_url(wu_get_current_url()));
+ $message .= ' ' . sprintf(__('Click here sign in.', 'wp-multisite-waas'), wp_login_url(wu_get_current_url()));
}
$message = '
' . $message . '
';
@@ -561,24 +561,24 @@ class Checkout_Element extends Base_Element {
if ( ! $checkout_form) {
// translators: %s is the id of the form. e.g. main-form
- return sprintf(__('Checkout form %s not found.', 'wp-ultimo'), $slug);
+ return sprintf(__('Checkout form %s not found.', 'wp-multisite-waas'), $slug);
}
if ($checkout_form->get_field_count() === 0) {
// translators: %s is the id of the form. e.g. main-form
- return sprintf(__('Checkout form %s contains no fields.', 'wp-ultimo'), $slug);
+ return sprintf(__('Checkout form %s contains no fields.', 'wp-multisite-waas'), $slug);
}
if ( ! $checkout_form->is_active() || ! wu_get_setting('enable_registration', true)) {
- return sprintf('
%s
', __('Registration is not available at this time.', 'wp-ultimo'));
+ return sprintf('
%s
', __('Registration is not available at this time.', 'wp-multisite-waas'));
}
if ($checkout_form->has_country_lock()) {
$geolocation = \WP_Ultimo\Geolocation::geolocate_ip('', true);
if ( ! in_array($geolocation['country'], $checkout_form->get_allowed_countries(), true)) {
- return sprintf('
%s
', __('Registration is closed for your location.', 'wp-ultimo'));
+ return sprintf('
%s
', __('Registration is closed for your location.', 'wp-multisite-waas'));
}
}
diff --git a/inc/ui/class-current-membership-element.php b/inc/ui/class-current-membership-element.php
index ef149ca..79496b2 100644
--- a/inc/ui/class-current-membership-element.php
+++ b/inc/ui/class-current-membership-element.php
@@ -123,14 +123,14 @@ class Current_Membership_Element extends Base_Element {
*
* This is used on the Blocks list of Gutenberg.
* You should return a string with the localized title.
- * e.g. return __('My Element', 'wp-ultimo').
+ * e.g. return __('My Element', 'wp-multisite-waas').
*
* @since 2.0.0
* @return string
*/
public function get_title() {
- return __('Membership', 'wp-ultimo');
+ return __('Membership', 'wp-multisite-waas');
}
/**
@@ -139,14 +139,14 @@ class Current_Membership_Element extends Base_Element {
* This is also used on the Gutenberg block list
* to explain what this block is about.
* You should return a string with the localized title.
- * e.g. return __('Adds a checkout form to the page', 'wp-ultimo').
+ * e.g. return __('Adds a checkout form to the page', 'wp-multisite-waas').
*
* @since 2.0.0
* @return string
*/
public function get_description() {
- return __('Adds a checkout form block to the page.', 'wp-ultimo');
+ return __('Adds a checkout form block to the page.', 'wp-multisite-waas');
}
/**
@@ -171,31 +171,31 @@ class Current_Membership_Element extends Base_Element {
$fields = [];
$fields['header'] = [
- 'title' => __('General', 'wp-ultimo'),
- 'desc' => __('General', 'wp-ultimo'),
+ 'title' => __('General', 'wp-multisite-waas'),
+ 'desc' => __('General', 'wp-multisite-waas'),
'type' => 'header',
];
$fields['title'] = [
'type' => 'text',
- 'title' => __('Title', 'wp-ultimo'),
- 'value' => __('Your Membership', 'wp-ultimo'),
- 'desc' => __('Leave blank to hide the title completely.', 'wp-ultimo'),
+ 'title' => __('Title', 'wp-multisite-waas'),
+ 'value' => __('Your Membership', 'wp-multisite-waas'),
+ 'desc' => __('Leave blank to hide the title completely.', 'wp-multisite-waas'),
'tooltip' => '',
];
$fields['display_images'] = [
'type' => 'toggle',
- 'title' => __('Display Product Images?', 'wp-ultimo'),
- 'desc' => __('Toggle to show/hide the product images on the element.', 'wp-ultimo'),
+ 'title' => __('Display Product Images?', 'wp-multisite-waas'),
+ 'desc' => __('Toggle to show/hide the product images on the element.', 'wp-multisite-waas'),
'tooltip' => '',
'value' => 1,
];
$fields['columns'] = [
'type' => 'number',
- 'title' => __('Columns', 'wp-ultimo'),
- 'desc' => __('How many columns to use.', 'wp-ultimo'),
+ 'title' => __('Columns', 'wp-multisite-waas'),
+ 'desc' => __('How many columns to use.', 'wp-multisite-waas'),
'tooltip' => '',
'value' => 2,
'min' => 1,
@@ -250,7 +250,7 @@ class Current_Membership_Element extends Base_Element {
public function defaults() {
return [
- 'title' => __('Your Membership', 'wp-ultimo'),
+ 'title' => __('Your Membership', 'wp-multisite-waas'),
'display_images' => 1,
'columns' => 2,
];
@@ -370,19 +370,19 @@ class Current_Membership_Element extends Base_Element {
$error = '';
if ( ! $membership) {
- $error = __('Membership not selected.', 'wp-ultimo');
+ $error = __('Membership not selected.', 'wp-multisite-waas');
}
$product = wu_get_product_by_slug(wu_request('product'));
if ( ! $product) {
- $error = __('Product not selected.', 'wp-ultimo');
+ $error = __('Product not selected.', 'wp-multisite-waas');
}
$customer = wu_get_current_customer();
if (empty($error) && ! is_super_admin() && (! $customer || $customer->get_id() !== $membership->get_customer_id())) {
- $error = __('You are not allowed to do this.', 'wp-ultimo');
+ $error = __('You are not allowed to do this.', 'wp-multisite-waas');
}
if ( ! empty($error)) {
@@ -439,7 +439,7 @@ class Current_Membership_Element extends Base_Element {
],
'quantity' => [
'type' => 'number',
- 'title' => __('Quantity to Cancel', 'wp-ultimo'),
+ 'title' => __('Quantity to Cancel', 'wp-multisite-waas'),
'value' => 1,
'placeholder' => 1,
'wrapper_classes' => 'wu-w-1/2',
@@ -455,8 +455,8 @@ class Current_Membership_Element extends Base_Element {
],
'confirm' => [
'type' => 'toggle',
- 'title' => __('Confirm Product Cancellation', 'wp-ultimo'),
- 'desc' => __('This action can not be undone.', 'wp-ultimo'),
+ 'title' => __('Confirm Product Cancellation', 'wp-multisite-waas'),
+ 'desc' => __('This action can not be undone.', 'wp-multisite-waas'),
'html_attr' => [
'v-model' => 'confirmed',
],
@@ -468,8 +468,8 @@ class Current_Membership_Element extends Base_Element {
],
'submit_button' => [
'type' => 'submit',
- 'title' => __('Cancel Product Subscription', 'wp-ultimo'),
- 'placeholder' => __('Cancel Product Subscription', 'wp-ultimo'),
+ 'title' => __('Cancel Product Subscription', 'wp-multisite-waas'),
+ 'placeholder' => __('Cancel Product Subscription', 'wp-multisite-waas'),
'value' => 'save',
'classes' => 'wu-w-full button button-primary',
'wrapper_classes' => 'wu-items-end',
@@ -513,7 +513,7 @@ class Current_Membership_Element extends Base_Element {
public function handle_edit_membership_product_modal(): void {
if ( ! wu_request('confirm')) {
- $error = new \WP_Error('not-confirmed', __('Please confirm the cancellation.', 'wp-ultimo'));
+ $error = new \WP_Error('not-confirmed', __('Please confirm the cancellation.', 'wp-multisite-waas'));
wp_send_json_error($error);
}
@@ -521,7 +521,7 @@ class Current_Membership_Element extends Base_Element {
$membership = wu_get_membership_by_hash(wu_request('membership'));
if ( ! $membership) {
- $error = new \WP_Error('membership-not-found', __('Membership not found.', 'wp-ultimo'));
+ $error = new \WP_Error('membership-not-found', __('Membership not found.', 'wp-multisite-waas'));
wp_send_json_error($error);
}
@@ -529,7 +529,7 @@ class Current_Membership_Element extends Base_Element {
$product = wu_get_product_by_slug(wu_request('product'));
if ( ! $product) {
- $error = new \WP_Error('product-not-found', __('Product not found.', 'wp-ultimo'));
+ $error = new \WP_Error('product-not-found', __('Product not found.', 'wp-multisite-waas'));
wp_send_json_error($error);
}
@@ -537,7 +537,7 @@ class Current_Membership_Element extends Base_Element {
$customer = wu_get_current_customer();
if ( ! is_super_admin() && (! $customer || $customer->get_id() !== $membership->get_customer_id())) {
- $error = __('You are not allowed to do this.', 'wp-ultimo');
+ $error = __('You are not allowed to do this.', 'wp-multisite-waas');
wp_send_json_error($error);
}
@@ -587,7 +587,7 @@ class Current_Membership_Element extends Base_Element {
$removed_quantity = $quantity + $existing_difference;
// translators: %1$s is the quantity removed, %2$s is the product name.
- $description = sprintf(__('remove %1$s %2$s from membership', 'wp-ultimo'), $removed_quantity, $product->get_name());
+ $description = sprintf(__('remove %1$s %2$s from membership', 'wp-multisite-waas'), $removed_quantity, $product->get_name());
$cart->set_cart_descriptor($description);
diff --git a/inc/ui/class-current-site-element.php b/inc/ui/class-current-site-element.php
index 6bdf708..e043f44 100644
--- a/inc/ui/class-current-site-element.php
+++ b/inc/ui/class-current-site-element.php
@@ -103,14 +103,14 @@ class Current_Site_Element extends Base_Element {
*
* This is used on the Blocks list of Gutenberg.
* You should return a string with the localized title.
- * e.g. return __('My Element', 'wp-ultimo').
+ * e.g. return __('My Element', 'wp-multisite-waas').
*
* @since 2.0.0
* @return string
*/
public function get_title() {
- return __('Site', 'wp-ultimo');
+ return __('Site', 'wp-multisite-waas');
}
/**
@@ -119,14 +119,14 @@ class Current_Site_Element extends Base_Element {
* This is also used on the Gutenberg block list
* to explain what this block is about.
* You should return a string with the localized title.
- * e.g. return __('Adds a checkout form to the page', 'wp-ultimo').
+ * e.g. return __('Adds a checkout form to the page', 'wp-multisite-waas').
*
* @since 2.0.0
* @return string
*/
public function get_description() {
- return __('Adds a block to display the current site being managed.', 'wp-ultimo');
+ return __('Adds a block to display the current site being managed.', 'wp-multisite-waas');
}
/**
@@ -151,15 +151,15 @@ class Current_Site_Element extends Base_Element {
$fields = [];
$fields['header'] = [
- 'title' => __('General', 'wp-ultimo'),
- 'desc' => __('General', 'wp-ultimo'),
+ 'title' => __('General', 'wp-multisite-waas'),
+ 'desc' => __('General', 'wp-multisite-waas'),
'type' => 'header',
];
$fields['display_breadcrumbs'] = [
'type' => 'toggle',
- 'title' => __('Display Breadcrumbs?', 'wp-ultimo'),
- 'desc' => __('Toggle to show/hide the breadcrumbs block.', 'wp-ultimo'),
+ 'title' => __('Display Breadcrumbs?', 'wp-multisite-waas'),
+ 'desc' => __('Toggle to show/hide the breadcrumbs block.', 'wp-multisite-waas'),
'tooltip' => '',
'value' => 1,
];
@@ -172,7 +172,7 @@ class Current_Site_Element extends Base_Element {
$pages = $pages ?: [];
- $pages_list = [0 => __('Current Page', 'wp-ultimo')];
+ $pages_list = [0 => __('Current Page', 'wp-multisite-waas')];
foreach ($pages as $page) {
$pages_list[ $page->ID ] = $page->post_title;
@@ -180,31 +180,31 @@ class Current_Site_Element extends Base_Element {
$fields['breadcrumbs_my_sites_page'] = [
'type' => 'select',
- 'title' => __('My Sites Page', 'wp-ultimo'),
+ 'title' => __('My Sites Page', 'wp-multisite-waas'),
'value' => 0,
- 'desc' => __('The page with the customer sites list.', 'wp-ultimo'),
+ 'desc' => __('The page with the customer sites list.', 'wp-multisite-waas'),
'options' => $pages_list,
];
$fields['display_description'] = [
'type' => 'toggle',
- 'title' => __('Display Site Description?', 'wp-ultimo'),
- 'desc' => __('Toggle to show/hide the site description on the element.', 'wp-ultimo'),
+ 'title' => __('Display Site Description?', 'wp-multisite-waas'),
+ 'desc' => __('Toggle to show/hide the site description on the element.', 'wp-multisite-waas'),
'tooltip' => '',
'value' => 0,
];
$fields['display_image'] = [
'type' => 'toggle',
- 'title' => __('Display Site Screenshot?', 'wp-ultimo'),
- 'desc' => __('Toggle to show/hide the site screenshots on the element.', 'wp-ultimo'),
+ 'title' => __('Display Site Screenshot?', 'wp-multisite-waas'),
+ 'desc' => __('Toggle to show/hide the site screenshots on the element.', 'wp-multisite-waas'),
'tooltip' => '',
'value' => 1,
];
$fields['screenshot_size'] = [
'type' => 'number',
- 'title' => __('Screenshot Size', 'wp-ultimo'),
+ 'title' => __('Screenshot Size', 'wp-multisite-waas'),
'desc' => '',
'tooltip' => '',
'value' => 200,
@@ -217,10 +217,10 @@ class Current_Site_Element extends Base_Element {
$fields['screenshot_position'] = [
'type' => 'select',
- 'title' => __('Screenshot Position', 'wp-ultimo'),
+ 'title' => __('Screenshot Position', 'wp-multisite-waas'),
'options' => [
- 'right' => __('Right', 'wp-ultimo'),
- 'left' => __('Left', 'wp-ultimo'),
+ 'right' => __('Right', 'wp-multisite-waas'),
+ 'left' => __('Left', 'wp-multisite-waas'),
],
'desc' => '',
'tooltip' => '',
@@ -232,8 +232,8 @@ class Current_Site_Element extends Base_Element {
$fields['show_admin_link'] = [
'type' => 'toggle',
- 'title' => __('Show Admin Link?', 'wp-ultimo'),
- 'desc' => __('Toggle to show/hide the WP admin link on the element.', 'wp-ultimo'),
+ 'title' => __('Show Admin Link?', 'wp-multisite-waas'),
+ 'desc' => __('Toggle to show/hide the WP admin link on the element.', 'wp-multisite-waas'),
'tooltip' => '',
'value' => 1,
];
@@ -356,13 +356,13 @@ class Current_Site_Element extends Base_Element {
$actions = [
'visit_site' => [
- 'label' => __('Visit Site', 'wp-ultimo'),
+ 'label' => __('Visit Site', 'wp-multisite-waas'),
'icon_classes' => 'dashicons-wu-browser wu-align-text-bottom',
'classes' => '',
'href' => $this->site->get_active_site_url(),
],
'edit_site' => [
- 'label' => __('Edit Site', 'wp-ultimo'),
+ 'label' => __('Edit Site', 'wp-multisite-waas'),
'icon_classes' => 'dashicons-wu-edit wu-align-text-bottom',
'classes' => 'wubox',
'href' => wu_get_form_url(
@@ -376,7 +376,7 @@ class Current_Site_Element extends Base_Element {
if ($atts['show_admin_link']) {
$actions['site_admin'] = [
- 'label' => __('Admin Panel', 'wp-ultimo'),
+ 'label' => __('Admin Panel', 'wp-multisite-waas'),
'icon_classes' => 'dashicons-wu-grid wu-align-text-bottom',
'classes' => '',
'href' => get_admin_url($this->site->get_id()),
@@ -413,8 +413,8 @@ class Current_Site_Element extends Base_Element {
$fields = [
'site_title' => [
'type' => 'text',
- 'title' => __('Site Title', 'wp-ultimo'),
- 'placeholder' => __('e.g. My Awesome Site', 'wp-ultimo'),
+ 'title' => __('Site Title', 'wp-multisite-waas'),
+ 'placeholder' => __('e.g. My Awesome Site', 'wp-multisite-waas'),
'value' => $site->get_title(),
'html_attr' => [
'v-model' => 'site_title',
@@ -422,8 +422,8 @@ class Current_Site_Element extends Base_Element {
],
'site_description' => [
'type' => 'textarea',
- 'title' => __('Site Description', 'wp-ultimo'),
- 'placeholder' => __('e.g. My Awesome Site description.', 'wp-ultimo'),
+ 'title' => __('Site Description', 'wp-multisite-waas'),
+ 'placeholder' => __('e.g. My Awesome Site description.', 'wp-multisite-waas'),
'value' => $site->get_description(),
'html_attr' => [
'rows' => 5,
@@ -435,7 +435,7 @@ class Current_Site_Element extends Base_Element {
],
'submit_button' => [
'type' => 'submit',
- 'title' => __('Save Changes', 'wp-ultimo'),
+ 'title' => __('Save Changes', 'wp-multisite-waas'),
'value' => 'save',
'classes' => 'button button-primary wu-w-full',
'wrapper_classes' => 'wu-items-end',
@@ -479,7 +479,7 @@ class Current_Site_Element extends Base_Element {
$site = wu_get_site_by_hash(wu_request('site'));
if ( ! $site) {
- $error = new \WP_Error('site-dont-exist', __('Something went wrong.', 'wp-ultimo'));
+ $error = new \WP_Error('site-dont-exist', __('Something went wrong.', 'wp-multisite-waas'));
wp_send_json_error($error);
}
@@ -487,7 +487,7 @@ class Current_Site_Element extends Base_Element {
$new_title = wu_request('site_title');
if ( ! $new_title) {
- $error = new \WP_Error('title_empty', __('Site title can not be empty.', 'wp-ultimo'));
+ $error = new \WP_Error('title_empty', __('Site title can not be empty.', 'wp-multisite-waas'));
wp_send_json_error($error);
}
diff --git a/inc/ui/class-domain-mapping-element.php b/inc/ui/class-domain-mapping-element.php
index d1c8258..42b2650 100644
--- a/inc/ui/class-domain-mapping-element.php
+++ b/inc/ui/class-domain-mapping-element.php
@@ -87,14 +87,14 @@ class Domain_Mapping_Element extends Base_Element {
*
* This is used on the Blocks list of Gutenberg.
* You should return a string with the localized title.
- * e.g. return __('My Element', 'wp-ultimo').
+ * e.g. return __('My Element', 'wp-multisite-waas').
*
* @since 2.0.0
* @return string
*/
public function get_title() {
- return __('Domains', 'wp-ultimo');
+ return __('Domains', 'wp-multisite-waas');
}
/**
@@ -103,14 +103,14 @@ class Domain_Mapping_Element extends Base_Element {
* This is also used on the Gutenberg block list
* to explain what this block is about.
* You should return a string with the localized title.
- * e.g. return __('Adds a checkout form to the page', 'wp-ultimo').
+ * e.g. return __('Adds a checkout form to the page', 'wp-multisite-waas').
*
* @since 2.0.0
* @return string
*/
public function get_description() {
- return __('Adds the site\'s domains block.', 'wp-ultimo');
+ return __('Adds the site\'s domains block.', 'wp-multisite-waas');
}
/**
@@ -135,16 +135,16 @@ class Domain_Mapping_Element extends Base_Element {
$fields = [];
$fields['header'] = [
- 'title' => __('General', 'wp-ultimo'),
- 'desc' => __('General', 'wp-ultimo'),
+ 'title' => __('General', 'wp-multisite-waas'),
+ 'desc' => __('General', 'wp-multisite-waas'),
'type' => 'header',
];
$fields['title'] = [
'type' => 'text',
- 'title' => __('Title', 'wp-ultimo'),
- 'value' => __('Domains', 'wp-ultimo'),
- 'desc' => __('Leave blank to hide the title completely.', 'wp-ultimo'),
+ 'title' => __('Title', 'wp-multisite-waas'),
+ 'value' => __('Domains', 'wp-multisite-waas'),
+ 'desc' => __('Leave blank to hide the title completely.', 'wp-multisite-waas'),
'tooltip' => '',
];
@@ -194,7 +194,7 @@ class Domain_Mapping_Element extends Base_Element {
public function defaults() {
return [
- 'title' => __('Domains', 'wp-ultimo'),
+ 'title' => __('Domains', 'wp-multisite-waas'),
];
}
@@ -291,7 +291,7 @@ class Domain_Mapping_Element extends Base_Element {
$fields = [
'instructions_note' => [
'type' => 'note',
- 'desc' => sprintf('%s', __('← Back to the Instructions', 'wp-ultimo')),
+ 'desc' => sprintf('%s', __('← Back to the Instructions', 'wp-multisite-waas')),
'wrapper_html_attr' => [
'v-if' => 'ready',
'v-cloak' => '1',
@@ -300,7 +300,7 @@ class Domain_Mapping_Element extends Base_Element {
'instructions' => [
'type' => 'text-display',
'copy' => false,
- 'title' => __('Instructions', 'wp-ultimo'),
+ 'title' => __('Instructions', 'wp-multisite-waas'),
'tooltip' => '',
'display_value' => sprintf('
%s
', wpautop($instructions)),
'wrapper_html_attr' => [
@@ -310,7 +310,7 @@ class Domain_Mapping_Element extends Base_Element {
],
'ready' => [
'type' => 'submit',
- 'title' => __('Next Step →', 'wp-ultimo'),
+ 'title' => __('Next Step →', 'wp-multisite-waas'),
'value' => 'save',
'classes' => 'button button-primary wu-w-full',
'wrapper_classes' => 'wu-items-end',
@@ -328,8 +328,8 @@ class Domain_Mapping_Element extends Base_Element {
],
'domain' => [
'type' => 'text',
- 'title' => __('Domain', 'wp-ultimo'),
- 'placeholder' => __('mydomain.com', 'wp-ultimo'),
+ 'title' => __('Domain', 'wp-multisite-waas'),
+ 'placeholder' => __('mydomain.com', 'wp-multisite-waas'),
'wrapper_html_attr' => [
'v-show' => 'ready',
'v-cloak' => 1,
@@ -337,8 +337,8 @@ class Domain_Mapping_Element extends Base_Element {
],
'primary_domain' => [
'type' => 'toggle',
- 'title' => __('Primary Domain', 'wp-ultimo'),
- 'desc' => __('Check to set this domain as the primary', 'wp-ultimo'),
+ 'title' => __('Primary Domain', 'wp-multisite-waas'),
+ 'desc' => __('Check to set this domain as the primary', 'wp-multisite-waas'),
'html_attr' => [
'v-model' => 'primary_domain',
],
@@ -349,7 +349,7 @@ class Domain_Mapping_Element extends Base_Element {
],
'primary_note' => [
'type' => 'note',
- 'desc' => __('By making this the primary domain, we will convert the previous primary domain for this site, if one exists, into an alias domain.', 'wp-ultimo'),
+ 'desc' => __('By making this the primary domain, we will convert the previous primary domain for this site, if one exists, into an alias domain.', 'wp-multisite-waas'),
'wrapper_html_attr' => [
'v-if' => "require('primary_domain', true) && ready",
'v-cloak' => 1,
@@ -357,7 +357,7 @@ class Domain_Mapping_Element extends Base_Element {
],
'submit_button_new' => [
'type' => 'submit',
- 'title' => __('Add Domain', 'wp-ultimo'),
+ 'title' => __('Add Domain', 'wp-multisite-waas'),
'value' => 'save',
'classes' => 'button button-primary wu-w-full',
'wrapper_classes' => 'wu-items-end',
@@ -406,7 +406,7 @@ class Domain_Mapping_Element extends Base_Element {
if ( ! is_super_admin() && (! $current_site || $current_site->get_customer()->get_user_id() !== $current_user_id)) {
wp_send_json_error(
- new \WP_Error('no-permissions', __('You do not have permissions to perform this action.', 'wp-ultimo'))
+ new \WP_Error('no-permissions', __('You do not have permissions to perform this action.', 'wp-multisite-waas'))
);
exit;
@@ -470,8 +470,8 @@ class Domain_Mapping_Element extends Base_Element {
$fields = [
'confirm' => [
'type' => 'toggle',
- 'title' => __('Confirm Deletion', 'wp-ultimo'),
- 'desc' => __('This action can not be undone.', 'wp-ultimo'),
+ 'title' => __('Confirm Deletion', 'wp-multisite-waas'),
+ 'desc' => __('This action can not be undone.', 'wp-multisite-waas'),
'html_attr' => [
'v-model' => 'confirmed',
],
@@ -482,8 +482,8 @@ class Domain_Mapping_Element extends Base_Element {
],
'submit_button' => [
'type' => 'submit',
- 'title' => __('Delete', 'wp-ultimo'),
- 'placeholder' => __('Delete', 'wp-ultimo'),
+ 'title' => __('Delete', 'wp-multisite-waas'),
+ 'placeholder' => __('Delete', 'wp-multisite-waas'),
'value' => 'save',
'classes' => 'button button-primary wu-w-full',
'wrapper_classes' => 'wu-items-end',
@@ -554,8 +554,8 @@ class Domain_Mapping_Element extends Base_Element {
$fields = [
'confirm' => [
'type' => 'toggle',
- 'title' => __('Confirm Action', 'wp-ultimo'),
- 'desc' => __('This action will also convert the previous primary domain (if any) to an alias to prevent unexpected behavior.', 'wp-ultimo'),
+ 'title' => __('Confirm Action', 'wp-multisite-waas'),
+ 'desc' => __('This action will also convert the previous primary domain (if any) to an alias to prevent unexpected behavior.', 'wp-multisite-waas'),
'html_attr' => [
'v-model' => 'confirmed',
],
@@ -566,8 +566,8 @@ class Domain_Mapping_Element extends Base_Element {
],
'submit_button' => [
'type' => 'submit',
- 'title' => __('Make it Primary', 'wp-ultimo'),
- 'placeholder' => __('Make it Primary', 'wp-ultimo'),
+ 'title' => __('Make it Primary', 'wp-multisite-waas'),
+ 'placeholder' => __('Make it Primary', 'wp-multisite-waas'),
'value' => 'save',
'classes' => 'button button-primary wu-w-full',
'wrapper_classes' => 'wu-items-end',
@@ -642,7 +642,7 @@ class Domain_Mapping_Element extends Base_Element {
);
}
- wp_send_json_error(new \WP_Error('error', __('Something wrong happenned.', 'wp-ultimo')));
+ wp_send_json_error(new \WP_Error('error', __('Something wrong happenned.', 'wp-multisite-waas')));
}
/**
@@ -712,12 +712,12 @@ class Domain_Mapping_Element extends Base_Element {
$secure = 'dashicons-wu-lock-open';
- $secure_message = __('Domain not secured with HTTPS', 'wp-ultimo');
+ $secure_message = __('Domain not secured with HTTPS', 'wp-multisite-waas');
if ($domain->is_secure()) {
$secure = 'dashicons-wu-lock wu-text-green-500';
- $secure_message = __('Domain secured with HTTPS', 'wp-ultimo');
+ $secure_message = __('Domain secured with HTTPS', 'wp-multisite-waas');
}
$url_atts = [
@@ -749,7 +749,7 @@ class Domain_Mapping_Element extends Base_Element {
$other_atts = [
'domains' => $domains,
'modal' => [
- 'label' => __('Add Domain', 'wp-ultimo'),
+ 'label' => __('Add Domain', 'wp-multisite-waas'),
'icon' => 'wu-circle-with-plus',
'classes' => 'wubox',
'url' => wu_get_form_url('user_add_new_domain', $url_atts),
diff --git a/inc/ui/class-invoices-element.php b/inc/ui/class-invoices-element.php
index 060d38b..ce82ef1 100644
--- a/inc/ui/class-invoices-element.php
+++ b/inc/ui/class-invoices-element.php
@@ -76,14 +76,14 @@ class Invoices_Element extends Base_Element {
*
* This is used on the Blocks list of Gutenberg.
* You should return a string with the localized title.
- * e.g. return __('My Element', 'wp-ultimo').
+ * e.g. return __('My Element', 'wp-multisite-waas').
*
* @since 2.0.0
* @return string
*/
public function get_title() {
- return __('Invoices', 'wp-ultimo');
+ return __('Invoices', 'wp-multisite-waas');
}
/**
@@ -92,14 +92,14 @@ class Invoices_Element extends Base_Element {
* This is also used on the Gutenberg block list
* to explain what this block is about.
* You should return a string with the localized title.
- * e.g. return __('Adds a checkout form to the page', 'wp-ultimo').
+ * e.g. return __('Adds a checkout form to the page', 'wp-multisite-waas').
*
* @since 2.0.0
* @return string
*/
public function get_description() {
- return __('Adds a checkout form block to the page.', 'wp-ultimo');
+ return __('Adds a checkout form block to the page.', 'wp-multisite-waas');
}
/**
@@ -124,24 +124,24 @@ class Invoices_Element extends Base_Element {
$fields = [];
$fields['header'] = [
- 'title' => __('General', 'wp-ultimo'),
- 'desc' => __('General', 'wp-ultimo'),
+ 'title' => __('General', 'wp-multisite-waas'),
+ 'desc' => __('General', 'wp-multisite-waas'),
'type' => 'header',
];
$fields['title'] = [
'type' => 'text',
- 'title' => __('Title', 'wp-ultimo'),
- 'value' => __('Invoices', 'wp-ultimo'),
- 'desc' => __('Leave blank to hide the title completely.', 'wp-ultimo'),
+ 'title' => __('Title', 'wp-multisite-waas'),
+ 'value' => __('Invoices', 'wp-multisite-waas'),
+ 'desc' => __('Leave blank to hide the title completely.', 'wp-multisite-waas'),
'tooltip' => '',
];
$fields['limit'] = [
'type' => 'int',
- 'title' => __('Limit', 'wp-ultimo'),
+ 'title' => __('Limit', 'wp-multisite-waas'),
'value' => 10,
- 'desc' => __('Limit the number of invoices to show.', 'wp-ultimo'),
+ 'desc' => __('Limit the number of invoices to show.', 'wp-multisite-waas'),
'tooltip' => '',
];
@@ -193,7 +193,7 @@ class Invoices_Element extends Base_Element {
public function defaults() {
return [
- 'title' => __('Invoices', 'wp-ultimo'),
+ 'title' => __('Invoices', 'wp-multisite-waas'),
'limit' => 0,
];
}
diff --git a/inc/ui/class-jumper.php b/inc/ui/class-jumper.php
index bab134f..0bbced2 100644
--- a/inc/ui/class-jumper.php
+++ b/inc/ui/class-jumper.php
@@ -185,7 +185,7 @@ class Jumper {
$custom_links = $this->get_user_custom_links();
if ( ! empty($custom_links)) {
- $links[ __('Custom Links', 'wp-ultimo') ] = $custom_links;
+ $links[ __('Custom Links', 'wp-multisite-waas') ] = $custom_links;
}
return $links;
@@ -203,27 +203,27 @@ class Jumper {
if (isset($links['WP Ultimo'])) {
$settings_tabs = [
- 'general' => __('General', 'wp-ultimo'),
- 'network' => __('Network Settings', 'wp-ultimo'),
- 'gateways' => __('Payment Gateways', 'wp-ultimo'),
- 'domain_mapping' => __('Domain Mapping & SSL', 'wp-ultimo'),
- 'emails' => __('Emails', 'wp-ultimo'),
- 'styling' => __('Styling', 'wp-ultimo'),
- 'tools' => __('Tools', 'wp-ultimo'),
- 'advanced' => __('Advanced', 'wp-ultimo'),
- 'activation' => __('Activation & Support', 'wp-ultimo'),
+ 'general' => __('General', 'wp-multisite-waas'),
+ 'network' => __('Network Settings', 'wp-multisite-waas'),
+ 'gateways' => __('Payment Gateways', 'wp-multisite-waas'),
+ 'domain_mapping' => __('Domain Mapping & SSL', 'wp-multisite-waas'),
+ 'emails' => __('Emails', 'wp-multisite-waas'),
+ 'styling' => __('Styling', 'wp-multisite-waas'),
+ 'tools' => __('Tools', 'wp-multisite-waas'),
+ 'advanced' => __('Advanced', 'wp-multisite-waas'),
+ 'activation' => __('Activation & Support', 'wp-multisite-waas'),
];
foreach ($settings_tabs as $tab => $tab_label) {
$url = network_admin_url('admin.php?page=wp-ultimo-settings&wu-tab=' . $tab);
// translators: The placeholder represents the title of the Settings tab.
- $links['WP Ultimo'][ $url ] = sprintf(__('Settings: %s', 'wp-ultimo'), $tab_label);
+ $links['WP Ultimo'][ $url ] = sprintf(__('Settings: %s', 'wp-multisite-waas'), $tab_label);
}
- $links['WP Ultimo'][ network_admin_url('admin.php?page=wp-ultimo-settings&wu-tab=tools') ] = __('Settings: Webhooks', 'wp-ultimo');
+ $links['WP Ultimo'][ network_admin_url('admin.php?page=wp-ultimo-settings&wu-tab=tools') ] = __('Settings: Webhooks', 'wp-multisite-waas');
- $links['WP Ultimo'][ network_admin_url('admin.php?page=wp-ultimo-system-info&wu-tab=logs') ] = __('System Info: Logs', 'wp-ultimo');
+ $links['WP Ultimo'][ network_admin_url('admin.php?page=wp-ultimo-system-info&wu-tab=logs') ] = __('System Info: Logs', 'wp-multisite-waas');
/**
* Adds Main Site Dashboard
@@ -231,7 +231,7 @@ class Jumper {
if (isset($links[ __('Sites') ])) {
$main_site_url = get_admin_url(get_current_site()->blog_id);
- $links[ __('Sites') ][ $main_site_url ] = __('Main Site Dashboard', 'wp-ultimo');
+ $links[ __('Sites') ][ $main_site_url ] = __('Main Site Dashboard', 'wp-multisite-waas');
}
}
@@ -298,7 +298,7 @@ class Jumper {
$html = trim($html, '+');
// translators: the %s placeholder is the key combination to trigger the Jumper.
- return '' . sprintf(__('Quick Tip: Use %s to jump between pages.', 'wp-ultimo'), $html) . '' . $text;
+ return '' . sprintf(__('Quick Tip: Use %s to jump between pages.', 'wp-multisite-waas'), $html) . '' . $text;
}
/**
@@ -317,7 +317,7 @@ class Jumper {
'wu-jumper',
'wu_jumper_vars',
[
- 'not_found_message' => __('Nothing found for', 'wp-ultimo'),
+ 'not_found_message' => __('Nothing found for', 'wp-multisite-waas'),
'trigger_key' => $this->get_defined_trigger_key(),
'network_base_url' => network_admin_url(),
'ajaxurl' => wu_ajax_url(),
@@ -406,7 +406,7 @@ class Jumper {
return Logger::track_time(
'jumper',
- __('Regenerating Jumper menu items', 'wp-ultimo'),
+ __('Regenerating Jumper menu items', 'wp-multisite-waas'),
function () {
global $menu, $submenu;
@@ -487,8 +487,8 @@ class Jumper {
wu_register_settings_section(
'tools',
[
- 'title' => __('Tools', 'wp-ultimo'),
- 'desc' => __('Tools', 'wp-ultimo'),
+ 'title' => __('Tools', 'wp-multisite-waas'),
+ 'desc' => __('Tools', 'wp-multisite-waas'),
'icon' => 'dashicons-wu-tools',
]
);
@@ -497,8 +497,8 @@ class Jumper {
'tools',
'tools_header',
[
- 'title' => __('Jumper', 'wp-ultimo'),
- 'desc' => __('Spotlight-like search bar that allows you to easily access everything on your network.', 'wp-ultimo'),
+ 'title' => __('Jumper', 'wp-multisite-waas'),
+ 'desc' => __('Spotlight-like search bar that allows you to easily access everything on your network.', 'wp-multisite-waas'),
'type' => 'header',
]
);
@@ -507,8 +507,8 @@ class Jumper {
'tools',
'enable_jumper',
[
- 'title' => __('Enable Jumper', 'wp-ultimo'),
- 'desc' => __('Turn this option on to make the Jumper available on your network.', 'wp-ultimo'),
+ 'title' => __('Enable Jumper', 'wp-multisite-waas'),
+ 'desc' => __('Turn this option on to make the Jumper available on your network.', 'wp-multisite-waas'),
'type' => 'toggle',
'default' => 1,
]
@@ -518,8 +518,8 @@ class Jumper {
'tools',
'jumper_key',
[
- 'title' => __('Trigger Key', 'wp-ultimo'),
- 'desc' => __('Change the keyboard key used in conjunction with ctrl + alt (or cmd + option), to trigger the Jumper box.', 'wp-ultimo'),
+ 'title' => __('Trigger Key', 'wp-multisite-waas'),
+ 'desc' => __('Change the keyboard key used in conjunction with ctrl + alt (or cmd + option), to trigger the Jumper box.', 'wp-multisite-waas'),
'type' => 'text',
'default' => 'g',
'require' => [
@@ -532,9 +532,9 @@ class Jumper {
'tools',
'jumper_custom_links',
[
- 'title' => __('Custom Links', 'wp-ultimo'),
- 'desc' => __('Use this textarea to add custom links to the Jumper. Add one per line, with the format "Title : url".', 'wp-ultimo'),
- 'placeholder' => __('Tile of Custom Link : http://link.com', 'wp-ultimo'),
+ 'title' => __('Custom Links', 'wp-multisite-waas'),
+ 'desc' => __('Use this textarea to add custom links to the Jumper. Add one per line, with the format "Title : url".', 'wp-multisite-waas'),
+ 'placeholder' => __('Tile of Custom Link : http://link.com', 'wp-multisite-waas'),
'type' => 'textarea',
'html_attr' => [
'rows' => 4,
diff --git a/inc/ui/class-limits-element.php b/inc/ui/class-limits-element.php
index 4d1dd67..c51ff1e 100644
--- a/inc/ui/class-limits-element.php
+++ b/inc/ui/class-limits-element.php
@@ -75,14 +75,14 @@ class Limits_Element extends Base_Element {
*
* This is used on the Blocks list of Gutenberg.
* You should return a string with the localized title.
- * e.g. return __('My Element', 'wp-ultimo').
+ * e.g. return __('My Element', 'wp-multisite-waas').
*
* @since 2.0.0
* @return string
*/
public function get_title() {
- return __('Limits & Quotas', 'wp-ultimo');
+ return __('Limits & Quotas', 'wp-multisite-waas');
}
/**
@@ -91,14 +91,14 @@ class Limits_Element extends Base_Element {
* This is also used on the Gutenberg block list
* to explain what this block is about.
* You should return a string with the localized title.
- * e.g. return __('Adds a checkout form to the page', 'wp-ultimo').
+ * e.g. return __('Adds a checkout form to the page', 'wp-multisite-waas').
*
* @since 2.0.0
* @return string
*/
public function get_description() {
- return __('Adds a checkout form block to the page.', 'wp-ultimo');
+ return __('Adds a checkout form block to the page.', 'wp-multisite-waas');
}
/**
@@ -123,23 +123,23 @@ class Limits_Element extends Base_Element {
$fields = [];
$fields['header'] = [
- 'title' => __('General', 'wp-ultimo'),
- 'desc' => __('General', 'wp-ultimo'),
+ 'title' => __('General', 'wp-multisite-waas'),
+ 'desc' => __('General', 'wp-multisite-waas'),
'type' => 'header',
];
$fields['title'] = [
'type' => 'text',
- 'title' => __('Title', 'wp-ultimo'),
- 'value' => __('Site Limits', 'wp-ultimo'),
- 'desc' => __('Leave blank to hide the title completely.', 'wp-ultimo'),
+ 'title' => __('Title', 'wp-multisite-waas'),
+ 'value' => __('Site Limits', 'wp-multisite-waas'),
+ 'desc' => __('Leave blank to hide the title completely.', 'wp-multisite-waas'),
'tooltip' => '',
];
$fields['columns'] = [
'type' => 'number',
- 'title' => __('Columns', 'wp-ultimo'),
- 'desc' => __('How many columns to use.', 'wp-ultimo'),
+ 'title' => __('Columns', 'wp-multisite-waas'),
+ 'desc' => __('How many columns to use.', 'wp-multisite-waas'),
'tooltip' => '',
'value' => 1,
'min' => 1,
@@ -195,7 +195,7 @@ class Limits_Element extends Base_Element {
return [
'columns' => 1,
- 'title' => __('Site Limits', 'wp-ultimo'),
+ 'title' => __('Site Limits', 'wp-multisite-waas'),
];
}
diff --git a/inc/ui/class-login-form-element.php b/inc/ui/class-login-form-element.php
index 69269c2..2700046 100644
--- a/inc/ui/class-login-form-element.php
+++ b/inc/ui/class-login-form-element.php
@@ -90,14 +90,14 @@ class Login_Form_Element extends Base_Element {
*
* This is used on the Blocks list of Gutenberg.
* You should return a string with the localized title.
- * e.g. return __('My Element', 'wp-ultimo').
+ * e.g. return __('My Element', 'wp-multisite-waas').
*
* @since 2.0.0
* @return string
*/
public function get_title() {
- return __('Login Form', 'wp-ultimo');
+ return __('Login Form', 'wp-multisite-waas');
}
/**
@@ -106,14 +106,14 @@ class Login_Form_Element extends Base_Element {
* This is also used on the Gutenberg block list
* to explain what this block is about.
* You should return a string with the localized title.
- * e.g. return __('Adds a checkout form to the page', 'wp-ultimo').
+ * e.g. return __('Adds a checkout form to the page', 'wp-multisite-waas').
*
* @since 2.0.0
* @return string
*/
public function get_description() {
- return __('Adds a login form to the page.', 'wp-ultimo');
+ return __('Adds a login form to the page.', 'wp-multisite-waas');
}
/**
@@ -138,23 +138,23 @@ class Login_Form_Element extends Base_Element {
$fields = [];
$fields['header'] = [
- 'title' => __('General', 'wp-ultimo'),
- 'desc' => __('General', 'wp-ultimo'),
+ 'title' => __('General', 'wp-multisite-waas'),
+ 'desc' => __('General', 'wp-multisite-waas'),
'type' => 'header',
];
$fields['display_title'] = [
'type' => 'toggle',
- 'title' => __('Display Title?', 'wp-ultimo'),
- 'desc' => __('Toggle to show/hide the title element.', 'wp-ultimo'),
+ 'title' => __('Display Title?', 'wp-multisite-waas'),
+ 'desc' => __('Toggle to show/hide the title element.', 'wp-multisite-waas'),
'tooltip' => '',
'value' => 1,
];
$fields['title'] = [
'type' => 'text',
- 'title' => __('Title', 'wp-ultimo'),
- 'value' => __('Login', 'wp-ultimo'),
+ 'title' => __('Title', 'wp-multisite-waas'),
+ 'value' => __('Login', 'wp-multisite-waas'),
'desc' => '',
'tooltip' => '',
'required' => [
@@ -164,22 +164,22 @@ class Login_Form_Element extends Base_Element {
$fields['redirect_type'] = [
'type' => 'select',
- 'title' => __('Redirect Type', 'wp-ultimo'),
- 'desc' => __('The behavior after login', 'wp-ultimo'),
+ 'title' => __('Redirect Type', 'wp-multisite-waas'),
+ 'desc' => __('The behavior after login', 'wp-multisite-waas'),
'tooltip' => '',
'default' => 'default',
'options' => [
- 'default' => __('Wordpress Default', 'wp-ultimo'),
- 'customer_site' => __('Send To Customer Site', 'wp-ultimo'),
- 'main_site' => __('Send To Main Site', 'wp-ultimo'),
+ 'default' => __('Wordpress Default', 'wp-multisite-waas'),
+ 'customer_site' => __('Send To Customer Site', 'wp-multisite-waas'),
+ 'main_site' => __('Send To Main Site', 'wp-multisite-waas'),
],
];
$fields['customer_redirect_path'] = [
'type' => 'text',
- 'title' => __('Customer Redirect Path', 'wp-ultimo'),
- 'value' => __('/wp-admin', 'wp-ultimo'),
- 'desc' => __('e.g. /wp-admin', 'wp-ultimo'),
+ 'title' => __('Customer Redirect Path', 'wp-multisite-waas'),
+ 'value' => __('/wp-admin', 'wp-multisite-waas'),
+ 'desc' => __('e.g. /wp-admin', 'wp-multisite-waas'),
'tooltip' => '',
'required' => [
'redirect_type' => 'customer_site',
@@ -188,9 +188,9 @@ class Login_Form_Element extends Base_Element {
$fields['main_redirect_path'] = [
'type' => 'text',
- 'title' => __('Main Site Redirect Path', 'wp-ultimo'),
- 'value' => __('/wp-admin', 'wp-ultimo'),
- 'desc' => __('e.g. /wp-admin', 'wp-ultimo'),
+ 'title' => __('Main Site Redirect Path', 'wp-multisite-waas'),
+ 'value' => __('/wp-admin', 'wp-multisite-waas'),
+ 'desc' => __('e.g. /wp-admin', 'wp-multisite-waas'),
'tooltip' => '',
'required' => [
'redirect_type' => 'main_site',
@@ -198,66 +198,66 @@ class Login_Form_Element extends Base_Element {
];
$fields['header_username'] = [
- 'title' => __('Username Field', 'wp-ultimo'),
- 'desc' => __('Username Field', 'wp-ultimo'),
+ 'title' => __('Username Field', 'wp-multisite-waas'),
+ 'desc' => __('Username Field', 'wp-multisite-waas'),
'type' => 'header',
];
$fields['label_username'] = [
'type' => 'text',
- 'title' => __('Username Field Label', 'wp-ultimo'),
- 'value' => __('Username or Email Address', 'wp-ultimo'),
- 'desc' => __('Leave blank to hide.', 'wp-ultimo'),
+ 'title' => __('Username Field Label', 'wp-multisite-waas'),
+ 'value' => __('Username or Email Address', 'wp-multisite-waas'),
+ 'desc' => __('Leave blank to hide.', 'wp-multisite-waas'),
'tooltip' => '',
];
$fields['placeholder_username'] = [
'type' => 'text',
- 'title' => __('Username Field Placeholder', 'wp-ultimo'),
- 'desc' => __('e.g. Username Here', 'wp-ultimo'),
+ 'title' => __('Username Field Placeholder', 'wp-multisite-waas'),
+ 'desc' => __('e.g. Username Here', 'wp-multisite-waas'),
'value' => '',
'tooltip' => '',
];
$fields['header_password'] = [
- 'title' => __('Password Field', 'wp-ultimo'),
- 'desc' => __('Password Field', 'wp-ultimo'),
+ 'title' => __('Password Field', 'wp-multisite-waas'),
+ 'desc' => __('Password Field', 'wp-multisite-waas'),
'type' => 'header',
];
$fields['label_password'] = [
'type' => 'text',
- 'title' => __('Password Field Label', 'wp-ultimo'),
- 'value' => __('Password', 'wp-ultimo'),
- 'desc' => __('Leave blank to hide.', 'wp-ultimo'),
+ 'title' => __('Password Field Label', 'wp-multisite-waas'),
+ 'value' => __('Password', 'wp-multisite-waas'),
+ 'desc' => __('Leave blank to hide.', 'wp-multisite-waas'),
'tooltip' => '',
];
$fields['placeholder_password'] = [
'type' => 'text',
- 'title' => __('Password Field Placeholder', 'wp-ultimo'),
- 'desc' => __('e.g. Your Password', 'wp-ultimo'),
+ 'title' => __('Password Field Placeholder', 'wp-multisite-waas'),
+ 'desc' => __('e.g. Your Password', 'wp-multisite-waas'),
'value' => '',
'tooltip' => '',
];
$fields['header_remember'] = [
- 'title' => __('Remember Me', 'wp-ultimo'),
- 'desc' => __('Remember Me', 'wp-ultimo'),
+ 'title' => __('Remember Me', 'wp-multisite-waas'),
+ 'desc' => __('Remember Me', 'wp-multisite-waas'),
'type' => 'header',
];
$fields['remember'] = [
'type' => 'toggle',
- 'title' => __('Display Remember Toggle?', 'wp-ultimo'),
- 'desc' => __('Toggle to show/hide the remember me checkbox.', 'wp-ultimo'),
+ 'title' => __('Display Remember Toggle?', 'wp-multisite-waas'),
+ 'desc' => __('Toggle to show/hide the remember me checkbox.', 'wp-multisite-waas'),
'tooltip' => '',
'value' => 1,
];
$fields['label_remember'] = [
'type' => 'text',
- 'title' => __('Remember Me Label', 'wp-ultimo'),
+ 'title' => __('Remember Me Label', 'wp-multisite-waas'),
'value' => __('Remember Me'),
'desc' => '',
'tooltip' => '',
@@ -268,8 +268,8 @@ class Login_Form_Element extends Base_Element {
$fields['desc_remember'] = [
'type' => 'text',
- 'title' => __('Remember Me Description', 'wp-ultimo'),
- 'value' => __('Keep me logged in for two weeks.', 'wp-ultimo'),
+ 'title' => __('Remember Me Description', 'wp-multisite-waas'),
+ 'value' => __('Keep me logged in for two weeks.', 'wp-multisite-waas'),
'desc' => '',
'tooltip' => '',
'required' => [
@@ -278,15 +278,15 @@ class Login_Form_Element extends Base_Element {
];
$fields['header_submit'] = [
- 'title' => __('Submit Button', 'wp-ultimo'),
- 'desc' => __('Submit Button', 'wp-ultimo'),
+ 'title' => __('Submit Button', 'wp-multisite-waas'),
+ 'desc' => __('Submit Button', 'wp-multisite-waas'),
'type' => 'header',
];
$fields['label_log_in'] = [
'type' => 'text',
- 'title' => __('Submit Button Label', 'wp-ultimo'),
- 'value' => __('Log In', 'wp-ultimo'),
+ 'title' => __('Submit Button Label', 'wp-multisite-waas'),
+ 'value' => __('Log In', 'wp-multisite-waas'),
'tooltip' => '',
];
@@ -352,7 +352,7 @@ class Login_Form_Element extends Base_Element {
return [
'display_title' => 1,
- 'title' => __('Login', 'wp-ultimo'),
+ 'title' => __('Login', 'wp-multisite-waas'),
'redirect_type' => 'default',
'customer_redirect_path' => '/wp-admin',
@@ -368,7 +368,7 @@ class Login_Form_Element extends Base_Element {
'placeholder_password' => '',
'label_remember' => __('Remember Me'),
- 'desc_remember' => __('Keep me logged in for two weeks.', 'wp-ultimo'),
+ 'desc_remember' => __('Keep me logged in for two weeks.', 'wp-multisite-waas'),
'label_log_in' => __('Log In'),
diff --git a/inc/ui/class-my-sites-element.php b/inc/ui/class-my-sites-element.php
index 7f71f11..1ffeeed 100644
--- a/inc/ui/class-my-sites-element.php
+++ b/inc/ui/class-my-sites-element.php
@@ -85,14 +85,14 @@ class My_Sites_Element extends Base_Element {
*
* This is used on the Blocks list of Gutenberg.
* You should return a string with the localized title.
- * e.g. return __('My Element', 'wp-ultimo').
+ * e.g. return __('My Element', 'wp-multisite-waas').
*
* @since 2.0.0
* @return string
*/
public function get_title() {
- return __('My Sites', 'wp-ultimo');
+ return __('My Sites', 'wp-multisite-waas');
}
/**
@@ -101,14 +101,14 @@ class My_Sites_Element extends Base_Element {
* This is also used on the Gutenberg block list
* to explain what this block is about.
* You should return a string with the localized title.
- * e.g. return __('Adds a checkout form to the page', 'wp-ultimo').
+ * e.g. return __('Adds a checkout form to the page', 'wp-multisite-waas').
*
* @since 2.0.0
* @return string
*/
public function get_description() {
- return __('Adds a block to display the sites owned by the current customer.', 'wp-ultimo');
+ return __('Adds a block to display the sites owned by the current customer.', 'wp-multisite-waas');
}
/**
@@ -133,33 +133,33 @@ class My_Sites_Element extends Base_Element {
$fields = [];
$fields['header'] = [
- 'title' => __('General', 'wp-ultimo'),
- 'desc' => __('General', 'wp-ultimo'),
+ 'title' => __('General', 'wp-multisite-waas'),
+ 'desc' => __('General', 'wp-multisite-waas'),
'type' => 'header',
];
$fields['site_manage_type'] = [
'type' => 'select',
- 'title' => __('Site Manage Type', 'wp-ultimo'),
- 'desc' => __('The page to manage a site.', 'wp-ultimo'),
+ 'title' => __('Site Manage Type', 'wp-multisite-waas'),
+ 'desc' => __('The page to manage a site.', 'wp-multisite-waas'),
'tooltip' => '',
'default' => 'default',
'options' => [
- 'default' => __('Same Page', 'wp-ultimo'),
- 'wp_admin' => __('WP Admin', 'wp-ultimo'),
- 'custom_page' => __('Custom Page', 'wp-ultimo'),
+ 'default' => __('Same Page', 'wp-multisite-waas'),
+ 'wp_admin' => __('WP Admin', 'wp-multisite-waas'),
+ 'custom_page' => __('Custom Page', 'wp-multisite-waas'),
],
];
$fields['site_show'] = [
'type' => 'select',
- 'title' => __('Which sites to show?', 'wp-ultimo'),
- 'desc' => __('Select which sites should be listed for user.', 'wp-ultimo'),
+ 'title' => __('Which sites to show?', 'wp-multisite-waas'),
+ 'desc' => __('Select which sites should be listed for user.', 'wp-multisite-waas'),
'tooltip' => '',
'default' => 'all',
'options' => [
- 'all' => __('All', 'wp-ultimo'),
- 'owned' => __('Owned', 'wp-ultimo'),
+ 'all' => __('All', 'wp-multisite-waas'),
+ 'owned' => __('Owned', 'wp-multisite-waas'),
],
];
@@ -171,7 +171,7 @@ class My_Sites_Element extends Base_Element {
$pages = $pages ?: [];
- $pages_list = [0 => __('Current Page', 'wp-ultimo')];
+ $pages_list = [0 => __('Current Page', 'wp-multisite-waas')];
foreach ($pages as $page) {
$pages_list[ $page->ID ] = $page->post_title;
@@ -179,9 +179,9 @@ class My_Sites_Element extends Base_Element {
$fields['custom_manage_page'] = [
'type' => 'select',
- 'title' => __('Manage Redirect Page', 'wp-ultimo'),
+ 'title' => __('Manage Redirect Page', 'wp-multisite-waas'),
'value' => 0,
- 'desc' => __('The page to redirect user after select a site.', 'wp-ultimo'),
+ 'desc' => __('The page to redirect user after select a site.', 'wp-multisite-waas'),
'tooltip' => '',
'required' => [
'site_manage_type' => 'custom_page',
@@ -191,8 +191,8 @@ class My_Sites_Element extends Base_Element {
$fields['columns'] = [
'type' => 'number',
- 'title' => __('Columns', 'wp-ultimo'),
- 'desc' => __('How many columns to use.', 'wp-ultimo'),
+ 'title' => __('Columns', 'wp-multisite-waas'),
+ 'desc' => __('How many columns to use.', 'wp-multisite-waas'),
'tooltip' => '',
'value' => 4,
'min' => 1,
@@ -201,8 +201,8 @@ class My_Sites_Element extends Base_Element {
$fields['display_images'] = [
'type' => 'toggle',
- 'title' => __('Display Site Screenshot?', 'wp-ultimo'),
- 'desc' => __('Toggle to show/hide the site screenshots on the element.', 'wp-ultimo'),
+ 'title' => __('Display Site Screenshot?', 'wp-multisite-waas'),
+ 'desc' => __('Toggle to show/hide the site screenshots on the element.', 'wp-multisite-waas'),
'tooltip' => '',
'value' => 1,
];
diff --git a/inc/ui/class-payment-methods-element.php b/inc/ui/class-payment-methods-element.php
index 9a2f9fb..361f2ca 100644
--- a/inc/ui/class-payment-methods-element.php
+++ b/inc/ui/class-payment-methods-element.php
@@ -60,14 +60,14 @@ class Payment_Methods_Element extends Base_Element {
*
* This is used on the Blocks list of Gutenberg.
* You should return a string with the localized title.
- * e.g. return __('My Element', 'wp-ultimo').
+ * e.g. return __('My Element', 'wp-multisite-waas').
*
* @since 2.0.0
* @return string
*/
public function get_title() {
- return __('Payment Methods', 'wp-ultimo');
+ return __('Payment Methods', 'wp-multisite-waas');
}
/**
@@ -76,14 +76,14 @@ class Payment_Methods_Element extends Base_Element {
* This is also used on the Gutenberg block list
* to explain what this block is about.
* You should return a string with the localized title.
- * e.g. return __('Adds a checkout form to the page', 'wp-ultimo').
+ * e.g. return __('Adds a checkout form to the page', 'wp-multisite-waas').
*
* @since 2.0.0
* @return string
*/
public function get_description() {
- return __('Adds a checkout form block to the page.', 'wp-ultimo');
+ return __('Adds a checkout form block to the page.', 'wp-multisite-waas');
}
/**
@@ -108,23 +108,23 @@ class Payment_Methods_Element extends Base_Element {
$fields = [];
$fields['header'] = [
- 'title' => __('General', 'wp-ultimo'),
- 'desc' => __('General', 'wp-ultimo'),
+ 'title' => __('General', 'wp-multisite-waas'),
+ 'desc' => __('General', 'wp-multisite-waas'),
'type' => 'header',
];
$fields['password_strength'] = [
'type' => 'toggle',
- 'title' => __('Password Strength Meter', 'wp-ultimo'),
- 'desc' => __('Set this customer as a VIP.', 'wp-ultimo'),
+ 'title' => __('Password Strength Meter', 'wp-multisite-waas'),
+ 'desc' => __('Set this customer as a VIP.', 'wp-multisite-waas'),
'tooltip' => '',
'value' => 1,
];
$fields['apply_styles'] = [
'type' => 'toggle',
- 'title' => __('Apply Styles', 'wp-ultimo'),
- 'desc' => __('Set this customer as a VIP.', 'wp-ultimo'),
+ 'title' => __('Apply Styles', 'wp-multisite-waas'),
+ 'desc' => __('Set this customer as a VIP.', 'wp-multisite-waas'),
'tooltip' => '',
'value' => 1,
];
diff --git a/inc/ui/class-simple-text-element.php b/inc/ui/class-simple-text-element.php
index c264d11..971abdf 100644
--- a/inc/ui/class-simple-text-element.php
+++ b/inc/ui/class-simple-text-element.php
@@ -76,14 +76,14 @@ class Simple_Text_Element extends Base_Element {
*
* This is used on the Blocks list of Gutenberg.
* You should return a string with the localized title.
- * e.g. return __('My Element', 'wp-ultimo').
+ * e.g. return __('My Element', 'wp-multisite-waas').
*
* @since 2.0.0
* @return string
*/
public function get_title() {
- return __('Simple Text', 'wp-ultimo');
+ return __('Simple Text', 'wp-multisite-waas');
}
/**
@@ -92,14 +92,14 @@ class Simple_Text_Element extends Base_Element {
* This is also used on the Gutenberg block list
* to explain what this block is about.
* You should return a string with the localized title.
- * e.g. return __('Adds a checkout form to the page', 'wp-ultimo').
+ * e.g. return __('Adds a checkout form to the page', 'wp-multisite-waas').
*
* @since 2.0.0
* @return string
*/
public function get_description() {
- return __('Adds a simple text block to the page.', 'wp-ultimo');
+ return __('Adds a simple text block to the page.', 'wp-multisite-waas');
}
/**
@@ -124,16 +124,16 @@ class Simple_Text_Element extends Base_Element {
$fields = [];
$fields['header'] = [
- 'title' => __('General', 'wp-ultimo'),
- 'desc' => __('General', 'wp-ultimo'),
+ 'title' => __('General', 'wp-multisite-waas'),
+ 'desc' => __('General', 'wp-multisite-waas'),
'type' => 'header',
];
$fields['simple_text'] = [
'type' => 'textarea',
- 'title' => __('Content', 'wp-ultimo'),
- 'placeholder' => __('E.g. Text, HTML or shortcode.', 'wp-ultimo'),
- 'desc' => __('You can insert plain text, HTML or a shortcode in this block.', 'wp-ultimo'),
+ 'title' => __('Content', 'wp-multisite-waas'),
+ 'placeholder' => __('E.g. Text, HTML or shortcode.', 'wp-multisite-waas'),
+ 'desc' => __('You can insert plain text, HTML or a shortcode in this block.', 'wp-multisite-waas'),
'tooltip' => '',
'html_attr' => [
'rows' => 6,
@@ -200,7 +200,7 @@ class Simple_Text_Element extends Base_Element {
public function defaults() {
return [
- 'simple_text' => __('Text, HTML or shortcode.', 'wp-ultimo'),
+ 'simple_text' => __('Text, HTML or shortcode.', 'wp-multisite-waas'),
];
}
diff --git a/inc/ui/class-site-actions-element.php b/inc/ui/class-site-actions-element.php
index 34d6bda..ba232df 100644
--- a/inc/ui/class-site-actions-element.php
+++ b/inc/ui/class-site-actions-element.php
@@ -97,14 +97,14 @@ class Site_Actions_Element extends Base_Element {
*
* This is used on the Blocks list of Gutenberg.
* You should return a string with the localized title.
- * e.g. return __('My Element', 'wp-ultimo').
+ * e.g. return __('My Element', 'wp-multisite-waas').
*
* @since 2.0.0
* @return string
*/
public function get_title() {
- return __('Actions', 'wp-ultimo');
+ return __('Actions', 'wp-multisite-waas');
}
/**
@@ -113,14 +113,14 @@ class Site_Actions_Element extends Base_Element {
* This is also used on the Gutenberg block list
* to explain what this block is about.
* You should return a string with the localized title.
- * e.g. return __('Adds a checkout form to the page', 'wp-ultimo').
+ * e.g. return __('Adds a checkout form to the page', 'wp-multisite-waas').
*
* @since 2.0.0
* @return string
*/
public function get_description() {
- return __('Adds a checkout form block to the page.', 'wp-ultimo');
+ return __('Adds a checkout form block to the page.', 'wp-multisite-waas');
}
/**
@@ -145,31 +145,31 @@ class Site_Actions_Element extends Base_Element {
$fields = [];
$fields['header'] = [
- 'title' => __('General', 'wp-ultimo'),
- 'desc' => __('General', 'wp-ultimo'),
+ 'title' => __('General', 'wp-multisite-waas'),
+ 'desc' => __('General', 'wp-multisite-waas'),
'type' => 'header',
];
$fields['show_change_password'] = [
'type' => 'toggle',
- 'title' => __('Show Change Password', 'wp-ultimo'),
- 'desc' => __('Toggle to show/hide the password link.', 'wp-ultimo'),
+ 'title' => __('Show Change Password', 'wp-multisite-waas'),
+ 'desc' => __('Toggle to show/hide the password link.', 'wp-multisite-waas'),
'tooltip' => '',
'value' => 1,
];
$fields['show_change_default_site'] = [
'type' => 'toggle',
- 'title' => __('Show Change Default Site', 'wp-ultimo'),
- 'desc' => __('Toggle to show/hide the change default site link.', 'wp-ultimo'),
+ 'title' => __('Show Change Default Site', 'wp-multisite-waas'),
+ 'desc' => __('Toggle to show/hide the change default site link.', 'wp-multisite-waas'),
'tooltip' => '',
'value' => 1,
];
$fields['show_change_payment_method'] = [
'type' => 'toggle',
- 'title' => __('Show Change Payment Method', 'wp-ultimo'),
- 'desc' => __('Toggle to show/hide the option to cancel the current payment method.', 'wp-ultimo'),
+ 'title' => __('Show Change Payment Method', 'wp-multisite-waas'),
+ 'desc' => __('Toggle to show/hide the option to cancel the current payment method.', 'wp-multisite-waas'),
'tooltip' => '',
'value' => 1,
];
@@ -182,7 +182,7 @@ class Site_Actions_Element extends Base_Element {
$pages = $pages ?: [];
- $pages_list = [0 => __('Default', 'wp-ultimo')];
+ $pages_list = [0 => __('Default', 'wp-multisite-waas')];
foreach ($pages as $page) {
$pages_list[ $page->ID ] = $page->post_title;
@@ -190,9 +190,9 @@ class Site_Actions_Element extends Base_Element {
$fields['redirect_after_delete'] = [
'type' => 'select',
- 'title' => __('Redirect After Delete', 'wp-ultimo'),
+ 'title' => __('Redirect After Delete', 'wp-multisite-waas'),
'value' => 0,
- 'desc' => __('The page to redirect user after delete current site.', 'wp-ultimo'),
+ 'desc' => __('The page to redirect user after delete current site.', 'wp-multisite-waas'),
'tooltip' => '',
'options' => $pages_list,
];
@@ -372,7 +372,7 @@ class Site_Actions_Element extends Base_Element {
if ($is_template_switching_enabled && $this->site) {
$actions['template_switching'] = [
- 'label' => __('Change Site Template', 'wp-ultimo'),
+ 'label' => __('Change Site Template', 'wp-multisite-waas'),
'icon_classes' => 'dashicons-wu-edit wu-align-middle',
'href' => add_query_arg(
[
@@ -385,7 +385,7 @@ class Site_Actions_Element extends Base_Element {
if (count($all_blogs) > 1 && wu_get_isset($atts, 'show_change_default_site')) {
$actions['default_site'] = [
- 'label' => __('Change Default Site', 'wp-ultimo'),
+ 'label' => __('Change Default Site', 'wp-multisite-waas'),
'icon_classes' => 'dashicons-wu-edit wu-align-middle',
'classes' => 'wubox',
'href' => wu_get_form_url('change_default_site'),
@@ -394,7 +394,7 @@ class Site_Actions_Element extends Base_Element {
if (wu_get_isset($atts, 'show_change_password')) {
$actions['change_password'] = [
- 'label' => __('Change Password', 'wp-ultimo'),
+ 'label' => __('Change Password', 'wp-multisite-waas'),
'icon_classes' => 'dashicons-wu-edit wu-align-middle',
'classes' => 'wubox',
'href' => wu_get_form_url('change_password'),
@@ -405,7 +405,7 @@ class Site_Actions_Element extends Base_Element {
if (wu_get_isset($atts, 'show_change_payment_method') && $payment_gateway) {
$actions['cancel_payment_method'] = [
- 'label' => __('Cancel Current Payment Method', 'wp-ultimo'),
+ 'label' => __('Cancel Current Payment Method', 'wp-multisite-waas'),
'icon_classes' => 'dashicons-wu-edit wu-align-middle',
'classes' => 'wubox',
'href' => wu_get_form_url(
@@ -436,7 +436,7 @@ class Site_Actions_Element extends Base_Element {
$actions = array_merge(
[
'delete_site' => [
- 'label' => __('Delete Site', 'wp-ultimo'),
+ 'label' => __('Delete Site', 'wp-multisite-waas'),
'icon_classes' => 'dashicons-wu-edit wu-align-middle',
'classes' => 'wubox wu-text-red-500',
'href' => wu_get_form_url(
@@ -456,7 +456,7 @@ class Site_Actions_Element extends Base_Element {
$actions = array_merge(
[
'cancel_membership' => [
- 'label' => __('Cancel Membership', 'wp-ultimo'),
+ 'label' => __('Cancel Membership', 'wp-multisite-waas'),
'icon_classes' => 'dashicons-wu-edit wu-align-middle',
'classes' => 'wubox wu-text-red-500',
'href' => wu_get_form_url(
@@ -488,13 +488,13 @@ class Site_Actions_Element extends Base_Element {
$error = '';
if ( ! $site) {
- $error = __('Site not selected.', 'wp-ultimo');
+ $error = __('Site not selected.', 'wp-multisite-waas');
}
$customer = wu_get_current_customer();
if ( ! $customer || $customer->get_id() !== $site->get_customer_id()) {
- $error = __('You are not allowed to do this.', 'wp-ultimo');
+ $error = __('You are not allowed to do this.', 'wp-multisite-waas');
}
if ( ! empty($error)) {
@@ -531,16 +531,16 @@ class Site_Actions_Element extends Base_Element {
],
'confirm' => [
'type' => 'toggle',
- 'title' => __('Confirm Site Deletion', 'wp-ultimo'),
- 'desc' => __('This action can not be undone.', 'wp-ultimo'),
+ 'title' => __('Confirm Site Deletion', 'wp-multisite-waas'),
+ 'desc' => __('This action can not be undone.', 'wp-multisite-waas'),
'html_attr' => [
'v-model' => 'confirmed',
],
],
'submit_button' => [
'type' => 'submit',
- 'title' => __('Delete Site', 'wp-ultimo'),
- 'placeholder' => __('Delete Site', 'wp-ultimo'),
+ 'title' => __('Delete Site', 'wp-multisite-waas'),
+ 'placeholder' => __('Delete Site', 'wp-multisite-waas'),
'value' => 'save',
'classes' => 'button button-primary wu-w-full',
'wrapper_classes' => 'wu-items-end',
@@ -585,13 +585,13 @@ class Site_Actions_Element extends Base_Element {
$site = wu_get_site_by_hash(wu_request('site'));
if ( ! $site || ! $site->is_customer_allowed()) {
- return new \WP_Error('error', __('An unexpected error happened.', 'wp-ultimo'));
+ return new \WP_Error('error', __('An unexpected error happened.', 'wp-multisite-waas'));
}
$customer = wu_get_current_customer();
if ( ! $customer || $customer->get_id() !== $site->get_customer_id()) {
- return new \WP_Error('error', __('You are not allowed to do this.', 'wp-ultimo'));
+ return new \WP_Error('error', __('You are not allowed to do this.', 'wp-multisite-waas'));
}
$wpdb->query('START TRANSACTION');
@@ -639,23 +639,23 @@ class Site_Actions_Element extends Base_Element {
$fields = [
'password' => [
'type' => 'password',
- 'title' => __('Current Password', 'wp-ultimo'),
- 'placeholder' => __('******', 'wp-ultimo'),
+ 'title' => __('Current Password', 'wp-multisite-waas'),
+ 'placeholder' => __('******', 'wp-multisite-waas'),
],
'new_password' => [
'type' => 'password',
- 'title' => __('New Password', 'wp-ultimo'),
- 'placeholder' => __('******', 'wp-ultimo'),
+ 'title' => __('New Password', 'wp-multisite-waas'),
+ 'placeholder' => __('******', 'wp-multisite-waas'),
'meter' => true,
],
'new_password_conf' => [
'type' => 'password',
- 'placeholder' => __('******', 'wp-ultimo'),
- 'title' => __('Confirm New Password', 'wp-ultimo'),
+ 'placeholder' => __('******', 'wp-multisite-waas'),
+ 'title' => __('Confirm New Password', 'wp-multisite-waas'),
],
'submit_button' => [
'type' => 'submit',
- 'title' => __('Reset Password', 'wp-ultimo'),
+ 'title' => __('Reset Password', 'wp-multisite-waas'),
'value' => 'save',
'classes' => 'button button-primary wu-w-full',
'wrapper_classes' => 'wu-items-end',
@@ -693,7 +693,7 @@ class Site_Actions_Element extends Base_Element {
$user = wp_get_current_user();
if ( ! $user) {
- $error = new \WP_Error('user-dont-exist', __('Something went wrong.', 'wp-ultimo'));
+ $error = new \WP_Error('user-dont-exist', __('Something went wrong.', 'wp-multisite-waas'));
wp_send_json_error($error);
}
@@ -701,7 +701,7 @@ class Site_Actions_Element extends Base_Element {
$current_password = wu_request('password');
if ( ! wp_check_password($current_password, $user->user_pass, $user->ID)) {
- $error = new \WP_Error('wrong-password', __('Your current password is wrong.', 'wp-ultimo'));
+ $error = new \WP_Error('wrong-password', __('Your current password is wrong.', 'wp-multisite-waas'));
wp_send_json_error($error);
}
@@ -710,13 +710,13 @@ class Site_Actions_Element extends Base_Element {
$new_password_conf = wu_request('new_password_conf');
if ( ! $new_password || strlen((string) $new_password) < 6) {
- $error = new \WP_Error('password-min-length', __('The new password must be at least 6 characters long.', 'wp-ultimo'));
+ $error = new \WP_Error('password-min-length', __('The new password must be at least 6 characters long.', 'wp-multisite-waas'));
wp_send_json_error($error);
}
if ($new_password !== $new_password_conf) {
- $error = new \WP_Error('passwords-dont-match', __('New passwords do not match.', 'wp-ultimo'));
+ $error = new \WP_Error('passwords-dont-match', __('New passwords do not match.', 'wp-multisite-waas'));
wp_send_json_error($error);
}
@@ -756,8 +756,8 @@ class Site_Actions_Element extends Base_Element {
$fields = [
'new_primary_site' => [
'type' => 'select',
- 'title' => __('Primary Site', 'wp-ultimo'),
- 'desc' => __('Change the primary site of your network.', 'wp-ultimo'),
+ 'title' => __('Primary Site', 'wp-multisite-waas'),
+ 'desc' => __('Change the primary site of your network.', 'wp-multisite-waas'),
'options' => $option_blogs,
'value' => $primary_blog,
'html_attr' => [
@@ -766,7 +766,7 @@ class Site_Actions_Element extends Base_Element {
],
'submit_button' => [
'type' => 'submit',
- 'title' => __('Change Default Site', 'wp-ultimo'),
+ 'title' => __('Change Default Site', 'wp-multisite-waas'),
'value' => 'save',
'classes' => 'button button-primary wu-w-full',
'wrapper_classes' => 'wu-items-end',
@@ -817,7 +817,7 @@ class Site_Actions_Element extends Base_Element {
);
}
- $error = new \WP_Error('no-site-selected', __('You need to select a new primary site.', 'wp-ultimo'));
+ $error = new \WP_Error('no-site-selected', __('You need to select a new primary site.', 'wp-multisite-waas'));
wp_send_json_error($error);
}
@@ -835,13 +835,13 @@ class Site_Actions_Element extends Base_Element {
$error = '';
if ( ! $membership) {
- $error = __('Membership not selected.', 'wp-ultimo');
+ $error = __('Membership not selected.', 'wp-multisite-waas');
}
$customer = wu_get_current_customer();
if ( ! is_super_admin() && (! $customer || $customer->get_id() !== $membership->get_customer_id())) {
- $error = __('You are not allowed to do this.', 'wp-ultimo');
+ $error = __('You are not allowed to do this.', 'wp-multisite-waas');
}
if ( ! empty($error)) {
@@ -878,16 +878,16 @@ class Site_Actions_Element extends Base_Element {
],
'confirm' => [
'type' => 'toggle',
- 'title' => __('Confirm Payment Method Cancellation', 'wp-ultimo'),
- 'desc' => __('This action can not be undone.', 'wp-ultimo'),
+ 'title' => __('Confirm Payment Method Cancellation', 'wp-multisite-waas'),
+ 'desc' => __('This action can not be undone.', 'wp-multisite-waas'),
'html_attr' => [
'v-model' => 'confirmed',
],
],
'submit_button' => [
'type' => 'submit',
- 'title' => __('Cancel Payment Method', 'wp-ultimo'),
- 'placeholder' => __('Cancel Payment Method', 'wp-ultimo'),
+ 'title' => __('Cancel Payment Method', 'wp-multisite-waas'),
+ 'placeholder' => __('Cancel Payment Method', 'wp-multisite-waas'),
'value' => 'save',
'classes' => 'button button-primary wu-w-full',
'wrapper_classes' => 'wu-items-end',
@@ -929,7 +929,7 @@ class Site_Actions_Element extends Base_Element {
$membership = wu_get_membership_by_hash(wu_request('membership'));
if ( ! $membership) {
- $error = new \WP_Error('error', __('An unexpected error happened.', 'wp-ultimo'));
+ $error = new \WP_Error('error', __('An unexpected error happened.', 'wp-multisite-waas'));
wp_send_json_error($error);
@@ -939,7 +939,7 @@ class Site_Actions_Element extends Base_Element {
$customer = wu_get_current_customer();
if ( ! is_super_admin() && (! $customer || $customer->get_id() !== $membership->get_customer_id())) {
- $error = new \WP_Error('error', __('You are not allowed to do this.', 'wp-ultimo'));
+ $error = new \WP_Error('error', __('You are not allowed to do this.', 'wp-multisite-waas'));
wp_send_json_error($error);
@@ -982,13 +982,13 @@ class Site_Actions_Element extends Base_Element {
$error = '';
if ( ! $membership) {
- $error = __('Membership not selected.', 'wp-ultimo');
+ $error = __('Membership not selected.', 'wp-multisite-waas');
}
$customer = wu_get_current_customer();
if ( ! is_super_admin() && (! $customer || $customer->get_id() !== $membership->get_customer_id())) {
- $error = __('You are not allowed to do this.', 'wp-ultimo');
+ $error = __('You are not allowed to do this.', 'wp-multisite-waas');
}
if ( ! empty($error)) {
@@ -1025,33 +1025,33 @@ class Site_Actions_Element extends Base_Element {
],
'cancellation_reason' => [
'type' => 'select',
- 'title' => __('Please tell us why you are cancelling.', 'wp-ultimo'),
- 'desc' => __('We would love your feedback.', 'wp-ultimo'),
+ 'title' => __('Please tell us why you are cancelling.', 'wp-multisite-waas'),
+ 'desc' => __('We would love your feedback.', 'wp-multisite-waas'),
'html_attr' => [
'v-model' => 'cancellation_reason',
],
'default' => '',
'options' => [
- '' => __('Select a reason', 'wp-ultimo'),
- 'unused' => __('I no longer need it', 'wp-ultimo'),
- 'too_expensive' => __('It\'s too expensive', 'wp-ultimo'),
- 'missing_features' => __('I need more features', 'wp-ultimo'),
- 'switched_service' => __('Switched to another service', 'wp-ultimo'),
- 'customer_service' => __('Customer support is less than expected', 'wp-ultimo'),
- 'too_complex' => __('Too complex', 'wp-ultimo'),
- 'other' => __('Other', 'wp-ultimo'),
+ '' => __('Select a reason', 'wp-multisite-waas'),
+ 'unused' => __('I no longer need it', 'wp-multisite-waas'),
+ 'too_expensive' => __('It\'s too expensive', 'wp-multisite-waas'),
+ 'missing_features' => __('I need more features', 'wp-multisite-waas'),
+ 'switched_service' => __('Switched to another service', 'wp-multisite-waas'),
+ 'customer_service' => __('Customer support is less than expected', 'wp-multisite-waas'),
+ 'too_complex' => __('Too complex', 'wp-multisite-waas'),
+ 'other' => __('Other', 'wp-multisite-waas'),
],
],
'cancellation_explanation' => [
'type' => 'textarea',
- 'title' => __('Please provide additional details.', 'wp-ultimo'),
+ 'title' => __('Please provide additional details.', 'wp-multisite-waas'),
'wrapper_html_attr' => [
'v-show' => 'cancellation_reason === "other"',
],
],
'confirm' => [
'type' => 'text',
- 'title' => __('Type CANCEL to confirm this membership cancellation.', 'wp-ultimo'),
+ 'title' => __('Type CANCEL to confirm this membership cancellation.', 'wp-multisite-waas'),
'html_attr' => [
'v-model' => 'confirmation',
],
@@ -1068,19 +1068,19 @@ class Site_Actions_Element extends Base_Element {
$fields['next_charge'] = [
'type' => 'note',
// translators: %s: Next charge date.
- 'desc' => sprintf(__('Your sites will stay working until %s.', 'wp-ultimo'), date_i18n(get_option('date_format'), $next_charge)),
+ 'desc' => sprintf(__('Your sites will stay working until %s.', 'wp-multisite-waas'), date_i18n(get_option('date_format'), $next_charge)),
];
}
$fields['submit_button'] = [
'type' => 'submit',
- 'title' => __('Cancel Membership', 'wp-ultimo'),
- 'placeholder' => __('Cancel Membership', 'wp-ultimo'),
+ 'title' => __('Cancel Membership', 'wp-multisite-waas'),
+ 'placeholder' => __('Cancel Membership', 'wp-multisite-waas'),
'value' => 'save',
'classes' => 'button button-primary wu-w-full',
'wrapper_classes' => 'wu-items-end',
'html_attr' => [
- 'v-bind:disabled' => 'confirmation !== "' . __('CANCEL', 'wp-ultimo') . '" || cancellation_reason === ""',
+ 'v-bind:disabled' => 'confirmation !== "' . __('CANCEL', 'wp-multisite-waas') . '" || cancellation_reason === ""',
],
];
@@ -1117,7 +1117,7 @@ class Site_Actions_Element extends Base_Element {
$membership = wu_get_membership_by_hash(wu_request('membership'));
if ( ! $membership) {
- $error = new \WP_Error('error', __('An unexpected error happened.', 'wp-ultimo'));
+ $error = new \WP_Error('error', __('An unexpected error happened.', 'wp-multisite-waas'));
wp_send_json_error($error);
@@ -1127,7 +1127,7 @@ class Site_Actions_Element extends Base_Element {
$customer = wu_get_current_customer();
if ( ! is_super_admin() && (! $customer || $customer->get_id() !== $membership->get_customer_id())) {
- $error = new \WP_Error('error', __('You are not allowed to do this.', 'wp-ultimo'));
+ $error = new \WP_Error('error', __('You are not allowed to do this.', 'wp-multisite-waas'));
wp_send_json_error($error);
@@ -1135,12 +1135,12 @@ class Site_Actions_Element extends Base_Element {
}
$cancellation_options = [
- 'unused' => __('I no longer need it', 'wp-ultimo'),
- 'too_expensive' => __('It\'s too expensive', 'wp-ultimo'),
- 'missing_features' => __('I need more features', 'wp-ultimo'),
- 'switched_service' => __('Switched to another service', 'wp-ultimo'),
- 'customer_service' => __('Customer support is less than expected', 'wp-ultimo'),
- 'too_complex' => __('Too complex', 'wp-ultimo'),
+ 'unused' => __('I no longer need it', 'wp-multisite-waas'),
+ 'too_expensive' => __('It\'s too expensive', 'wp-multisite-waas'),
+ 'missing_features' => __('I need more features', 'wp-multisite-waas'),
+ 'switched_service' => __('Switched to another service', 'wp-multisite-waas'),
+ 'customer_service' => __('Customer support is less than expected', 'wp-multisite-waas'),
+ 'too_complex' => __('Too complex', 'wp-multisite-waas'),
'other' => wu_request('cancellation_explanation'),
];
diff --git a/inc/ui/class-site-maintenance-element.php b/inc/ui/class-site-maintenance-element.php
index bcac46e..0e358e1 100644
--- a/inc/ui/class-site-maintenance-element.php
+++ b/inc/ui/class-site-maintenance-element.php
@@ -81,14 +81,14 @@ class Site_Maintenance_Element extends Base_Element {
*
* This is used on the Blocks list of Gutenberg.
* You should return a string with the localized title.
- * e.g. return __('My Element', 'wp-ultimo').
+ * e.g. return __('My Element', 'wp-multisite-waas').
*
* @since 2.0.0
* @return string
*/
public function get_title() {
- return __('Site Maintenance', 'wp-ultimo');
+ return __('Site Maintenance', 'wp-multisite-waas');
}
/**
@@ -97,14 +97,14 @@ class Site_Maintenance_Element extends Base_Element {
* This is also used on the Gutenberg block list
* to explain what this block is about.
* You should return a string with the localized title.
- * e.g. return __('Adds a checkout form to the page', 'wp-ultimo').
+ * e.g. return __('Adds a checkout form to the page', 'wp-multisite-waas').
*
* @since 2.0.0
* @return string
*/
public function get_description() {
- return __('Adds the toggle control to turn maintenance mode on.', 'wp-ultimo');
+ return __('Adds the toggle control to turn maintenance mode on.', 'wp-multisite-waas');
}
/**
@@ -129,23 +129,23 @@ class Site_Maintenance_Element extends Base_Element {
$fields = [];
$fields['header'] = [
- 'title' => __('General', 'wp-ultimo'),
- 'desc' => __('General', 'wp-ultimo'),
+ 'title' => __('General', 'wp-multisite-waas'),
+ 'desc' => __('General', 'wp-multisite-waas'),
'type' => 'header',
];
$fields['title'] = [
'type' => 'text',
- 'title' => __('Label', 'wp-ultimo'),
- 'value' => __('Toggle Maintenance Mode', 'wp-ultimo'),
- 'placeholder' => __('e.g. Toggle Maintenance Mode', 'wp-ultimo'),
+ 'title' => __('Label', 'wp-multisite-waas'),
+ 'value' => __('Toggle Maintenance Mode', 'wp-multisite-waas'),
+ 'placeholder' => __('e.g. Toggle Maintenance Mode', 'wp-multisite-waas'),
'tooltip' => '',
];
$fields['desc'] = [
'type' => 'textarea',
- 'title' => __('Description', 'wp-ultimo'),
- 'value' => __('Put your site on maintenance mode. When activated, the front-end will only be accessible to logged users.', 'wp-ultimo'),
+ 'title' => __('Description', 'wp-multisite-waas'),
+ 'value' => __('Put your site on maintenance mode. When activated, the front-end will only be accessible to logged users.', 'wp-multisite-waas'),
'tooltip' => '',
];
@@ -196,8 +196,8 @@ class Site_Maintenance_Element extends Base_Element {
public function defaults() {
return [
- 'title' => __('Toggle Maintenance Mode', 'wp-ultimo'),
- 'desc' => __('Put your site on maintenance mode. When activated, the front-end will only be accessible to logged users.', 'wp-ultimo'),
+ 'title' => __('Toggle Maintenance Mode', 'wp-multisite-waas'),
+ 'desc' => __('Put your site on maintenance mode. When activated, the front-end will only be accessible to logged users.', 'wp-multisite-waas'),
];
}
diff --git a/inc/ui/class-template-previewer.php b/inc/ui/class-template-previewer.php
index 6a75d70..9c94663 100644
--- a/inc/ui/class-template-previewer.php
+++ b/inc/ui/class-template-previewer.php
@@ -240,7 +240,7 @@ class Template_Previewer {
* Check if this is a site template
*/
if ( ! $selected_template || ($selected_template->get_type() !== Site_Type::SITE_TEMPLATE && ! wu_request('customizer'))) {
- wp_die(__('This template is not available', 'wp-ultimo'));
+ wp_die(__('This template is not available', 'wp-multisite-waas'));
}
$categories = [];
@@ -360,7 +360,7 @@ class Template_Previewer {
'bg_color' => '#f9f9f9',
'button_bg_color' => '#00a1ff',
'logo_url' => wu_get_network_logo(),
- 'button_text' => __('Use this Template', 'wp-ultimo'),
+ 'button_text' => __('Use this Template', 'wp-multisite-waas'),
'preview_url_parameter' => 'template-preview',
'display_responsive_controls' => true,
'use_custom_logo' => false,
diff --git a/inc/ui/class-template-switching-element.php b/inc/ui/class-template-switching-element.php
index cb92ffc..8a3a820 100644
--- a/inc/ui/class-template-switching-element.php
+++ b/inc/ui/class-template-switching-element.php
@@ -82,7 +82,7 @@ class Template_Switching_Element extends Base_Element {
*/
public function get_title() {
- return __('Template Switching', 'wp-ultimo');
+ return __('Template Switching', 'wp-multisite-waas');
}
/**
@@ -93,7 +93,7 @@ class Template_Switching_Element extends Base_Element {
*/
public function get_description() {
- return __('Adds the template switching form to this page.', 'wp-ultimo');
+ return __('Adds the template switching form to this page.', 'wp-multisite-waas');
}
/**
@@ -142,8 +142,8 @@ class Template_Switching_Element extends Base_Element {
$fields = [];
$fields['header'] = [
- 'title' => __('Layout', 'wp-ultimo'),
- 'desc' => __('Layout', 'wp-ultimo'),
+ 'title' => __('Layout', 'wp-multisite-waas'),
+ 'desc' => __('Layout', 'wp-multisite-waas'),
'type' => 'header',
];
@@ -153,8 +153,8 @@ class Template_Switching_Element extends Base_Element {
'fields' => [
'template_selection_template' => [
'type' => 'select',
- 'title' => __('Template Selector Layout', 'wp-ultimo'),
- 'placeholder' => __('Select your Layout', 'wp-ultimo'),
+ 'title' => __('Template Selector Layout', 'wp-multisite-waas'),
+ 'placeholder' => __('Select your Layout', 'wp-multisite-waas'),
'default' => 'clean',
'options' => [$this, 'get_template_selection_templates'],
'wrapper_classes' => 'wu-flex-grow',
@@ -170,7 +170,7 @@ class Template_Switching_Element extends Base_Element {
'order' => 99,
'wrapper_classes' => 'sm:wu-p-0 sm:wu-block',
'classes' => '',
- 'desc' => sprintf('
%s
', __('Want to add customized template selection templates? See how you can do that here.', 'wp-ultimo')),
+ 'desc' => sprintf('
%s
', __('Want to add customized template selection templates? See how you can do that here.', 'wp-multisite-waas')),
];
return $fields;
@@ -275,7 +275,7 @@ class Template_Switching_Element extends Base_Element {
$template_id = wu_request('template_id', '');
if ( ! $template_id) {
- return new \WP_Error('template_id_required', __('You need to provide a valid template to duplicate.', 'wp-ultimo'));
+ return new \WP_Error('template_id_required', __('You need to provide a valid template to duplicate.', 'wp-multisite-waas'));
}
$switch = \WP_Ultimo\Helpers\Site_Duplicator::override_site($template_id, $this->site->get_id());
@@ -349,12 +349,12 @@ class Template_Switching_Element extends Base_Element {
$template_class = Field_Templates_Manager::get_instance()->get_template_class('template_selection', $atts['template_selection_template']);
- $content = $template_class ? $template_class->render_container($template_attributes, $reducer_class) : __('Template does not exist.', 'wp-ultimo');
+ $content = $template_class ? $template_class->render_container($template_attributes, $reducer_class) : __('Template does not exist.', 'wp-multisite-waas');
$checkout_fields['back_to_template_selection'] = [
'type' => 'note',
'order' => 0,
- 'desc' => sprintf('%s', __('← Back to Template Selection', 'wp-ultimo')),
+ 'desc' => sprintf('%s', __('← Back to Template Selection', 'wp-multisite-waas')),
'wrapper_html_attr' => [
'v-init:original_template_id' => $this->site->get_template_id(),
'v-show' => 'template_id != original_template_id',
@@ -375,8 +375,8 @@ class Template_Switching_Element extends Base_Element {
$checkout_fields['confirm_switch'] = [
'type' => 'toggle',
- 'title' => __('Confirm template switch?', 'wp-ultimo'),
- 'desc' => __('Switching your current template completely overwrites the content of your site with the contents of the newly chosen template. All customizations will be lost. This action cannot be undone.', 'wp-ultimo'),
+ 'title' => __('Confirm template switch?', 'wp-multisite-waas'),
+ 'desc' => __('Switching your current template completely overwrites the content of your site with the contents of the newly chosen template. All customizations will be lost. This action cannot be undone.', 'wp-multisite-waas'),
'tooltip' => '',
'wrapper_classes' => '',
'value' => 0,
@@ -391,7 +391,7 @@ class Template_Switching_Element extends Base_Element {
$checkout_fields['submit_switch'] = [
'type' => 'link',
- 'display_value' => __('Process Switch', 'wp-ultimo'),
+ 'display_value' => __('Process Switch', 'wp-multisite-waas'),
'wrapper_classes' => 'wu-text-right wu-bg-gray-100',
'classes' => 'button button-primary',
'wrapper_html_attr' => [
diff --git a/inc/ui/class-thank-you-element.php b/inc/ui/class-thank-you-element.php
index 536918f..8d4f703 100644
--- a/inc/ui/class-thank-you-element.php
+++ b/inc/ui/class-thank-you-element.php
@@ -148,8 +148,8 @@ class Thank_You_Element extends Base_Element {
'resend_verification_email_nonce' => wp_create_nonce('wu_resend_verification_email_nonce'),
'membership_hash' => $this->membership ? $this->membership->get_hash() : false,
'i18n' => [
- 'resending_verification_email' => __('Resending verification email...', 'wp-ultimo'),
- 'email_sent' => __('Verification email sent!', 'wp-ultimo'),
+ 'resending_verification_email' => __('Resending verification email...', 'wp-multisite-waas'),
+ 'email_sent' => __('Verification email sent!', 'wp-multisite-waas'),
],
]
);
@@ -162,14 +162,14 @@ class Thank_You_Element extends Base_Element {
*
* This is used on the Blocks list of Gutenberg.
* You should return a string with the localized title.
- * e.g. return __('My Element', 'wp-ultimo').
+ * e.g. return __('My Element', 'wp-multisite-waas').
*
* @since 2.0.0
* @return string
*/
public function get_title() {
- return __('Thank You', 'wp-ultimo');
+ return __('Thank You', 'wp-multisite-waas');
}
/**
@@ -178,14 +178,14 @@ class Thank_You_Element extends Base_Element {
* This is also used on the Gutenberg block list
* to explain what this block is about.
* You should return a string with the localized title.
- * e.g. return __('Adds a checkout form to the page', 'wp-ultimo').
+ * e.g. return __('Adds a checkout form to the page', 'wp-multisite-waas').
*
* @since 2.0.0
* @return string
*/
public function get_description() {
- return __('Adds a checkout form block to the page.', 'wp-ultimo');
+ return __('Adds a checkout form block to the page.', 'wp-multisite-waas');
}
/**
@@ -210,24 +210,24 @@ class Thank_You_Element extends Base_Element {
$fields = [];
$fields['header'] = [
- 'title' => __('General', 'wp-ultimo'),
- 'desc' => __('General', 'wp-ultimo'),
+ 'title' => __('General', 'wp-multisite-waas'),
+ 'desc' => __('General', 'wp-multisite-waas'),
'type' => 'header',
];
$fields['title'] = [
'type' => 'text',
- 'title' => __('Title', 'wp-ultimo'),
- 'value' => __('Thank You', 'wp-ultimo'),
- 'desc' => __('Leave blank to hide the title completely.', 'wp-ultimo'),
+ 'title' => __('Title', 'wp-multisite-waas'),
+ 'value' => __('Thank You', 'wp-multisite-waas'),
+ 'desc' => __('Leave blank to hide the title completely.', 'wp-multisite-waas'),
'tooltip' => '',
];
$fields['thank_you_message'] = [
'type' => 'textarea',
- 'title' => __('Thank You Message', 'wp-ultimo'),
- 'desc' => __('Shortcodes are supported.', 'wp-ultimo'),
- 'value' => __('Thank you for your payment! Your transaction has been completed and a receipt for your purchase has been emailed to you.', 'wp-ultimo'),
+ 'title' => __('Thank You Message', 'wp-multisite-waas'),
+ 'desc' => __('Shortcodes are supported.', 'wp-multisite-waas'),
+ 'value' => __('Thank you for your payment! Your transaction has been completed and a receipt for your purchase has been emailed to you.', 'wp-multisite-waas'),
'tooltip' => '',
'html_attr' => [
'rows' => 4,
@@ -236,17 +236,17 @@ class Thank_You_Element extends Base_Element {
$fields['title_pending'] = [
'type' => 'text',
- 'title' => __('Title (Pending)', 'wp-ultimo'),
- 'value' => __('Thank You', 'wp-ultimo'),
- 'desc' => __('Leave blank to hide the title completely. This title is used when the payment was not yet confirmed.', 'wp-ultimo'),
+ 'title' => __('Title (Pending)', 'wp-multisite-waas'),
+ 'value' => __('Thank You', 'wp-multisite-waas'),
+ 'desc' => __('Leave blank to hide the title completely. This title is used when the payment was not yet confirmed.', 'wp-multisite-waas'),
'tooltip' => '',
];
$fields['thank_you_message_pending'] = [
'type' => 'textarea',
- 'title' => __('Thank You Message (Pending)', 'wp-ultimo'),
- 'desc' => __('This content is used when the payment was not yet confirmed. Shortcodes are supported.', 'wp-ultimo'),
- 'value' => __('Thank you for your order! We are waiting on the payment processor to confirm your payment, which can take up to 5 minutes. We will notify you via email when your site is ready.', 'wp-ultimo'),
+ 'title' => __('Thank You Message (Pending)', 'wp-multisite-waas'),
+ 'desc' => __('This content is used when the payment was not yet confirmed. Shortcodes are supported.', 'wp-multisite-waas'),
+ 'value' => __('Thank you for your order! We are waiting on the payment processor to confirm your payment, which can take up to 5 minutes. We will notify you via email when your site is ready.', 'wp-multisite-waas'),
'tooltip' => '',
'html_attr' => [
'rows' => 4,
@@ -255,9 +255,9 @@ class Thank_You_Element extends Base_Element {
$fields['no_sites_message'] = [
'type' => 'textarea',
- 'title' => __('No Sites Message', 'wp-ultimo'),
- 'desc' => __('A message to show if membership has no sites. Shortcodes are supported.', 'wp-ultimo'),
- 'value' => __('No sites found', 'wp-ultimo'),
+ 'title' => __('No Sites Message', 'wp-multisite-waas'),
+ 'desc' => __('A message to show if membership has no sites. Shortcodes are supported.', 'wp-multisite-waas'),
+ 'value' => __('No sites found', 'wp-multisite-waas'),
'tooltip' => '',
'html_attr' => [
'rows' => 4,
@@ -312,11 +312,11 @@ class Thank_You_Element extends Base_Element {
public function defaults() {
return [
- 'title' => __('Thank You', 'wp-ultimo'),
- 'thank_you_message' => __('Thank you for your payment! Your transaction has been completed and a receipt for your purchase has been emailed to you.', 'wp-ultimo'),
- 'title_pending' => __('Thank You', 'wp-ultimo'),
- 'thank_you_message_pending' => __('Thank you for your order! We are waiting on the payment processor to confirm your payment, which can take up to 5 minutes. We will notify you via email when your site is ready.', 'wp-ultimo'),
- 'no_sites_message' => __('No sites found', 'wp-ultimo'),
+ 'title' => __('Thank You', 'wp-multisite-waas'),
+ 'thank_you_message' => __('Thank you for your payment! Your transaction has been completed and a receipt for your purchase has been emailed to you.', 'wp-multisite-waas'),
+ 'title_pending' => __('Thank You', 'wp-multisite-waas'),
+ 'thank_you_message_pending' => __('Thank you for your order! We are waiting on the payment processor to confirm your payment, which can take up to 5 minutes. We will notify you via email when your site is ready.', 'wp-multisite-waas'),
+ 'no_sites_message' => __('No sites found', 'wp-multisite-waas'),
];
}
diff --git a/inc/ui/class-tours.php b/inc/ui/class-tours.php
index 4834e5d..99a4cc4 100644
--- a/inc/ui/class-tours.php
+++ b/inc/ui/class-tours.php
@@ -95,8 +95,8 @@ class Tours {
'ajaxurl' => wu_ajax_url(),
'nonce' => wp_create_nonce('wu_tour_finished'),
'i18n' => [
- 'next' => __('Next', 'wp-ultimo'),
- 'finish' => __('Close', 'wp-ultimo'),
+ 'next' => __('Next', 'wp-multisite-waas'),
+ 'finish' => __('Close', 'wp-multisite-waas'),
],
]
);
diff --git a/sunrise.php b/sunrise.php
index 8bd3d8f..ec0266c 100644
--- a/sunrise.php
+++ b/sunrise.php
@@ -66,6 +66,8 @@ foreach ([$wu_sunrise, $wu_mu_sunrise] as $wu_sunrise_file) {
}
}
unset($wu_sunrise_file);
+unset($wu_mu_sunrise);
+unset($wu_sunrise);
/**
* Include Mercator.
*
@@ -81,6 +83,7 @@ $wu_mercator = defined('WP_PLUGIN_DIR')
if (file_exists($wu_mercator)) {
require $wu_mercator;
}
+unset($wu_mercator)
/**
* Adds a warning when WP Multisite WaaS is not present but the sunrise file is.
diff --git a/views/about.php b/views/about.php
index 5d00822..89c3c2f 100644
--- a/views/about.php
+++ b/views/about.php
@@ -21,7 +21,7 @@
-
+