Prep Plugin for release on WordPress.org (#23)

* Update translation text domain
* Escape everything that should be escaped.
* Add nonce checks where needed.
* Sanitize all inputs.
* Apply Code style changes across the codebase.
* Correct many deprecation notices.
* Optimize load order of many filters.
* Add Proper Build script
* Use emojii flags
* Fix i18n deprecation  notice for translating too early
* Put all scripts in footer and load async
This commit is contained in:
David Stone
2025-04-14 11:36:46 -06:00
committed by GitHub
parent a31cfcb565
commit d88e50df38
1087 changed files with 12586 additions and 18535 deletions

View File

@ -5,132 +5,132 @@
* @since 2.0.0
*/
?>
<p><?php _e('Hey there', 'wp-ultimo'); ?></p>
<p><?php esc_html_e('Hey there', 'wp-multisite-waas'); ?></p>
<p><?php printf(__('A new domain, %2$s, was added to the site %3$s.', 'wp-ultimo'), '{{customer_name}}', '{{domain_domain}}', '{{site_title}}'); ?></p>
<p><?php printf(__('A new domain, %2$s, was added to the site %3$s.', 'wp-multisite-waas'), '{{customer_name}}', '{{domain_domain}}', '{{site_title}}'); ?></p>
<h2><b><?php _e('Domain', 'wp-ultimo'); ?></b></h2>
<h2><b><?php esc_html_e('Domain', 'wp-multisite-waas'); ?></b></h2>
<table cellpadding="0" cellspacing="0" style="width: 100%; border-collapse: collapse;">
<tbody>
<tr>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php _e('Domain', 'wp-ultimo'); ?></b></td>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php esc_html_e('Domain', 'wp-multisite-waas'); ?></b></td>
<td style="padding: 8px; background: #fff; border: 1px solid #eee; border: 1px solid #eee;">
{{domain_domain}}
</td>
</tr>
<tr>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php _e('ID', 'wp-ultimo'); ?></b></td>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php esc_html_e('ID', 'wp-multisite-waas'); ?></b></td>
<td style="padding: 8px; background: #fdfdfd; border: 1px solid #eee;">
<a href="{{domain_admin_url}}" style="text-decoration: none;" rel="nofollow">{{domain_id}}</a>
</td>
</tr>
<tr>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php _e('Domain Stage', 'wp-ultimo'); ?></b></td>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php esc_html_e('Domain Stage', 'wp-multisite-waas'); ?></b></td>
<td style="padding: 8px; background: #fdfdfd; border: 1px solid #eee;">
<code>{{domain_stage}}</code>
</td>
</tr>
<tr>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php _e('Active', 'wp-ultimo'); ?></b></td>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php esc_html_e('Active', 'wp-multisite-waas'); ?></b></td>
<td style="padding: 8px; background: #fdfdfd; border: 1px solid #eee;">
<code>{{domain_active}}</code>
</td>
</tr>
<tr>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php _e('Primary', 'wp-ultimo'); ?></b></td>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php esc_html_e('Primary', 'wp-multisite-waas'); ?></b></td>
<td style="padding: 8px; background: #fdfdfd; border: 1px solid #eee;">
<code>{{domain_primary}}</code>
</td>
</tr>
<tr>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php _e('Secure', 'wp-ultimo'); ?></b></td>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php esc_html_e('Secure', 'wp-multisite-waas'); ?></b></td>
<td style="padding: 8px; background: #fdfdfd; border: 1px solid #eee;">
<code>{{domain_secure}}</code>
</td>
</tr>
<tr>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php _e('Admin Panel', 'wp-ultimo'); ?></b></td>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php esc_html_e('Admin Panel', 'wp-multisite-waas'); ?></b></td>
<td style="padding: 8px; background: #fff; border: 1px solid #eee;">
<a href="{{domain_manage_url}}" style="text-decoration: none;" rel="nofollow"><?php _e('Go to Domain &rarr;', 'wp-ultimo'); ?></a>
<a href="{{domain_manage_url}}" style="text-decoration: none;" rel="nofollow"><?php esc_html_e('Go to Domain &rarr;', 'wp-multisite-waas'); ?></a>
</td>
</tr>
</tbody>
</table>
<h2><b><?php _e('Site', 'wp-ultimo'); ?></b></h2>
<h2><b><?php esc_html_e('Site', 'wp-multisite-waas'); ?></b></h2>
<table cellpadding="0" cellspacing="0" style="width: 100%; border-collapse: collapse;">
<tbody>
<tr>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php _e('Title', 'wp-ultimo'); ?></b></td>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php esc_html_e('Title', 'wp-multisite-waas'); ?></b></td>
<td style="padding: 8px; background: #fff; border: 1px solid #eee; border: 1px solid #eee;">
{{site_title}}
</td>
</tr>
<tr>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php _e('ID', 'wp-ultimo'); ?></b></td>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php esc_html_e('ID', 'wp-multisite-waas'); ?></b></td>
<td style="padding: 8px; background: #fdfdfd; border: 1px solid #eee;">
<a href="{{site_admin_url}}" style="text-decoration: none;" rel="nofollow">{{site_id}}</a>
</td>
</tr>
<tr>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php _e('Site URL', 'wp-ultimo'); ?></b></td>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php esc_html_e('Site URL', 'wp-multisite-waas'); ?></b></td>
<td style="padding: 8px; background: #fff; border: 1px solid #eee;">
<a href="{{site_url}}" style="text-decoration: none;" rel="nofollow"><?php _e('Visit Site &rarr;', 'wp-ultimo'); ?></a>
<a href="{{site_url}}" style="text-decoration: none;" rel="nofollow"><?php esc_html_e('Visit Site &rarr;', 'wp-multisite-waas'); ?></a>
</td>
</tr>
<tr>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php _e('Site Admin Panel', 'wp-ultimo'); ?></b></td>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php esc_html_e('Site Admin Panel', 'wp-multisite-waas'); ?></b></td>
<td style="padding: 8px; background: #fff; border: 1px solid #eee;">
<a href="{{site_admin_url}}" style="text-decoration: none;" rel="nofollow"><?php _e('Visit Admin Panel &rarr;', 'wp-ultimo'); ?></a>
<a href="{{site_admin_url}}" style="text-decoration: none;" rel="nofollow"><?php esc_html_e('Visit Admin Panel &rarr;', 'wp-multisite-waas'); ?></a>
</td>
</tr>
<tr>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php _e('Admin Panel', 'wp-ultimo'); ?></b></td>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php esc_html_e('Admin Panel', 'wp-multisite-waas'); ?></b></td>
<td style="padding: 8px; background: #fff; border: 1px solid #eee;">
<a href="{{site_manage_url}}" style="text-decoration: none;" rel="nofollow"><?php _e('Go to Site Management &rarr;', 'wp-ultimo'); ?></a>
<a href="{{site_manage_url}}" style="text-decoration: none;" rel="nofollow"><?php esc_html_e('Go to Site Management &rarr;', 'wp-multisite-waas'); ?></a>
</td>
</tr>
</tbody>
</table>
<h2><b><?php _e('Membership', 'wp-ultimo'); ?></b></h2>
<h2><b><?php esc_html_e('Membership', 'wp-multisite-waas'); ?></b></h2>
<table cellpadding="0" cellspacing="0" style="width: 100%; border-collapse: collapse;">
<tbody>
<tr>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php _e('Amount', 'wp-ultimo'); ?></b></td>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php esc_html_e('Amount', 'wp-multisite-waas'); ?></b></td>
<td style="padding: 8px; background: #fff; border: 1px solid #eee;">
{{membership_description}}
</td>
</tr>
<tr>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php _e('Initial Amount', 'wp-ultimo'); ?></b></td>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php esc_html_e('Initial Amount', 'wp-multisite-waas'); ?></b></td>
<td style="padding: 8px; background: #fff; border: 1px solid #eee;">
{{membership_initial_amount}}
</td>
</tr>
<tr>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php _e('ID', 'wp-ultimo'); ?></b></td>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php esc_html_e('ID', 'wp-multisite-waas'); ?></b></td>
<td style="padding: 8px; background: #fdfdfd; border: 1px solid #eee;">
<a href="{{membership_manage_url}}" style="text-decoration: none;" rel="nofollow">{{membership_id}}</a>
</td>
</tr>
<tr>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php _e('Reference Code', 'wp-ultimo'); ?></b></td>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php esc_html_e('Reference Code', 'wp-multisite-waas'); ?></b></td>
<td style="padding: 8px; background: #fdfdfd; border: 1px solid #eee;">
<a href="{{membership_manage_url}}" style="text-decoration: none;" rel="nofollow">{{membership_reference_code}}</a>
</td>
</tr>
<tr>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php _e('Expiration', 'wp-ultimo'); ?></b></td>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php esc_html_e('Expiration', 'wp-multisite-waas'); ?></b></td>
<td style="padding: 8px; background: #fff; border: 1px solid #eee;">{{membership_date_expiration}}</td>
</tr>
<tr>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php _e('Admin Panel', 'wp-ultimo'); ?></b></td>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php esc_html_e('Admin Panel', 'wp-multisite-waas'); ?></b></td>
<td style="padding: 8px; background: #fff; border: 1px solid #eee;">
<a href="{{membership_manage_url}}" style="text-decoration: none;" rel="nofollow"><?php _e('Go to Membership &rarr;', 'wp-ultimo'); ?></a>
<a href="{{membership_manage_url}}" style="text-decoration: none;" rel="nofollow"><?php esc_html_e('Go to Membership &rarr;', 'wp-multisite-waas'); ?></a>
</td>
</tr>
</tbody>

View File

@ -5,153 +5,153 @@
* @since 2.0.0
*/
?>
<p><?php _e('Hey there', 'wp-ultimo'); ?></p>
<p><?php esc_html_e('Hey there', 'wp-multisite-waas'); ?></p>
<p><?php printf(__('We have great news! You received %1$s from %2$s (%3$s) for %4$s.', 'wp-ultimo'), '{{payment_total}}', '{{customer_name}}', '{{customer_user_email}}', '{{payment_product_names}}'); ?></p>
<p><?php printf(__('We have great news! You received %1$s from %2$s (%3$s) for %4$s.', 'wp-multisite-waas'), '{{payment_total}}', '{{customer_name}}', '{{customer_user_email}}', '{{payment_product_names}}'); ?></p>
<p><a href="{{payment_invoice_url}}" style="text-decoration: none;" rel="nofollow"><?php _e('Download Invoice', 'wp-ultimo'); ?></a></p>
<p><a href="{{payment_invoice_url}}" style="text-decoration: none;" rel="nofollow"><?php esc_html_e('Download Invoice', 'wp-multisite-waas'); ?></a></p>
<h2><b><?php _e('Payment', 'wp-ultimo'); ?></b></h2>
<h2><b><?php esc_html_e('Payment', 'wp-multisite-waas'); ?></b></h2>
<table cellpadding="0" cellspacing="0" style="width: 100%; border-collapse: collapse;">
<tbody>
<tr>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php _e('Products', 'wp-ultimo'); ?></b></td>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php esc_html_e('Products', 'wp-multisite-waas'); ?></b></td>
<td style="padding: 8px; background: #fff; border: 1px solid #eee; border: 1px solid #eee;">
{{payment_product_names}}
</td>
</tr>
<tr>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php _e('Subtotal', 'wp-ultimo'); ?></b></td>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php esc_html_e('Subtotal', 'wp-multisite-waas'); ?></b></td>
<td style="padding: 8px; background: #fff; border: 1px solid #eee;">
{{payment_subtotal}}
</td>
</tr>
<tr>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php _e('Tax', 'wp-ultimo'); ?></b></td>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php esc_html_e('Tax', 'wp-multisite-waas'); ?></b></td>
<td style="padding: 8px; background: #fff; border: 1px solid #eee;">
{{payment_tax_total}}
</td>
</tr>
<tr>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php _e('Total', 'wp-ultimo'); ?></b></td>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php esc_html_e('Total', 'wp-multisite-waas'); ?></b></td>
<td style="padding: 8px; background: #fff; border: 1px solid #eee;">
{{payment_total}}
</td>
</tr>
<tr>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php _e('Paid with', 'wp-ultimo'); ?></b></td>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php esc_html_e('Paid with', 'wp-multisite-waas'); ?></b></td>
<td style="padding: 8px; background: #fdfdfd; border: 1px solid #eee;">{{payment_gateway}}</td>
</tr>
<tr>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php _e('ID', 'wp-ultimo'); ?></b></td>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php esc_html_e('ID', 'wp-multisite-waas'); ?></b></td>
<td style="padding: 8px; background: #fdfdfd; border: 1px solid #eee;">
<a href="{{payment_manage_url}}" style="text-decoration: none;" rel="nofollow">{{payment_id}}</a>
</td>
</tr>
<tr>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php _e('Reference Code', 'wp-ultimo'); ?></b></td>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php esc_html_e('Reference Code', 'wp-multisite-waas'); ?></b></td>
<td style="padding: 8px; background: #fdfdfd; border: 1px solid #eee;">
<a href="{{payment_manage_url}}" style="text-decoration: none;" rel="nofollow">{{payment_reference_code}}</a>
</td>
</tr>
<tr>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php _e('Processed at', 'wp-ultimo'); ?></b></td>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php esc_html_e('Processed at', 'wp-multisite-waas'); ?></b></td>
<td style="padding: 8px; background: #fff; border: 1px solid #eee;">{{payment_date_created}}</td>
</tr>
<tr>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9;"><b><?php _e('Invoice', 'wp-ultimo'); ?></b></td>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9;"><b><?php esc_html_e('Invoice', 'wp-multisite-waas'); ?></b></td>
<td style="padding: 8px; background: #fdfdfd; border: 1px solid #eee;">
<a href="{{payment_invoice_url}}" style="text-decoration: none;" rel="nofollow">
<?php _e('Download PDF', 'wp-ultimo'); ?>
<?php esc_html_e('Download PDF', 'wp-multisite-waas'); ?>
</a>
</td>
</tr>
<tr>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php _e('Type', 'wp-ultimo'); ?></b></td>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php esc_html_e('Type', 'wp-multisite-waas'); ?></b></td>
<td style="padding: 8px; background: #fff; border: 1px solid #eee;">Initial Payment</td>
</tr>
<tr>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php _e('Admin Panel', 'wp-ultimo'); ?></b></td>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php esc_html_e('Admin Panel', 'wp-multisite-waas'); ?></b></td>
<td style="padding: 8px; background: #fff; border: 1px solid #eee;">
<a href="{{payment_manage_url}}" style="text-decoration: none;" rel="nofollow"><?php _e('Go to Payment &rarr;', 'wp-ultimo'); ?></a>
<a href="{{payment_manage_url}}" style="text-decoration: none;" rel="nofollow"><?php esc_html_e('Go to Payment &rarr;', 'wp-multisite-waas'); ?></a>
</td>
</tr>
</tbody>
</table>
<h2><b><?php _e('Membership', 'wp-ultimo'); ?></b></h2>
<h2><b><?php esc_html_e('Membership', 'wp-multisite-waas'); ?></b></h2>
<table cellpadding="0" cellspacing="0" style="width: 100%; border-collapse: collapse;">
<tbody>
<tr>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php _e('Amount', 'wp-ultimo'); ?></b></td>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php esc_html_e('Amount', 'wp-multisite-waas'); ?></b></td>
<td style="padding: 8px; background: #fff; border: 1px solid #eee;">
{{membership_description}}
</td>
</tr>
<tr>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php _e('Initial Amount', 'wp-ultimo'); ?></b></td>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php esc_html_e('Initial Amount', 'wp-multisite-waas'); ?></b></td>
<td style="padding: 8px; background: #fff; border: 1px solid #eee;">
{{membership_initial_amount}}
</td>
</tr>
<tr>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php _e('ID', 'wp-ultimo'); ?></b></td>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php esc_html_e('ID', 'wp-multisite-waas'); ?></b></td>
<td style="padding: 8px; background: #fdfdfd; border: 1px solid #eee;">
<a href="{{membership_manage_url}}" style="text-decoration: none;" rel="nofollow">{{membership_id}}</a>
</td>
</tr>
<tr>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php _e('Reference Code', 'wp-ultimo'); ?></b></td>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php esc_html_e('Reference Code', 'wp-multisite-waas'); ?></b></td>
<td style="padding: 8px; background: #fdfdfd; border: 1px solid #eee;">
<a href="{{membership_manage_url}}" style="text-decoration: none;" rel="nofollow">{{membership_reference_code}}</a>
</td>
</tr>
<tr>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php _e('Expiration', 'wp-ultimo'); ?></b></td>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php esc_html_e('Expiration', 'wp-multisite-waas'); ?></b></td>
<td style="padding: 8px; background: #fff; border: 1px solid #eee;">{{membership_date_expiration}}</td>
</tr>
<tr>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php _e('Admin Panel', 'wp-ultimo'); ?></b></td>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php esc_html_e('Admin Panel', 'wp-multisite-waas'); ?></b></td>
<td style="padding: 8px; background: #fff; border: 1px solid #eee;">
<a href="{{membership_manage_url}}" style="text-decoration: none;" rel="nofollow"><?php _e('Go to Membership &rarr;', 'wp-ultimo'); ?></a>
<a href="{{membership_manage_url}}" style="text-decoration: none;" rel="nofollow"><?php esc_html_e('Go to Membership &rarr;', 'wp-multisite-waas'); ?></a>
</td>
</tr>
</tbody>
</table>
<h2><b><?php _e('Customer', 'wp-ultimo'); ?></b></h2>
<h2><b><?php esc_html_e('Customer', 'wp-multisite-waas'); ?></b></h2>
<table cellpadding="0" cellspacing="0" style="width: 100%; border-collapse: collapse;">
<tbody>
<tr>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php _e('Customer', 'wp-ultimo'); ?></b></td>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php esc_html_e('Customer', 'wp-multisite-waas'); ?></b></td>
<td style="padding: 8px; background: #fff; border: 1px solid #eee;">
{{customer_avatar}}<br />
{{customer_name}}
</td>
</tr>
<tr>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php _e('Email Address', 'wp-ultimo'); ?></b></td>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php esc_html_e('Email Address', 'wp-multisite-waas'); ?></b></td>
<td style="padding: 8px; background: #fff; border: 1px solid #eee;">
<a href="mailto:{{customer_user_email}}" style="text-decoration: none;" rel="nofollow">{{customer_user_email}}</a>
</td>
</tr>
<tr>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php _e('ID', 'wp-ultimo'); ?></b></td>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php esc_html_e('ID', 'wp-multisite-waas'); ?></b></td>
<td style="padding: 8px; background: #fdfdfd; border: 1px solid #eee;">
<a href="{{customer_manage_url}}" style="text-decoration: none;" rel="nofollow">{{customer_id}}</a>
</td>
</tr>
<tr>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php _e('Billing Address', 'wp-ultimo'); ?></b></td>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php esc_html_e('Billing Address', 'wp-multisite-waas'); ?></b></td>
<td style="padding: 8px; background: #fdfdfd; border: 1px solid #eee;">{{customer_billing_address}}</td>
</tr>
<tr>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php _e('Admin Panel', 'wp-ultimo'); ?></b></td>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php esc_html_e('Admin Panel', 'wp-multisite-waas'); ?></b></td>
<td style="padding: 8px; background: #fff; border: 1px solid #eee;">
<a href="{{customer_manage_url}}" style="text-decoration: none;" rel="nofollow"><?php _e('Go to Customer &rarr;', 'wp-ultimo'); ?></a>
<a href="{{customer_manage_url}}" style="text-decoration: none;" rel="nofollow"><?php esc_html_e('Go to Customer &rarr;', 'wp-multisite-waas'); ?></a>
</td>
</tr>
</tbody>

View File

@ -5,119 +5,119 @@
* @since 2.0.0
*/
?>
<p><?php _e('Hey there', 'wp-ultimo'); ?></p>
<p><?php esc_html_e('Hey there', 'wp-multisite-waas'); ?></p>
<?php // translators: %1$s: Site Title, %2$s: Site Url ?>
<p><?php echo wp_kses(sprintf(__('A new website, <b>%1$s</b> (%2$s), was created successfully on your network!', 'wp-multisite-waas'), '{{site_title}}', '<a href="{{site_url}}" style="text-decoration: none;" rel="nofollow">{{site_url}}</a>'), 'pre_user_description'); ?></p>
<p><?php printf(__('A new website, <b>%1$s</b> (%2$s), was created successfully on your network!', 'wp-ultimo'), '{{site_title}}', '<a href="{{site_url}}" style="text-decoration: none;" rel="nofollow">{{site_url}}</a>'); ?></p>
<h2><b><?php _e('Site', 'wp-ultimo'); ?></b></h2>
<h2><b><?php esc_html_e('Site', 'wp-multisite-waas'); ?></b></h2>
<table cellpadding="0" cellspacing="0" style="width: 100%; border-collapse: collapse;">
<tbody>
<tr>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php _e('Title', 'wp-ultimo'); ?></b></td>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php esc_html_e('Title', 'wp-multisite-waas'); ?></b></td>
<td style="padding: 8px; background: #fff; border: 1px solid #eee; border: 1px solid #eee;">
{{site_title}}
</td>
</tr>
<tr>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php _e('ID', 'wp-ultimo'); ?></b></td>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php esc_html_e('ID', 'wp-multisite-waas'); ?></b></td>
<td style="padding: 8px; background: #fdfdfd; border: 1px solid #eee;">
<a href="{{site_admin_url}}" style="text-decoration: none;" rel="nofollow">{{site_id}}</a>
</td>
</tr>
<tr>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php _e('Site URL', 'wp-ultimo'); ?></b></td>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php esc_html_e('Site URL', 'wp-multisite-waas'); ?></b></td>
<td style="padding: 8px; background: #fff; border: 1px solid #eee;">
<a href="{{site_url}}" style="text-decoration: none;" rel="nofollow"><?php _e('Visit Site &rarr;', 'wp-ultimo'); ?></a>
<a href="{{site_url}}" style="text-decoration: none;" rel="nofollow"><?php esc_html_e('Visit Site ', 'wp-multisite-waas'); ?></a>
</td>
</tr>
<tr>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php _e('Site Admin Panel', 'wp-ultimo'); ?></b></td>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php esc_html_e('Site Admin Panel', 'wp-multisite-waas'); ?></b></td>
<td style="padding: 8px; background: #fff; border: 1px solid #eee;">
<a href="{{site_admin_url}}" style="text-decoration: none;" rel="nofollow"><?php _e('Visit Admin Panel &rarr;', 'wp-ultimo'); ?></a>
<a href="{{site_admin_url}}" style="text-decoration: none;" rel="nofollow"><?php esc_html_e('Visit Admin Panel ', 'wp-multisite-waas'); ?></a>
</td>
</tr>
<tr>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php _e('Admin Panel', 'wp-ultimo'); ?></b></td>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php esc_html_e('Admin Panel', 'wp-multisite-waas'); ?></b></td>
<td style="padding: 8px; background: #fff; border: 1px solid #eee;">
<a href="{{site_manage_url}}" style="text-decoration: none;" rel="nofollow"><?php _e('Go to Site Management &rarr;', 'wp-ultimo'); ?></a>
<a href="{{site_manage_url}}" style="text-decoration: none;" rel="nofollow"><?php esc_html_e('Go to Site Management ', 'wp-multisite-waas'); ?></a>
</td>
</tr>
</tbody>
</table>
<h2><b><?php _e('Membership', 'wp-ultimo'); ?></b></h2>
<h2><b><?php esc_html_e('Membership', 'wp-multisite-waas'); ?></b></h2>
<table cellpadding="0" cellspacing="0" style="width: 100%; border-collapse: collapse;">
<tbody>
<tr>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php _e('Amount', 'wp-ultimo'); ?></b></td>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php esc_html_e('Amount', 'wp-multisite-waas'); ?></b></td>
<td style="padding: 8px; background: #fff; border: 1px solid #eee;">
{{membership_description}}
</td>
</tr>
<tr>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php _e('Initial Amount', 'wp-ultimo'); ?></b></td>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php esc_html_e('Initial Amount', 'wp-multisite-waas'); ?></b></td>
<td style="padding: 8px; background: #fff; border: 1px solid #eee;">
{{membership_initial_amount}}
</td>
</tr>
<tr>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php _e('ID', 'wp-ultimo'); ?></b></td>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php esc_html_e('ID', 'wp-multisite-waas'); ?></b></td>
<td style="padding: 8px; background: #fdfdfd; border: 1px solid #eee;">
<a href="{{membership_manage_url}}" style="text-decoration: none;" rel="nofollow">{{membership_id}}</a>
</td>
</tr>
<tr>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php _e('Reference Code', 'wp-ultimo'); ?></b></td>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php esc_html_e('Reference Code', 'wp-multisite-waas'); ?></b></td>
<td style="padding: 8px; background: #fdfdfd; border: 1px solid #eee;">
<a href="{{membership_manage_url}}" style="text-decoration: none;" rel="nofollow">{{membership_reference_code}}</a>
</td>
</tr>
<tr>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php _e('Expiration', 'wp-ultimo'); ?></b></td>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php esc_html_e('Expiration', 'wp-multisite-waas'); ?></b></td>
<td style="padding: 8px; background: #fff; border: 1px solid #eee;">{{membership_date_expiration}}</td>
</tr>
<tr>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php _e('Admin Panel', 'wp-ultimo'); ?></b></td>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php esc_html_e('Admin Panel', 'wp-multisite-waas'); ?></b></td>
<td style="padding: 8px; background: #fff; border: 1px solid #eee;">
<a href="{{membership_manage_url}}" style="text-decoration: none;" rel="nofollow"><?php _e('Go to Membership &rarr;', 'wp-ultimo'); ?></a>
<a href="{{membership_manage_url}}" style="text-decoration: none;" rel="nofollow"><?php esc_html_e('Go to Membership ', 'wp-multisite-waas'); ?></a>
</td>
</tr>
</tbody>
</table>
<h2><b><?php _e('Customer', 'wp-ultimo'); ?></b></h2>
<h2><b><?php esc_html_e('Customer', 'wp-multisite-waas'); ?></b></h2>
<table cellpadding="0" cellspacing="0" style="width: 100%; border-collapse: collapse;">
<tbody>
<tr>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php _e('Customer', 'wp-ultimo'); ?></b></td>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php esc_html_e('Customer', 'wp-multisite-waas'); ?></b></td>
<td style="padding: 8px; background: #fff; border: 1px solid #eee;">
{{customer_avatar}}<br />
{{customer_name}}
</td>
</tr>
<tr>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php _e('Email Address', 'wp-ultimo'); ?></b></td>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php esc_html_e('Email Address', 'wp-multisite-waas'); ?></b></td>
<td style="padding: 8px; background: #fff; border: 1px solid #eee;">
<a href="mailto:{{customer_user_email}}" style="text-decoration: none;" rel="nofollow">{{customer_user_email}}</a>
</td>
</tr>
<tr>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php _e('ID', 'wp-ultimo'); ?></b></td>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php esc_html_e('ID', 'wp-multisite-waas'); ?></b></td>
<td style="padding: 8px; background: #fdfdfd; border: 1px solid #eee;">
<a href="{{customer_manage_url}}" style="text-decoration: none;" rel="nofollow">{{customer_id}}</a>
</td>
</tr>
<tr>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php _e('Billing Address', 'wp-ultimo'); ?></b></td>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php esc_html_e('Billing Address', 'wp-multisite-waas'); ?></b></td>
<td style="padding: 8px; background: #fdfdfd; border: 1px solid #eee;">{{customer_billing_address}}</td>
</tr>
<tr>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php _e('Admin Panel', 'wp-ultimo'); ?></b></td>
<td style="text-align: right; width: 160px; padding: 8px; background: #f9f9f9; border: 1px solid #eee;"><b><?php esc_html_e('Admin Panel', 'wp-multisite-waas'); ?></b></td>
<td style="padding: 8px; background: #fff; border: 1px solid #eee;">
<a href="{{customer_manage_url}}" style="text-decoration: none;" rel="nofollow"><?php _e('Go to Customer &rarr;', 'wp-ultimo'); ?></a>
<a href="{{customer_manage_url}}" style="text-decoration: none;" rel="nofollow"><?php esc_html_e('Go to Customer ', 'wp-multisite-waas'); ?></a>
</td>
</tr>
</tbody>