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:
@ -211,7 +211,7 @@ class Customer extends Base_Model {
|
||||
$user = $this->get_user();
|
||||
|
||||
if (empty($user)) {
|
||||
return __('User Deleted', 'wp-ultimo');
|
||||
return __('User Deleted', 'wp-multisite-waas');
|
||||
}
|
||||
|
||||
return $user->display_name;
|
||||
@ -267,7 +267,7 @@ class Customer extends Base_Model {
|
||||
$user = $this->get_user();
|
||||
|
||||
if (empty($user)) {
|
||||
return __('none', 'wp-ultimo');
|
||||
return __('none', 'wp-multisite-waas');
|
||||
}
|
||||
|
||||
return $user->user_login;
|
||||
@ -284,7 +284,7 @@ class Customer extends Base_Model {
|
||||
$user = $this->get_user();
|
||||
|
||||
if (empty($user)) {
|
||||
return __('none', 'wp-ultimo');
|
||||
return __('none', 'wp-multisite-waas');
|
||||
}
|
||||
|
||||
return $user->user_email;
|
||||
@ -730,7 +730,7 @@ class Customer extends Base_Model {
|
||||
* @options customer
|
||||
* @return void
|
||||
*/
|
||||
public function set_type($type): void {
|
||||
public function set_type($type) {
|
||||
|
||||
$this->type = $type;
|
||||
}
|
||||
|
Reference in New Issue
Block a user