Rename in more places
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* WP Ultimo About Admin Page.
|
||||
* WP Multisite WaaS About Admin Page.
|
||||
*
|
||||
* @package WP_Ultimo
|
||||
* @subpackage Admin_Pages
|
||||
@ -13,7 +13,7 @@ namespace WP_Ultimo\Admin_Pages;
|
||||
defined('ABSPATH') || exit;
|
||||
|
||||
/**
|
||||
* WP Ultimo About Admin Page.
|
||||
* WP Multisite WaaS About Admin Page.
|
||||
*/
|
||||
class About_Admin_Page extends Base_Admin_Page {
|
||||
|
||||
@ -98,7 +98,7 @@ class About_Admin_Page extends Base_Admin_Page {
|
||||
*/
|
||||
public function get_menu_title() {
|
||||
|
||||
return __('WP Ultimo', 'wp-ultimo');
|
||||
return __('Multisite WaaS', 'wp-ultimo');
|
||||
|
||||
} // end get_menu_title;
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* WP Ultimo Dashboard Admin Page.
|
||||
* WP Multisite WaaS Dashboard Admin Page.
|
||||
*
|
||||
* @package WP_Ultimo
|
||||
* @subpackage Admin_Pages
|
||||
@ -13,7 +13,7 @@ namespace WP_Ultimo\Admin_Pages;
|
||||
defined('ABSPATH') || exit;
|
||||
|
||||
/**
|
||||
* WP Ultimo Dashboard Admin Page.
|
||||
* WP Multisite WaaS Dashboard Admin Page.
|
||||
*/
|
||||
class Addons_Admin_Page extends Wizard_Admin_Page {
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* Abstract class that makes it easy to create new admin pages.
|
||||
*
|
||||
* Most of WP Ultimo pages are implemented using this class, which means that the filters and hooks
|
||||
* Most of WP Multisite WaaS pages are implemented using this class, which means that the filters and hooks
|
||||
* listed below can be used to append content to all of our pages at once.
|
||||
*
|
||||
* @package WP_Ultimo
|
||||
@ -195,7 +195,7 @@ abstract class Base_Admin_Page {
|
||||
*
|
||||
* Unlike the wu_page_load, which only runs when a specific page
|
||||
* is being seen, this hook runs at registration for every admin page
|
||||
* being added using WP Ultimo code.
|
||||
* being added using WP Multisite WaaS code.
|
||||
*
|
||||
* @since 2.0.0
|
||||
* @param string $page_id The ID of this page.
|
||||
@ -494,7 +494,7 @@ abstract class Base_Admin_Page {
|
||||
} // end add_submenu_page;
|
||||
|
||||
/**
|
||||
* Adds WP Ultimo branding to this page, if that's the case.
|
||||
* Adds WP Multisite WaaS branding to this page, if that's the case.
|
||||
*
|
||||
* @since 2.0.0
|
||||
* @return void
|
||||
@ -532,7 +532,7 @@ abstract class Base_Admin_Page {
|
||||
} // end add_container_toggle;
|
||||
|
||||
/**
|
||||
* Adds the WP Ultimo branding header.
|
||||
* Adds the WP Multisite WaaS branding header.
|
||||
*
|
||||
* @since 2.0.0
|
||||
* @return void
|
||||
@ -546,7 +546,7 @@ abstract class Base_Admin_Page {
|
||||
} // end brand_header;
|
||||
|
||||
/**
|
||||
* Adds the WP Ultimo branding footer.
|
||||
* Adds the WP Multisite WaaS branding footer.
|
||||
*
|
||||
* @since 2.0.0
|
||||
* @return void
|
||||
@ -626,7 +626,7 @@ abstract class Base_Admin_Page {
|
||||
add_action("load-$this->page_hook", array($this, 'add_admin_body_classes'), 20);
|
||||
|
||||
/*
|
||||
* Add the page to WP Ultimo branding (aka top-bar and footer)
|
||||
* Add the page to WP Multisite WaaS branding (aka top-bar and footer)
|
||||
*/
|
||||
if (is_network_admin()) {
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* WP Ultimo Broadcast Edit/Add New Admin Page.
|
||||
* WP Multisite WaaS Broadcast Edit/Add New Admin Page.
|
||||
*
|
||||
* @package WP_Ultimo
|
||||
* @subpackage Admin_Pages
|
||||
@ -15,7 +15,7 @@ defined('ABSPATH') || exit;
|
||||
use \WP_Ultimo\Models\Broadcast;
|
||||
|
||||
/**
|
||||
* WP Ultimo Broadcast Edit/Add New Admin Page.
|
||||
* WP Multisite WaaS Broadcast Edit/Add New Admin Page.
|
||||
*/
|
||||
class Broadcast_Edit_Admin_Page extends Edit_Admin_Page {
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* WP Ultimo Broadcast Admin Page.
|
||||
* WP Multisite WaaS Broadcast Admin Page.
|
||||
*
|
||||
* @package WP_Ultimo
|
||||
* @subpackage Admin_Pages
|
||||
@ -15,7 +15,7 @@ defined('ABSPATH') || exit;
|
||||
use \WP_Ultimo\Managers\Broadcast_Manager;
|
||||
|
||||
/**
|
||||
* WP Ultimo Broadcast Admin Page.
|
||||
* WP Multisite WaaS Broadcast Admin Page.
|
||||
*/
|
||||
class Broadcast_List_Admin_Page extends List_Admin_Page {
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* WP Ultimo Checkout_Form Edit/Add New Admin Page.
|
||||
* WP Multisite WaaS Checkout_Form Edit/Add New Admin Page.
|
||||
*
|
||||
* @package WP_Ultimo
|
||||
* @subpackage Admin_Pages
|
||||
@ -15,7 +15,7 @@ defined('ABSPATH') || exit;
|
||||
use \WP_Ultimo\Managers\Signup_Fields_Manager;
|
||||
|
||||
/**
|
||||
* WP Ultimo Checkout_Form Edit/Add New Admin Page.
|
||||
* WP Multisite WaaS Checkout_Form Edit/Add New Admin Page.
|
||||
* Here we use the default WP Session to avoid errors with cookie size.
|
||||
*/
|
||||
class Checkout_Form_Edit_Admin_Page extends Edit_Admin_Page {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* WP Ultimo Checkout Form Admin Page.
|
||||
* WP Multisite WaaS Checkout Form Admin Page.
|
||||
*
|
||||
* @package WP_Ultimo
|
||||
* @subpackage Admin_Pages
|
||||
@ -15,7 +15,7 @@ defined('ABSPATH') || exit;
|
||||
use \WP_Ultimo\Models\Checkout_Form;
|
||||
|
||||
/**
|
||||
* WP Ultimo Checkout Form Admin Page.
|
||||
* WP Multisite WaaS Checkout Form Admin Page.
|
||||
*/
|
||||
class Checkout_Form_List_Admin_Page extends List_Admin_Page {
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* WP Ultimo Customer Edit/Add New Admin Page.
|
||||
* WP Multisite WaaS Customer Edit/Add New Admin Page.
|
||||
*
|
||||
* @package WP_Ultimo
|
||||
* @subpackage Admin_Pages
|
||||
@ -15,7 +15,7 @@ defined('ABSPATH') || exit;
|
||||
use \WP_Ultimo\Database\Memberships\Membership_Status;
|
||||
|
||||
/**
|
||||
* WP Ultimo Customer Edit/Add New Admin Page.
|
||||
* WP Multisite WaaS Customer Edit/Add New Admin Page.
|
||||
*/
|
||||
class Customer_Edit_Admin_Page extends Edit_Admin_Page {
|
||||
|
||||
@ -697,7 +697,7 @@ class Customer_Edit_Admin_Page extends Edit_Admin_Page {
|
||||
),
|
||||
'custom_meta' => array(
|
||||
'title' => __('Custom Meta', 'wp-ultimo'),
|
||||
'desc' => __('Custom data collected via WP Ultimo forms.', 'wp-ultimo'),
|
||||
'desc' => __('Custom data collected via WP Multisite WaaS forms.', 'wp-ultimo'),
|
||||
'icon' => 'dashicons-wu-database wu-pt-px',
|
||||
'fields' => $this->generate_customer_meta_fields(),
|
||||
'state' => array(
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* WP Ultimo Dashboard Admin Page.
|
||||
* WP Multisite WaaS Dashboard Admin Page.
|
||||
*
|
||||
* @package WP_Ultimo
|
||||
* @subpackage Admin_Pages
|
||||
@ -13,7 +13,7 @@ namespace WP_Ultimo\Admin_Pages;
|
||||
defined('ABSPATH') || exit;
|
||||
|
||||
/**
|
||||
* WP Ultimo Dashboard Admin Page.
|
||||
* WP Multisite WaaS Dashboard Admin Page.
|
||||
*/
|
||||
class Customer_List_Admin_Page extends List_Admin_Page {
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* WP Ultimo Customize/Add New Template Previewer Page.
|
||||
* WP Multisite WaaS Customize/Add New Template Previewer Page.
|
||||
*
|
||||
* @package WP_Ultimo
|
||||
* @subpackage Admin_Pages
|
||||
@ -13,7 +13,7 @@ namespace WP_Ultimo\Admin_Pages;
|
||||
defined('ABSPATH') || exit;
|
||||
|
||||
/**
|
||||
* WP Ultimo Template Previewer Customize/Add New Admin Page.
|
||||
* WP Multisite WaaS Template Previewer Customize/Add New Admin Page.
|
||||
*/
|
||||
abstract class Customizer_Admin_Page extends Edit_Admin_Page {
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* WP Ultimo Dashboard Admin Page.
|
||||
* WP Multisite WaaS Dashboard Admin Page.
|
||||
*
|
||||
* @package WP_Ultimo
|
||||
* @subpackage Admin_Pages
|
||||
@ -15,7 +15,7 @@ defined('ABSPATH') || exit;
|
||||
use \WP_Ultimo\Dashboard_Statistics;
|
||||
|
||||
/**
|
||||
* WP Ultimo Dashboard Admin Page.
|
||||
* WP Multisite WaaS Dashboard Admin Page.
|
||||
*/
|
||||
class Dashboard_Admin_Page extends Base_Admin_Page {
|
||||
|
||||
@ -219,7 +219,7 @@ class Dashboard_Admin_Page extends Base_Admin_Page {
|
||||
*
|
||||
* @param string $tab The current tab.
|
||||
* @param \WP_Screen $screen The screen object.
|
||||
* @param \WP_Ultimo\Admin_Pages\Dashboard_Admin_Page $page WP Ultimo admin page instance.
|
||||
* @param \WP_Ultimo\Admin_Pages\Dashboard_Admin_Page $page WP Multisite WaaS admin page instance.
|
||||
*/
|
||||
do_action("wu_dashboard_{$this->tab}_widgets", $this->tab, $screen, $this);
|
||||
|
||||
@ -230,7 +230,7 @@ class Dashboard_Admin_Page extends Base_Admin_Page {
|
||||
*
|
||||
* @param string $tab The current tab.
|
||||
* @param \WP_Screen $screen The screen object.
|
||||
* @param \WP_Ultimo\Admin_Pages\Dashboard_Admin_Page $page WP Ultimo admin page instance.
|
||||
* @param \WP_Ultimo\Admin_Pages\Dashboard_Admin_Page $page WP Multisite WaaS admin page instance.
|
||||
*/
|
||||
do_action('wu_dashboard_widgets', $this->tab, $screen, $this);
|
||||
|
||||
@ -241,14 +241,14 @@ class Dashboard_Admin_Page extends Base_Admin_Page {
|
||||
'id' => 'your-dashboard',
|
||||
'title' => __('Our dashboard', 'wp-ultimo'),
|
||||
'text' => array(
|
||||
__('This is the <strong>WP Ultimo Dashboard</strong>, where you will find most of the important information you will need regarding your business\' performance.', 'wp-ultimo'),
|
||||
__('This is the <strong>WP Multisite WaaS Dashboard</strong>, where you will find most of the important information you will need regarding your business\' performance.', 'wp-ultimo'),
|
||||
),
|
||||
),
|
||||
array(
|
||||
'id' => 'documentation',
|
||||
'title' => __('Learning more', 'wp-ultimo'),
|
||||
'text' => array(
|
||||
__('Most of the WP Ultimo admin pages will contain a link like this one at the top. These will link directly to the relevant knowledge base page on the WP Ultimo site.', 'wp-ultimo'),
|
||||
__('Most of the WP Multisite WaaS admin pages will contain a link like this one at the top. These will link directly to the relevant knowledge base page on the WP Multisite WaaS site.', 'wp-ultimo'),
|
||||
),
|
||||
'attachTo' => array(
|
||||
'element' => '#wp-ultimo-wrap > h1 > a:last-child',
|
||||
@ -554,7 +554,7 @@ class Dashboard_Admin_Page extends Base_Admin_Page {
|
||||
*/
|
||||
public function get_menu_title() {
|
||||
|
||||
return __('WP Ultimo', 'wp-ultimo');
|
||||
return __('Multisite WaaS', 'wp-ultimo');
|
||||
|
||||
} // end get_menu_title;
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* WP Ultimo Discount_Code Edit/Add New Admin Page.
|
||||
* WP Multisite WaaS Discount_Code Edit/Add New Admin Page.
|
||||
*
|
||||
* @package WP_Ultimo
|
||||
* @subpackage Admin_Pages
|
||||
@ -16,7 +16,7 @@ use \WP_Ultimo\Models\Discount_Code;
|
||||
use \WP_Ultimo\Managers\Discount_Code_Manager;
|
||||
|
||||
/**
|
||||
* WP Ultimo Discount_Code Edit/Add New Admin Page.
|
||||
* WP Multisite WaaS Discount_Code Edit/Add New Admin Page.
|
||||
*/
|
||||
class Discount_Code_Edit_Admin_Page extends Edit_Admin_Page {
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* WP Ultimo Discount Code Admin Page.
|
||||
* WP Multisite WaaS Discount Code Admin Page.
|
||||
*
|
||||
* @package WP_Ultimo
|
||||
* @subpackage Admin_Pages
|
||||
@ -13,7 +13,7 @@ namespace WP_Ultimo\Admin_Pages;
|
||||
defined('ABSPATH') || exit;
|
||||
|
||||
/**
|
||||
* WP Ultimo Discount Code Admin Page.
|
||||
* WP Multisite WaaS Discount Code Admin Page.
|
||||
*/
|
||||
class Discount_Code_List_Admin_Page extends List_Admin_Page {
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* WP Ultimo Domain Edit/Add New Admin Page.
|
||||
* WP Multisite WaaS Domain Edit/Add New Admin Page.
|
||||
*
|
||||
* @package WP_Ultimo
|
||||
* @subpackage Admin_Pages
|
||||
@ -15,7 +15,7 @@ defined('ABSPATH') || exit;
|
||||
use \WP_Ultimo\Database\Domains\Domain_Stage;
|
||||
|
||||
/**
|
||||
* WP Ultimo Domain Edit/Add New Admin Page.
|
||||
* WP Multisite WaaS Domain Edit/Add New Admin Page.
|
||||
*/
|
||||
class Domain_Edit_Admin_Page extends Edit_Admin_Page {
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* WP Ultimo Dashboard Admin Page.
|
||||
* WP Multisite WaaS Dashboard Admin Page.
|
||||
*
|
||||
* @package WP_Ultimo
|
||||
* @subpackage Admin_Pages
|
||||
@ -16,7 +16,7 @@ use \WP_Ultimo\Models\Domain;
|
||||
use \WP_Ultimo\Database\Domains\Domain_Stage;
|
||||
|
||||
/**
|
||||
* WP Ultimo Dashboard Admin Page.
|
||||
* WP Multisite WaaS Dashboard Admin Page.
|
||||
*/
|
||||
class Domain_List_Admin_Page extends List_Admin_Page {
|
||||
|
||||
@ -88,7 +88,7 @@ class Domain_List_Admin_Page extends List_Admin_Page {
|
||||
));
|
||||
|
||||
// translators: %s is the URL to the add-on.
|
||||
$note_desc = sprintf(__('To activate this feature you need to install the <a href="%s" target="_blank" class="wu-no-underline">WP Ultimo: Domain Seller</a> add-on.', 'wp-ultimo'), $addon_url);
|
||||
$note_desc = sprintf(__('To activate this feature you need to install the <a href="%s" target="_blank" class="wu-no-underline">WP Multisite WaaS: Domain Seller</a> add-on.', 'wp-ultimo'), $addon_url);
|
||||
|
||||
$fields = array(
|
||||
'type' => array(
|
||||
@ -130,7 +130,7 @@ class Domain_List_Admin_Page extends List_Admin_Page {
|
||||
'type' => 'select',
|
||||
'title' => __('Stage', 'wp-ultimo'),
|
||||
'placeholder' => __('Select Stage', 'wp-ultimo'),
|
||||
'desc' => __('The stage in the domain check lifecycle. Leave "Checking DNS" to have the domain go through WP Ultimo\'s automated tests.', 'wp-ultimo'),
|
||||
'desc' => __('The stage in the domain check lifecycle. Leave "Checking DNS" to have the domain go through WP Multisite WaaS\'s automated tests.', 'wp-ultimo'),
|
||||
'options' => Domain_Stage::to_array(),
|
||||
'value' => Domain_Stage::CHECKING_DNS,
|
||||
),
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* Abstract class that makes it easy to create new admin pages.
|
||||
*
|
||||
* Most of WP Ultimo pages are implemented using this class, which means that the filters and hooks
|
||||
* Most of WP Multisite WaaS pages are implemented using this class, which means that the filters and hooks
|
||||
* listed below can be used to append content to all of our pages at once.
|
||||
*
|
||||
* @package WP_Ultimo
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* WP Ultimo Email Edit/Add New Admin Page.
|
||||
* WP Multisite WaaS Email Edit/Add New Admin Page.
|
||||
*
|
||||
* @package WP_Ultimo
|
||||
* @subpackage Admin_Pages
|
||||
@ -16,7 +16,7 @@ use \WP_Ultimo\Models\Email;
|
||||
use \WP_Ultimo\Managers\Email_Manager;
|
||||
|
||||
/**
|
||||
* WP Ultimo Email Edit/Add New Admin Page.
|
||||
* WP Multisite WaaS Email Edit/Add New Admin Page.
|
||||
*/
|
||||
class Email_Edit_Admin_Page extends Edit_Admin_Page {
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* WP Ultimo Broadcast Admin Page.
|
||||
* WP Multisite WaaS Broadcast Admin Page.
|
||||
*
|
||||
* @package WP_Ultimo
|
||||
* @subpackage Admin_Pages
|
||||
@ -13,7 +13,7 @@ namespace WP_Ultimo\Admin_Pages;
|
||||
defined('ABSPATH') || exit;
|
||||
|
||||
/**
|
||||
* WP Ultimo Broadcast Admin Page.
|
||||
* WP Multisite WaaS Broadcast Admin Page.
|
||||
*/
|
||||
class Email_List_Admin_Page extends List_Admin_Page {
|
||||
|
||||
@ -378,7 +378,7 @@ class Email_List_Admin_Page extends List_Admin_Page {
|
||||
$fields['import_emails'] = array(
|
||||
'type' => 'toggle',
|
||||
'title' => __('Import System Emails', 'wp-ultimo'),
|
||||
'desc' => __('Add new system emails based on WP Ultimo presets.'),
|
||||
'desc' => __('Add new system emails based on WP Multisite WaaS presets.'),
|
||||
'tooltip' => '',
|
||||
'value' => 0,
|
||||
'html_attr' => array(
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* WP Ultimo Customize/Add New Email Template Page.
|
||||
* WP Multisite WaaS Customize/Add New Email Template Page.
|
||||
*
|
||||
* @package WP_Ultimo
|
||||
* @subpackage Admin_Pages
|
||||
@ -13,7 +13,7 @@ namespace WP_Ultimo\Admin_Pages;
|
||||
defined('ABSPATH') || exit;
|
||||
|
||||
/**
|
||||
* WP Ultimo Email Template Customize/Add New Admin Page.
|
||||
* WP Multisite WaaS Email Template Customize/Add New Admin Page.
|
||||
*/
|
||||
class Email_Template_Customize_Admin_Page extends Customizer_Admin_Page {
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* WP Ultimo Event Admin Page.
|
||||
* WP Multisite WaaS Event Admin Page.
|
||||
*
|
||||
* @package WP_Ultimo
|
||||
* @subpackage Admin_Pages
|
||||
@ -15,7 +15,7 @@ use \WP_Ultimo\Models\Event;
|
||||
defined('ABSPATH') || exit;
|
||||
|
||||
/**
|
||||
* WP Ultimo Event Admin Page.
|
||||
* WP Multisite WaaS Event Admin Page.
|
||||
*/
|
||||
class Event_List_Admin_Page extends List_Admin_Page {
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* WP Ultimo Event View Admin Page.
|
||||
* WP Multisite WaaS Event View Admin Page.
|
||||
*
|
||||
* @package WP_Ultimo
|
||||
* @subpackage Admin_Pages
|
||||
@ -15,7 +15,7 @@ defined('ABSPATH') || exit;
|
||||
use \WP_Ultimo\Models\Event;
|
||||
|
||||
/**
|
||||
* WP Ultimo Event View Admin Page.
|
||||
* WP Multisite WaaS Event View Admin Page.
|
||||
*/
|
||||
class Event_View_Admin_Page extends Edit_Admin_Page {
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* WP Ultimo Dashboard Admin Page.
|
||||
* WP Multisite WaaS Dashboard Admin Page.
|
||||
*
|
||||
* @package WP_Ultimo
|
||||
* @subpackage Admin_Pages
|
||||
@ -13,7 +13,7 @@ namespace WP_Ultimo\Admin_Pages;
|
||||
defined('ABSPATH') || exit;
|
||||
|
||||
/**
|
||||
* WP Ultimo Dashboard Admin Page.
|
||||
* WP Multisite WaaS Dashboard Admin Page.
|
||||
*/
|
||||
class Hosting_Integration_Wizard_Admin_Page extends Wizard_Admin_Page {
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* WP Ultimo Customize/Add New Invoice Template Page.
|
||||
* WP Multisite WaaS Customize/Add New Invoice Template Page.
|
||||
*
|
||||
* @package WP_Ultimo
|
||||
* @subpackage Admin_Pages
|
||||
@ -15,7 +15,7 @@ use \WP_Ultimo\Invoices\Invoice;
|
||||
defined('ABSPATH') || exit;
|
||||
|
||||
/**
|
||||
* WP Ultimo Invoice Template Customize/Add New Admin Page.
|
||||
* WP Multisite WaaS Invoice Template Customize/Add New Admin Page.
|
||||
*/
|
||||
class Invoice_Template_Customize_Admin_Page extends Customizer_Admin_Page {
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* WP Ultimo Jobs Admin Page.
|
||||
* WP Multisite WaaS Jobs Admin Page.
|
||||
*
|
||||
* @package WP_Ultimo
|
||||
* @subpackage Admin_Pages
|
||||
@ -13,7 +13,7 @@ namespace WP_Ultimo\Admin_Pages;
|
||||
defined('ABSPATH') || exit;
|
||||
|
||||
/**
|
||||
* WP Ultimo Jobs Admin Page.
|
||||
* WP Multisite WaaS Jobs Admin Page.
|
||||
*/
|
||||
class Jobs_List_Admin_Page extends Base_Admin_Page {
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* Abstract class that makes it easy to create new admin pages.
|
||||
*
|
||||
* Most of WP Ultimo pages are implemented using this class, which means that the filters and hooks
|
||||
* Most of WP Multisite WaaS pages are implemented using this class, which means that the filters and hooks
|
||||
* listed below can be used to append content to all of our pages at once.
|
||||
*
|
||||
* @package WP_Ultimo
|
||||
@ -223,7 +223,7 @@ abstract class List_Admin_Page extends Base_Admin_Page {
|
||||
} // end save_screen_option;
|
||||
|
||||
/**
|
||||
* Dumb function. Child classes need to implement this to set the table that WP Ultimo will use
|
||||
* Dumb function. Child classes need to implement this to set the table that WP Multisite WaaS will use
|
||||
*
|
||||
* @since 1.8.2
|
||||
* @return WP_List_Table
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* WP Ultimo Membership Edit/Add New Admin Page.
|
||||
* WP Multisite WaaS Membership Edit/Add New Admin Page.
|
||||
*
|
||||
* @package WP_Ultimo
|
||||
* @subpackage Admin_Pages
|
||||
@ -15,7 +15,7 @@ defined('ABSPATH') || exit;
|
||||
use \WP_Ultimo\Database\Memberships\Membership_Status;
|
||||
|
||||
/**
|
||||
* WP Ultimo Membership Edit/Add New Admin Page.
|
||||
* WP Multisite WaaS Membership Edit/Add New Admin Page.
|
||||
*/
|
||||
class Membership_Edit_Admin_Page extends Edit_Admin_Page {
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* WP Ultimo Membership Admin Page.
|
||||
* WP Multisite WaaS Membership Admin Page.
|
||||
*
|
||||
* @package WP_Ultimo
|
||||
* @subpackage Admin_Pages
|
||||
@ -16,7 +16,7 @@ use \WP_Ultimo\Models\Membership;
|
||||
use \WP_Ultimo\Database\Memberships\Membership_Status;
|
||||
|
||||
/**
|
||||
* WP Ultimo Membership Admin Page.
|
||||
* WP Multisite WaaS Membership Admin Page.
|
||||
*/
|
||||
class Membership_List_Admin_Page extends List_Admin_Page {
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* WP Ultimo Dashboard Admin Page.
|
||||
* WP Multisite WaaS Dashboard Admin Page.
|
||||
*
|
||||
* @package WP_Ultimo
|
||||
* @subpackage Admin_Pages
|
||||
@ -19,7 +19,7 @@ use \WP_Ultimo\Installers\Default_Content_Installer;
|
||||
use \WP_Ultimo\Logger;
|
||||
|
||||
/**
|
||||
* WP Ultimo Dashboard Admin Page.
|
||||
* WP Multisite WaaS Dashboard Admin Page.
|
||||
*/
|
||||
class Migration_Alert_Admin_Page extends Wizard_Admin_Page {
|
||||
|
||||
@ -124,7 +124,7 @@ class Migration_Alert_Admin_Page extends Wizard_Admin_Page {
|
||||
*/
|
||||
public function get_menu_title() {
|
||||
|
||||
return WP_Ultimo()->is_loaded() ? __('WP Ultimo Migration Alert', 'wp-ultimo') : __('WP Ultimo', 'wp-ultimo');
|
||||
return WP_Ultimo()->is_loaded() ? __('WP Multisite WaaS Migration Alert', 'wp-ultimo') : __('WP Multisite WaaS', 'wp-ultimo');
|
||||
|
||||
} // end get_menu_title;
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* WP Ultimo Payment Edit/Add New Admin Page.
|
||||
* WP Multisite WaaS Payment Edit/Add New Admin Page.
|
||||
*
|
||||
* @package WP_Ultimo
|
||||
* @subpackage Admin_Pages
|
||||
@ -16,7 +16,7 @@ use \WP_Ultimo\Models\Payment;
|
||||
use \WP_Ultimo\Database\Payments\Payment_Status;
|
||||
|
||||
/**
|
||||
* WP Ultimo Payment Edit/Add New Admin Page.
|
||||
* WP Multisite WaaS Payment Edit/Add New Admin Page.
|
||||
*/
|
||||
class Payment_Edit_Admin_Page extends Edit_Admin_Page {
|
||||
|
||||
@ -287,7 +287,7 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page {
|
||||
),
|
||||
'refund_not_immediate_note' => array(
|
||||
'type' => 'note',
|
||||
'desc' => __('Confirming the refund might not immediately change the status of the payment, as each gateway handles refunds differently and WP Ultimo 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-ultimo'),
|
||||
'classes' => 'wu-p-2 wu-bg-yellow-200 wu-text-yellow-700 wu-rounded wu-w-full',
|
||||
'wrapper_html_attr' => array(
|
||||
'v-show' => 'step === 2',
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* WP Ultimo Payment Admin Page.
|
||||
* WP Multisite WaaS Payment Admin Page.
|
||||
*
|
||||
* @package WP_Ultimo
|
||||
* @subpackage Admin_Pages
|
||||
@ -15,7 +15,7 @@ defined('ABSPATH') || exit;
|
||||
use \WP_Ultimo\Database\Payments\Payment_Status;
|
||||
|
||||
/**
|
||||
* WP Ultimo Payment Admin Page.
|
||||
* WP Multisite WaaS Payment Admin Page.
|
||||
*/
|
||||
class Payment_List_Admin_Page extends List_Admin_Page {
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* WP Ultimo About Admin Page.
|
||||
* WP Multisite WaaS About Admin Page.
|
||||
*
|
||||
* @package WP_Ultimo
|
||||
* @subpackage Admin_Pages
|
||||
@ -13,7 +13,7 @@ namespace WP_Ultimo\Admin_Pages;
|
||||
defined('ABSPATH') || exit;
|
||||
|
||||
/**
|
||||
* WP Ultimo About Admin Page.
|
||||
* WP Multisite WaaS About Admin Page.
|
||||
*/
|
||||
class Placeholders_Admin_Page extends Base_Admin_Page {
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* WP Ultimo Product Edit/Add New Admin Page.
|
||||
* WP Multisite WaaS Product Edit/Add New Admin Page.
|
||||
*
|
||||
* @package WP_Ultimo
|
||||
* @subpackage Admin_Pages
|
||||
@ -16,7 +16,7 @@ use \WP_Ultimo\Models\Product;
|
||||
use \WP_Ultimo\Database\Products\Product_Type;
|
||||
|
||||
/**
|
||||
* WP Ultimo Product Edit/Add New Admin Page.
|
||||
* WP Multisite WaaS Product Edit/Add New Admin Page.
|
||||
*/
|
||||
class Product_Edit_Admin_Page extends Edit_Admin_Page {
|
||||
|
||||
@ -120,7 +120,7 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page {
|
||||
'id' => 'new-product-warning',
|
||||
'title' => __('On adding a new product...', 'wp-ultimo'),
|
||||
'text' => array(
|
||||
__("You just successfully added a new product to your WP Ultimo network and that's awesome!", 'wp-ultimo'),
|
||||
__("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'),
|
||||
),
|
||||
@ -641,7 +641,7 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page {
|
||||
),
|
||||
'modules[customer_user_role][limit]' => array(
|
||||
'title' => __('Customer Role', 'wp-ultimo'),
|
||||
'desc' => __('Select the role WP Ultimo should use when adding the user to their newly created site.', 'wp-ultimo'),
|
||||
'desc' => __('Select the role WP Multisite WaaS should use when adding the user to their newly created site.', 'wp-ultimo'),
|
||||
'type' => 'select',
|
||||
'value' => $this->get_object()->get_customer_role(),
|
||||
'default' => 'administrator',
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* WP Ultimo Product Admin Page.
|
||||
* WP Multisite WaaS Product Admin Page.
|
||||
*
|
||||
* @package WP_Ultimo
|
||||
* @subpackage Admin_Pages
|
||||
@ -13,7 +13,7 @@ namespace WP_Ultimo\Admin_Pages;
|
||||
defined('ABSPATH') || exit;
|
||||
|
||||
/**
|
||||
* WP Ultimo Product Admin Page.
|
||||
* WP Multisite WaaS Product Admin Page.
|
||||
*/
|
||||
class Product_List_Admin_Page extends List_Admin_Page {
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* WP Ultimo Rollback Admin Page.
|
||||
* WP Multisite WaaS Rollback Admin Page.
|
||||
*
|
||||
* @package WP_Ultimo
|
||||
* @subpackage Admin_Pages
|
||||
@ -13,7 +13,7 @@ namespace WP_Ultimo\Admin_Pages;
|
||||
defined('ABSPATH') || exit;
|
||||
|
||||
/**
|
||||
* WP Ultimo Rollback Admin Page.
|
||||
* WP Multisite WaaS Rollback Admin Page.
|
||||
*/
|
||||
class Rollback_Admin_Page extends Base_Admin_Page {
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* WP Ultimo Dashboard Admin Page.
|
||||
* WP Multisite WaaS Dashboard Admin Page.
|
||||
*
|
||||
* @package WP_Ultimo
|
||||
* @subpackage Admin_Pages
|
||||
@ -17,7 +17,7 @@ use \WP_Ultimo\UI\Field;
|
||||
defined('ABSPATH') || exit;
|
||||
|
||||
/**
|
||||
* WP Ultimo Dashboard Admin Page.
|
||||
* WP Multisite WaaS Dashboard Admin Page.
|
||||
*/
|
||||
class Settings_Admin_Page extends Wizard_Admin_Page {
|
||||
|
||||
@ -203,15 +203,15 @@ class Settings_Admin_Page extends Wizard_Admin_Page {
|
||||
<div class="wu-p-4">
|
||||
|
||||
<span class="wu-text-gray-700 wu-font-bold wu-uppercase wu-tracking-wide wu-text-xs">
|
||||
<?php _e('WP Ultimo Add-ons', 'wp-ultimo'); ?>
|
||||
<?php _e('WP Multisite WaaS Add-ons', 'wp-ultimo'); ?>
|
||||
</span>
|
||||
|
||||
<div class="wu-py-2">
|
||||
<img class="wu-w-full" alt="<?php esc_attr_e('WP Ultimo Add-ons', 'wp-ultimo'); ?>" src="<?php echo wu_get_asset('sidebar/add-ons.png'); ?>">
|
||||
<img class="wu-w-full" alt="<?php esc_attr_e('WP Multisite WaaS Add-ons', 'wp-ultimo'); ?>" src="<?php echo wu_get_asset('sidebar/add-ons.png'); ?>">
|
||||
</div>
|
||||
|
||||
<p class="wu-text-gray-600 wu-p-0 wu-m-0">
|
||||
<?php _e('You can extend WP Ultimo\'s functionality by installing one of our add-ons!', 'wp-ultimo'); ?>
|
||||
<?php _e('You can extend WP Multisite WaaS\'s functionality by installing one of our add-ons!', 'wp-ultimo'); ?>
|
||||
</p>
|
||||
|
||||
</div>
|
||||
@ -249,14 +249,14 @@ class Settings_Admin_Page extends Wizard_Admin_Page {
|
||||
<div class="wu-p-4">
|
||||
|
||||
<span class="wu-p-2 wu-bg-red-100 wu-text-red-600 wu-rounded wu-block">
|
||||
<?php _e('Your copy of WP Ultimo is not currently active. That means you will not have access to plugin updates and add-ons.', 'wp-ultimo'); ?>
|
||||
<?php _e('Your copy of WP Multisite WaaS is not currently active. That means you will not have access to plugin updates and add-ons.', 'wp-ultimo'); ?>
|
||||
</span>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="wu-p-4 wu-bg-gray-100 wu-border-solid wu-border-0 wu-border-t wu-border-gray-300">
|
||||
<a id="wu-activate-license-key-button" class="button wu-w-full wu-text-center wubox" title="<?php esc_attr_e('Activate WP Ultimo', 'wp-ultimo'); ?>" href="<?php echo wu_get_form_url('license_activation'); ?>">
|
||||
<?php _e('Activate WP Ultimo →', 'wp-ultimo'); ?>
|
||||
<a id="wu-activate-license-key-button" class="button wu-w-full wu-text-center wubox" title="<?php esc_attr_e('Activate WP Multisite WaaS', 'wp-ultimo'); ?>" href="<?php echo wu_get_form_url('license_activation'); ?>">
|
||||
<?php _e('Activate WP Multisite WaaS →', 'wp-ultimo'); ?>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
@ -281,7 +281,7 @@ class Settings_Admin_Page extends Wizard_Admin_Page {
|
||||
">
|
||||
<?php echo substr_replace((string) $license->secret_key, str_repeat('*', 16), 4, 24); ?>
|
||||
<a
|
||||
title="<?php esc_attr_e('Deactivate WP Ultimo License', 'wp-ultimo'); ?>"
|
||||
title="<?php esc_attr_e('Deactivate WP Multisite WaaS License', 'wp-ultimo'); ?>"
|
||||
class="dashicons dashicons-trash wu-text-red-600 wubox"
|
||||
href="<?php echo wu_get_form_url('license_deactivation'); ?>"
|
||||
></a>
|
||||
@ -535,7 +535,7 @@ class Settings_Admin_Page extends Wizard_Admin_Page {
|
||||
</div>
|
||||
|
||||
<p class="wu-text-gray-600 wu-p-0 wu-m-0">
|
||||
<?php _e('You can completely customize the contents of the emails sent out by WP Ultimo when particular events occur, such as Account Creation, Payment Failures, etc.', 'wp-ultimo'); ?>
|
||||
<?php _e('You can completely customize the contents of the emails sent out by WP Multisite WaaS when particular events occur, such as Account Creation, Payment Failures, etc.', 'wp-ultimo'); ?>
|
||||
</p>
|
||||
|
||||
</div>
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* WP Ultimo Dashboard Admin Page.
|
||||
* WP Multisite WaaS Dashboard Admin Page.
|
||||
*
|
||||
* @package WP_Ultimo
|
||||
* @subpackage Admin_Pages
|
||||
@ -19,7 +19,7 @@ use \WP_Ultimo\Installers\Default_Content_Installer;
|
||||
use \WP_Ultimo\Logger;
|
||||
|
||||
/**
|
||||
* WP Ultimo Dashboard Admin Page.
|
||||
* WP Multisite WaaS Dashboard Admin Page.
|
||||
*/
|
||||
class Setup_Wizard_Admin_Page extends Wizard_Admin_Page {
|
||||
|
||||
@ -229,7 +229,7 @@ class Setup_Wizard_Admin_Page extends Wizard_Admin_Page {
|
||||
} // end is_migration;
|
||||
|
||||
/**
|
||||
* Adds missing setup from settings when WP Ultimo is not fully loaded.
|
||||
* Adds missing setup from settings when WP Multisite WaaS is not fully loaded.
|
||||
*
|
||||
* @since 2.0.0
|
||||
* @return void
|
||||
@ -342,7 +342,7 @@ class Setup_Wizard_Admin_Page extends Wizard_Admin_Page {
|
||||
*/
|
||||
public function get_menu_title() {
|
||||
|
||||
return WP_Ultimo()->is_loaded() ? __('WP Ultimo Install', 'wp-ultimo') : __('WP Ultimo', 'wp-ultimo');
|
||||
return WP_Ultimo()->is_loaded() ? __('WP Multisite WaaS Install', 'wp-ultimo') : __('WP Multisite WaaS', 'wp-ultimo');
|
||||
|
||||
} // end get_menu_title;
|
||||
|
||||
@ -360,8 +360,8 @@ class Setup_Wizard_Admin_Page extends Wizard_Admin_Page {
|
||||
'welcome' => array(
|
||||
'title' => __('Welcome', 'wp-ultimo'),
|
||||
'description' => implode('<br><br>', array(
|
||||
__('...and thanks for choosing WP Ultimo!', '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 Ultimo versions if necessary.', 'wp-ultimo'),
|
||||
__('...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')
|
||||
)),
|
||||
'next_label' => __('Get Started →', 'wp-ultimo'),
|
||||
@ -369,7 +369,7 @@ class Setup_Wizard_Admin_Page extends Wizard_Admin_Page {
|
||||
),
|
||||
'checks' => array(
|
||||
'title' => __('Pre-install Checks', 'wp-ultimo'),
|
||||
'description' => __('Now it is time to see if this machine has what it takes to run WP Ultimo well!', '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'),
|
||||
'handler' => array($this, 'handle_checks'),
|
||||
'back' => false,
|
||||
@ -380,40 +380,9 @@ class Setup_Wizard_Admin_Page extends Wizard_Admin_Page {
|
||||
)
|
||||
),
|
||||
),
|
||||
'activation' => array(
|
||||
'title' => __('License Activation', 'wp-ultimo'),
|
||||
'description' => __('Let\'s make sure you are able to keep your copy up-to-date with our latest updates via admin panel notifications and more.', 'wp-ultimo'),
|
||||
'handler' => array($this, 'handle_activation'),
|
||||
'next_label' => __('Agree & Activate →', 'wp-ultimo'),
|
||||
'back' => false,
|
||||
'skip' => $allowed,
|
||||
'fields' => array(
|
||||
'terms' => array(
|
||||
'type' => 'note',
|
||||
'desc' => array($this, '_terms_of_support'),
|
||||
),
|
||||
'license_key' => array(
|
||||
'type' => 'text',
|
||||
'title' => __('License Key', 'wp-ultimo'),
|
||||
'placeholder' => __('E.g. sk_***********', 'wp-ultimo'),
|
||||
'tooltip' => __('Your WP Ultimo License Key', 'wp-ultimo'),
|
||||
'desc' => array($this, '_desc_and_validation_error'),
|
||||
'wrapper_classes' => $allowed ? 'wu-hidden' : '',
|
||||
'html_attr' => array(
|
||||
$allowed ? 'disabled' : 'data-none' => 'disabled',
|
||||
),
|
||||
),
|
||||
'license' => array(
|
||||
'wrapper_classes' => $allowed ? 'sm:wu-w-auto sm:wu-block' : 'sm:wu-w-auto wu-hidden',
|
||||
'classes' => 'sm:wu--mx-6 sm:wu--mt-4 sm:wu--mb-6',
|
||||
'type' => 'note',
|
||||
'desc' => array($this, '_current_license'),
|
||||
),
|
||||
),
|
||||
),
|
||||
'installation' => array(
|
||||
'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 Ultimo.', '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'),
|
||||
'fields' => array(
|
||||
'terms' => array(
|
||||
@ -445,7 +414,7 @@ class Setup_Wizard_Admin_Page extends Wizard_Admin_Page {
|
||||
|
||||
$next_label = __('Run Check', 'wp-ultimo');
|
||||
|
||||
$description = __('It seems that you were running WP Ultimo 1.X on this network. This migrator will convert the data from the old version to the new one.', 'wp-ultimo') . '<br><br>' . __('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-ultimo') . '<br><br>' . __('First, let\'s run a test migration to see if we can spot any potential errors.', 'wp-ultimo');
|
||||
|
||||
} // end if;
|
||||
|
||||
@ -771,7 +740,7 @@ class Setup_Wizard_Admin_Page extends Wizard_Admin_Page {
|
||||
'pass_requirements' => is_multisite(),
|
||||
),
|
||||
'wp-ultimo' => array(
|
||||
'name' => __('WP Ultimo', 'wp-ultimo'),
|
||||
'name' => __('WP Multisite WaaS', 'wp-ultimo'),
|
||||
'help' => wu_get_documentation_url('wp-ultimo-requirements'),
|
||||
'condition' => apply_filters('wp_ultimo_skip_network_active_check', false) ? __('Bypassed via filter', 'wp-ultimo') : __('Network Activated', 'wp-ultimo'),
|
||||
'pass_requirements' => \WP_Ultimo\Requirements::is_network_active(),
|
||||
@ -917,43 +886,6 @@ class Setup_Wizard_Admin_Page extends Wizard_Admin_Page {
|
||||
|
||||
} // end handle_migration;
|
||||
|
||||
/**
|
||||
* Handles the activation of a given integration.
|
||||
*
|
||||
* @since 2.0.0
|
||||
* @return void|WP_Error
|
||||
*/
|
||||
public function handle_activation() {
|
||||
|
||||
$license = License::get_instance();
|
||||
|
||||
/*
|
||||
* Already activated.
|
||||
*/
|
||||
if ($license->allowed()) {
|
||||
|
||||
wp_redirect($this->get_next_section_link());
|
||||
|
||||
exit;
|
||||
|
||||
} // end if;
|
||||
|
||||
$activation_results = $license->activate(wu_request('license_key'));
|
||||
|
||||
if (is_wp_error($activation_results)) {
|
||||
|
||||
$_REQUEST['error'] = $activation_results->get_error_message();
|
||||
|
||||
} else {
|
||||
|
||||
wp_redirect($this->get_next_section_link());
|
||||
|
||||
exit;
|
||||
|
||||
} // end if;
|
||||
|
||||
} // end handle_activation;
|
||||
|
||||
/**
|
||||
* Handles the configuration of a given integration.
|
||||
*
|
||||
@ -996,7 +928,7 @@ class Setup_Wizard_Admin_Page extends Wizard_Admin_Page {
|
||||
} // end section_test;
|
||||
|
||||
/**
|
||||
* Adds the necessary missing scripts if WP Ultimo was not loaded.
|
||||
* Adds the necessary missing scripts if WP Multisite WaaS was not loaded.
|
||||
*
|
||||
* @since 2.0.0
|
||||
* @return void
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* WP Ultimo Shortcodes Admin Page.
|
||||
* WP Multisite WaaS Shortcodes Admin Page.
|
||||
*
|
||||
* @package WP_Ultimo
|
||||
* @subpackage Admin_Pages
|
||||
@ -15,7 +15,7 @@ use WP_Ultimo\UI\Base_Element;
|
||||
defined('ABSPATH') || exit;
|
||||
|
||||
/**
|
||||
* WP Ultimo Shortcodes Admin Page.
|
||||
* WP Multisite WaaS Shortcodes Admin Page.
|
||||
*/
|
||||
class Shortcodes_Admin_Page extends Base_Admin_Page {
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* WP Ultimo Site Edit New Admin Page.
|
||||
* WP Multisite WaaS Site Edit New Admin Page.
|
||||
*
|
||||
* @package WP_Ultimo
|
||||
* @subpackage Admin_Pages
|
||||
@ -16,7 +16,7 @@ use \WP_Ultimo\Database\Sites\Site_Type;
|
||||
use \WP_Ultimo\Models\Site;
|
||||
|
||||
/**
|
||||
* WP Ultimo Site Edit New Admin Page.
|
||||
* WP Multisite WaaS Site Edit New Admin Page.
|
||||
*/
|
||||
class Site_Edit_Admin_Page extends Edit_Admin_Page {
|
||||
|
||||
@ -150,7 +150,7 @@ class Site_Edit_Admin_Page extends Edit_Admin_Page {
|
||||
'id' => 'new-site-template-warning',
|
||||
'title' => __('On adding a new Site Template...', 'wp-ultimo'),
|
||||
'text' => array(
|
||||
__("You just successfully added a new site template to your WP Ultimo network and that's awesome!", 'wp-ultimo'),
|
||||
__("You just successfully added a new site template to your WP Multisite WaaS network and that's awesome!", 'wp-ultimo'),
|
||||
__('Keep in mind that newly created site templates do not appear automatically in your checkout forms.', 'wp-ultimo'),
|
||||
__('To make a site template available on registration, you will need to manually add it to the template selection field of your checkout forms.', 'wp-ultimo'),
|
||||
),
|
||||
@ -541,7 +541,7 @@ class Site_Edit_Admin_Page extends Edit_Admin_Page {
|
||||
),
|
||||
'scraper_message' => array(
|
||||
'type' => 'note',
|
||||
'desc' => sprintf('<span class="wu-p-2 wu-bg-red-100 wu-text-red-600 wu-rounded wu-block">%s</span>', __('We detected that this network might be running locally. If that\'s the case, WP Ultimo will not be able to take a screenshot of the site. A site needs to be publicly available to the outside world in order for this feature to work.', 'wp-ultimo')),
|
||||
'desc' => sprintf('<span class="wu-p-2 wu-bg-red-100 wu-text-red-600 wu-rounded wu-block">%s</span>', __('We detected that this network might be running locally. If that\'s the case, WP Multisite WaaS will not be able to take a screenshot of the site. A site needs to be publicly available to the outside world in order for this feature to work.', 'wp-ultimo')),
|
||||
'wrapper_classes' => \WP_Ultimo\Domain_Mapping\Helper::is_development_mode() ? '' : 'wu-hidden',
|
||||
),
|
||||
'scraper' => array(
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* WP Ultimo Sites Admin Page.
|
||||
* WP Multisite WaaS Sites Admin Page.
|
||||
*
|
||||
* @package WP_Ultimo
|
||||
* @subpackage Admin_Pages
|
||||
@ -13,7 +13,7 @@ namespace WP_Ultimo\Admin_Pages;
|
||||
defined('ABSPATH') || exit;
|
||||
|
||||
/**
|
||||
* WP Ultimo Sites Admin Page.
|
||||
* WP Multisite WaaS Sites Admin Page.
|
||||
*/
|
||||
class Site_List_Admin_Page extends List_Admin_Page {
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* WP Ultimo System Info Admin Page.
|
||||
* WP Multisite WaaS System Info Admin Page.
|
||||
*
|
||||
* @package WP_Ultimo
|
||||
* @subpackage Admin_Pages
|
||||
@ -15,7 +15,7 @@ use WP_Ultimo\Logger;
|
||||
defined('ABSPATH') || exit;
|
||||
|
||||
/**
|
||||
* WP Ultimo System Info Admin Page.
|
||||
* WP Multisite WaaS System Info Admin Page.
|
||||
*/
|
||||
class System_Info_Admin_Page extends Base_Admin_Page {
|
||||
|
||||
@ -356,8 +356,8 @@ class System_Info_Admin_Page extends Base_Admin_Page {
|
||||
return apply_filters('wu_system_info_data', array(
|
||||
'WordPress and System Settings' => array(
|
||||
'wp-ultimo-version' => array(
|
||||
'tooltip' => 'WP Ultimo current version installed locally',
|
||||
'title' => 'WP Ultimo Version',
|
||||
'tooltip' => 'WP Multisite WaaS current version installed locally',
|
||||
'title' => 'WP Multisite WaaS Version',
|
||||
'value' => wu_get_version(),
|
||||
),
|
||||
'wordpress-version' => array(
|
||||
@ -578,9 +578,9 @@ class System_Info_Admin_Page extends Base_Admin_Page {
|
||||
'Active Plugins' => $array_active_plugins,
|
||||
'Active Plugins on Main Site' => $array_active_plugins_main_site,
|
||||
|
||||
'WP Ultimo Database Status' => $array_wu_tables,
|
||||
'WP Multisite WaaS Database Status' => $array_wu_tables,
|
||||
|
||||
'WP Ultimo Core Settings' => array_merge(
|
||||
'WP Multisite WaaS Core Settings' => array_merge(
|
||||
array(
|
||||
'logs-directory' => array(
|
||||
'tooltip' => '',
|
||||
@ -799,7 +799,7 @@ class System_Info_Admin_Page extends Base_Admin_Page {
|
||||
} // end get_all_options;
|
||||
|
||||
/**
|
||||
* Return all the desired WP Ultimo Settings
|
||||
* Return all the desired WP Multisite WaaS Settings
|
||||
*
|
||||
* @since 1.1.5
|
||||
* @return array
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* WP Ultimo About Admin Page.
|
||||
* WP Multisite WaaS About Admin Page.
|
||||
*
|
||||
* @package WP_Ultimo
|
||||
* @subpackage Admin_Pages
|
||||
@ -15,7 +15,7 @@ use \WP_Ultimo\Tax\Tax;
|
||||
defined('ABSPATH') || exit;
|
||||
|
||||
/**
|
||||
* WP Ultimo About Admin Page.
|
||||
* WP Multisite WaaS About Admin Page.
|
||||
*/
|
||||
class Tax_Rates_Admin_Page extends Base_Admin_Page {
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* WP Ultimo Customize/Add New Template Previewer Page.
|
||||
* WP Multisite WaaS Customize/Add New Template Previewer Page.
|
||||
*
|
||||
* @package WP_Ultimo
|
||||
* @subpackage Admin_Pages
|
||||
@ -15,7 +15,7 @@ use \WP_Ultimo\UI\Template_Previewer;
|
||||
defined('ABSPATH') || exit;
|
||||
|
||||
/**
|
||||
* WP Ultimo Template Previewer Customize/Add New Admin Page.
|
||||
* WP Multisite WaaS Template Previewer Customize/Add New Admin Page.
|
||||
*/
|
||||
class Template_Previewer_Customize_Admin_Page extends Customizer_Admin_Page {
|
||||
|
||||
@ -94,7 +94,7 @@ class Template_Previewer_Customize_Admin_Page extends Customizer_Admin_Page {
|
||||
'preview_url_parameter' => array(
|
||||
'type' => 'text',
|
||||
'title' => __('URL Parameter', 'wp-ultimo'),
|
||||
'desc' => __('This is the URL parameter WP Ultimo will use to generate the template preview URLs.', 'wp-ultimo'),
|
||||
'desc' => __('This is the URL parameter WP Multisite WaaS will use to generate the template preview URLs.', 'wp-ultimo'),
|
||||
'value' => Template_Previewer::get_instance()->get_setting('preview_url_parameter', 'template-preview'),
|
||||
),
|
||||
'enabled' => array(
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* Adds the shortcuts menu to the admin bar.
|
||||
*
|
||||
* @category WP Ultimo
|
||||
* @category WP Multisite WaaS
|
||||
* @package WP_Ultimo
|
||||
* @author Gustavo Modesto <gustavo@wpultimo.com>
|
||||
* @since 2.0.0
|
||||
@ -37,7 +37,7 @@ class Top_Admin_Nav_Menu {
|
||||
} // end __construct;
|
||||
|
||||
/**
|
||||
* Adds the WP Ultimo top-bar shortcut menu
|
||||
* Adds the WP Multisite WaaS top-bar shortcut menu
|
||||
*
|
||||
* @since 1.1.0
|
||||
* @param \WP_Admin_Bar $wp_admin_bar The admin bar identifier.
|
||||
@ -55,7 +55,7 @@ class Top_Admin_Nav_Menu {
|
||||
// Add Parent element
|
||||
$parent = array(
|
||||
'id' => 'wp-ultimo',
|
||||
'title' => __('WP Ultimo', 'wp-ultimo'),
|
||||
'title' => __('Multisite Waas', 'wp-ultimo'),
|
||||
'href' => current_user_can('wu_read_dashboard') ? network_admin_url('admin.php?page=wp-ultimo') : '#',
|
||||
'meta' => array(
|
||||
'class' => 'wp-ultimo-top-menu',
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* WP Ultimo System Info Admin Page.
|
||||
* WP Multisite WaaS System Info Admin Page.
|
||||
*
|
||||
* @package WP_Ultimo
|
||||
* @subpackage Admin_Pages
|
||||
@ -15,7 +15,7 @@ use WP_Ultimo\Logger;
|
||||
defined('ABSPATH') || exit;
|
||||
|
||||
/**
|
||||
* WP Ultimo System Info Admin Page.
|
||||
* WP Multisite WaaS System Info Admin Page.
|
||||
*/
|
||||
class View_Logs_Admin_Page extends Edit_Admin_Page {
|
||||
|
||||
@ -162,7 +162,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 Ultimo\'s logs', 'wp-ultimo'));
|
||||
wp_die(__('You can see files that are not WP Multisite WaaS\'s logs', 'wp-ultimo'));
|
||||
|
||||
} // end if;
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* WP Ultimo Webhook Edit/Add New Admin Page.
|
||||
* WP Multisite WaaS Webhook Edit/Add New Admin Page.
|
||||
*
|
||||
* @package WP_Ultimo
|
||||
* @subpackage Admin_Pages
|
||||
@ -15,7 +15,7 @@ defined('ABSPATH') || exit;
|
||||
use \WP_Ultimo\Models\Webhook;
|
||||
|
||||
/**
|
||||
* WP Ultimo Webhook Edit/Add New Admin Page.
|
||||
* WP Multisite WaaS Webhook Edit/Add New Admin Page.
|
||||
*/
|
||||
class Webhook_Edit_Admin_Page extends Edit_Admin_Page {
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* WP Ultimo Webhook Admin Page.
|
||||
* WP Multisite WaaS Webhook Admin Page.
|
||||
*
|
||||
* @package WP_Ultimo
|
||||
* @subpackage Admin_Pages
|
||||
@ -13,7 +13,7 @@ namespace WP_Ultimo\Admin_Pages;
|
||||
defined('ABSPATH') || exit;
|
||||
|
||||
/**
|
||||
* WP Ultimo Webhook Admin Page.
|
||||
* WP Multisite WaaS Webhook Admin Page.
|
||||
*/
|
||||
class Webhook_List_Admin_Page extends List_Admin_Page {
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* Abstract class that makes it easy to create new admin pages.
|
||||
*
|
||||
* Most of WP Ultimo pages are implemented using this class, which means that the filters and hooks
|
||||
* Most of WP Multisite WaaS pages are implemented using this class, which means that the filters and hooks
|
||||
* listed below can be used to append content to all of our pages at once.
|
||||
*
|
||||
* @package WP_Ultimo
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* WP Ultimo Add New Site Admin Page.
|
||||
* WP Multisite WaaS Add New Site Admin Page.
|
||||
*
|
||||
* @package WP_Ultimo
|
||||
* @subpackage Admin_Pages
|
||||
@ -15,7 +15,7 @@ defined('ABSPATH') || exit;
|
||||
use \WP_Ultimo\Admin_Pages\Base_Customer_Facing_Admin_Page;
|
||||
|
||||
/**
|
||||
* WP Ultimo Add New Site Admin Page.
|
||||
* WP Multisite WaaS Add New Site Admin Page.
|
||||
*/
|
||||
class Add_New_Site_Admin_Page extends Base_Customer_Facing_Admin_Page {
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* WP Ultimo Customer Checkout Admin Page.
|
||||
* WP Multisite WaaS Customer Checkout Admin Page.
|
||||
*
|
||||
* @package WP_Ultimo
|
||||
* @subpackage Admin_Pages
|
||||
@ -13,7 +13,7 @@ namespace WP_Ultimo\Admin_Pages\Customer_Panel;
|
||||
defined('ABSPATH') || exit;
|
||||
|
||||
/**
|
||||
* WP Ultimo Dashboard Admin Page.
|
||||
* WP Multisite WaaS Dashboard Admin Page.
|
||||
*/
|
||||
class Checkout_Admin_Page extends \WP_Ultimo\Admin_Pages\Base_Customer_Facing_Admin_Page {
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* WP Ultimo My Sites Admin Page.
|
||||
* WP Multisite WaaS My Sites Admin Page.
|
||||
*
|
||||
* @package WP_Ultimo
|
||||
* @subpackage Admin_Pages
|
||||
@ -15,7 +15,7 @@ defined('ABSPATH') || exit;
|
||||
use \WP_Ultimo\Admin_Pages\Base_Customer_Facing_Admin_Page;
|
||||
|
||||
/**
|
||||
* WP Ultimo My Sites Admin Page.
|
||||
* WP Multisite WaaS My Sites Admin Page.
|
||||
*/
|
||||
class My_Sites_Admin_Page extends Base_Customer_Facing_Admin_Page {
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* WP Ultimo Switch Template Admin Page.
|
||||
* WP Multisite WaaS Switch Template Admin Page.
|
||||
*
|
||||
* @package WP_Ultimo
|
||||
* @subpackage Admin_Pages
|
||||
@ -13,7 +13,7 @@ namespace WP_Ultimo\Admin_Pages\Customer_Panel;
|
||||
defined('ABSPATH') || exit;
|
||||
|
||||
/**
|
||||
* WP Ultimo Switch Template Admin Page.
|
||||
* WP Multisite WaaS Switch Template Admin Page.
|
||||
*/
|
||||
class Template_Switching_Admin_Page extends \WP_Ultimo\Admin_Pages\Base_Customer_Facing_Admin_Page {
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* WP Ultimo Debug Admin Page.
|
||||
* WP Multisite WaaS Debug Admin Page.
|
||||
*
|
||||
* @package WP_Ultimo
|
||||
* @subpackage Admin_Pages\Debug
|
||||
@ -16,7 +16,7 @@ use WP_Ultimo\Admin_Pages\Base_Admin_Page;
|
||||
use WP_Ultimo\Debug\Debug;
|
||||
|
||||
/**
|
||||
* WP Ultimo Debug Admin Page.
|
||||
* WP Multisite WaaS Debug Admin Page.
|
||||
*/
|
||||
class Debug_Admin_Page extends Base_Admin_Page {
|
||||
|
||||
@ -93,7 +93,7 @@ class Debug_Admin_Page extends Base_Admin_Page {
|
||||
} // end register_widgets;
|
||||
|
||||
/**
|
||||
* Renders the list of WP Ultimo registered pages.
|
||||
* Renders the list of WP Multisite WaaS registered pages.
|
||||
*
|
||||
* @since 2.0.0
|
||||
* @return void
|
||||
|
Reference in New Issue
Block a user