-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix missing social meta data settings #940
Conversation
plugin/Gui/AdminPageApiSettings.php
Outdated
@@ -617,7 +617,7 @@ private function addFormModelCache() | |||
*/ | |||
private function addFormModelSeparatorFormatSettings(string $pageSlug) | |||
{ | |||
$groupSlugPaging = 'onoffice-settings'; | |||
$groupSlugPaging = 'onoffice-thousand-separator'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should only change the GroupSlug in addFormModelSocialMetaData. If we change it in addFormModelSeparatorFormatSettings, users who have saved settings might need to save the SeparatorFormat settings again.
$labelSeparatorFormatSettings = __('Separator Format Settings', 'onoffice-for-wp-websites'); | ||
$labelSeparatorCharacterFormat = __('Thousand Separator Format', 'onoffice-for-wp-websites'); | ||
|
||
$pInputModelSeparatorCharacterFormat = new InputModelOption($groupSlugPaging, 'thousand-separator', | ||
$pInputModelSeparatorCharacterFormat = new InputModelOption('onoffice-settings', 'thousand-separator', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dai-eastgate 👍 Good Job! :)
Steps to install the approved version:
|
Different settings shared same groupslug and overwrite eachother