mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05:00
Updated use of "blog" in variable to "site"
no issue - The coding standard/preference in variable naming is to go with "site" where possible when referring to current instance instead of "blog".
This commit is contained in:
parent
6dba643ef9
commit
fa13ff2798
1 changed files with 2 additions and 2 deletions
|
@ -26,8 +26,8 @@ function getFromAddress(requestedFromAddress) {
|
|||
|
||||
// If we do have a from address, and it's just an email
|
||||
if (validator.isEmail(address, {require_tld: false})) {
|
||||
const defaultBlogTitle = settingsCache.get('title') ? settingsCache.get('title').replace(/"/g, '\\"') : i18n.t('common.mail.title', {domain: getDomain()});
|
||||
return `"${defaultBlogTitle}" <${address}>`;
|
||||
const defaultSiteTitle = settingsCache.get('title') ? settingsCache.get('title').replace(/"/g, '\\"') : i18n.t('common.mail.title', {domain: getDomain()});
|
||||
return `"${defaultSiteTitle}" <${address}>`;
|
||||
}
|
||||
|
||||
return address;
|
||||
|
|
Loading…
Add table
Reference in a new issue