-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
force short array notation, ditch wpcs
- Loading branch information
1 parent
cff3be2
commit 804aa8d
Showing
97 changed files
with
5,385 additions
and
5,536 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,40 @@ | ||
<?php | ||
|
||
return array( | ||
'subscribed' => array( | ||
return [ | ||
'subscribed' => [ | ||
'type' => 'success', | ||
'text' => esc_html__('Thank you, your sign-up request was successful! Please check your email inbox to confirm.', 'mailchimp-for-wp'), | ||
), | ||
'updated' => array( | ||
], | ||
'updated' => [ | ||
'type' => 'success', | ||
'text' => esc_html__('Thank you, your records have been updated!', 'mailchimp-for-wp'), | ||
), | ||
'unsubscribed' => array( | ||
], | ||
'unsubscribed' => [ | ||
'type' => 'success', | ||
'text' => esc_html__('You were successfully unsubscribed.', 'mailchimp-for-wp'), | ||
), | ||
'not_subscribed' => array( | ||
], | ||
'not_subscribed' => [ | ||
'type' => 'notice', | ||
'text' => esc_html__('Given email address is not subscribed.', 'mailchimp-for-wp'), | ||
), | ||
'error' => array( | ||
], | ||
'error' => [ | ||
'type' => 'error', | ||
'text' => esc_html__('Oops. Something went wrong. Please try again later.', 'mailchimp-for-wp'), | ||
), | ||
'invalid_email' => array( | ||
], | ||
'invalid_email' => [ | ||
'type' => 'error', | ||
'text' => esc_html__('Please provide a valid email address.', 'mailchimp-for-wp'), | ||
), | ||
'already_subscribed' => array( | ||
], | ||
'already_subscribed' => [ | ||
'type' => 'notice', | ||
'text' => esc_html__('Given email address is already subscribed, thank you!', 'mailchimp-for-wp'), | ||
), | ||
'required_field_missing' => array( | ||
], | ||
'required_field_missing' => [ | ||
'type' => 'error', | ||
'text' => esc_html__('Please fill in the required fields.', 'mailchimp-for-wp'), | ||
), | ||
'no_lists_selected' => array( | ||
], | ||
'no_lists_selected' => [ | ||
'type' => 'error', | ||
'text' => esc_html__('Please select at least one list.', 'mailchimp-for-wp'), | ||
), | ||
); | ||
], | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
<?php | ||
|
||
return array( | ||
return [ | ||
'css' => 0, | ||
'double_optin' => 1, | ||
'hide_after_success' => 0, | ||
'lists' => array(), | ||
'lists' => [], | ||
'redirect' => '', | ||
'replace_interests' => 1, | ||
'required_fields' => '', | ||
'update_existing' => 0, | ||
'subscriber_tags' => '', | ||
); | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<?php | ||
|
||
return array( | ||
return [ | ||
'api_key' => '', | ||
'allow_usage_tracking' => 0, | ||
'debug_log_level' => 'warning', | ||
); | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.