Merge pull request #421 from creative-commoners/pulls/2.3/subsites-virtual-labels

FIX Field labels for subsites virtual pages are no longer repeated
This commit is contained in:
Robbie Averill 2019-05-31 13:22:32 +12:00 committed by GitHub
commit 1595079156
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -113,7 +113,7 @@ class SubsitesVirtualPage extends VirtualPage
'Root.Main',
TextareaField::create(
'CustomMetaKeywords',
$this->fieldLabel('CustomMetaTitle')
$this->fieldLabel('CustomMetaKeywords')
)->setDescription(_t(__CLASS__ . '.OverrideNote', 'Overrides inherited value from the source')),
'MetaKeywords'
);
@ -121,7 +121,7 @@ class SubsitesVirtualPage extends VirtualPage
'Root.Main',
TextareaField::create(
'CustomMetaDescription',
$this->fieldLabel('CustomMetaTitle')
$this->fieldLabel('CustomMetaDescription')
)->setDescription(_t(__CLASS__ . '.OverrideNote', 'Overrides inherited value from the source')),
'MetaDescription'
);
@ -129,7 +129,7 @@ class SubsitesVirtualPage extends VirtualPage
'Root.Main',
TextField::create(
'CustomExtraMeta',
$this->fieldLabel('CustomMetaTitle')
$this->fieldLabel('CustomExtraMeta')
)->setDescription(_t(__CLASS__ . '.OverrideNote', 'Overrides inherited value from the source')),
'ExtraMeta'
);