Skip to content
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

Merged
merged 3 commits into from
Oct 29, 2024

Conversation

andernath
Copy link
Contributor

Different settings shared same groupslug and overwrite eachother

@fredericalpers fredericalpers added the bug Indicates an unexpected problem or unintended behaviour label Oct 23, 2024
@fredericalpers fredericalpers modified the milestones: v5.8, v5.9 Oct 23, 2024
@@ -617,7 +617,7 @@ private function addFormModelCache()
*/
private function addFormModelSeparatorFormatSettings(string $pageSlug)
{
$groupSlugPaging = 'onoffice-settings';
$groupSlugPaging = 'onoffice-thousand-separator';
Copy link
Contributor

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.

@fredericalpers fredericalpers modified the milestones: v5.9, v5.2 Oct 28, 2024
$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',
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dai-eastgate 👍 Good Job! :)

@andernath andernath added the deploy test Triggers event to create test version label Oct 29, 2024
Copy link

Steps to install the approved version:

  1. Download onoffice-5.1.4-19-gf209e071-please-unpack.zip from https://github.com/onOffice-Web-Org/oo-wp-plugin/actions/runs/11568263511.
  2. Unpack the downloaded file to get another .zip file.
  3. Upload that inner .zip file to WordPress.

@andernath andernath merged commit 51ba8b3 into master Oct 29, 2024
8 checks passed
@andernath andernath deleted the fix-missing-open-graph-settings branch October 29, 2024 06:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates an unexpected problem or unintended behaviour deploy test Triggers event to create test version
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants