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:
@ -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);
|
||||
|
||||
@ -243,15 +243,15 @@ class Invoice {
|
||||
$attributes = wp_parse_args(
|
||||
$attributes,
|
||||
[
|
||||
'company_name' => wu_get_setting('company_name'),
|
||||
'company_address' => wu_get_setting('company_address'),
|
||||
'company_name' => wu_get_setting('company_name', get_network_option(null, 'site_name')),
|
||||
'company_address' => wu_get_setting('company_address', ''),
|
||||
'primary_color' => '#675645',
|
||||
'font' => 'DejaVuSansCondensed',
|
||||
'logo_url' => wu_get_network_logo(),
|
||||
'use_custom_logo' => false,
|
||||
'custom_logo' => false,
|
||||
'footer_message' => '',
|
||||
'paid_tag_text' => __('Paid', 'wp-ultimo'),
|
||||
'paid_tag_text' => __('Paid', 'wp-multisite-waas'),
|
||||
]
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user