-
Notifications
You must be signed in to change notification settings - Fork 191
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: Handle boolean values from get_theme_support
in MultiFormGoal/ProgressBar
#6855
Fix: Handle boolean values from get_theme_support
in MultiFormGoal/ProgressBar
#6855
Conversation
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.
@JoshuaHungDinh thanks for adding this, please send to QA
Following up - has this change been through QA? |
@kjohnson, Yes but another cooldown item regarding a different issue with the multiformgoal block is keeping QA from being able to manually test it. I checked it out and believe its in regards to react-select in the block editor. We can add react and react-dom to the webpack externals which will fix it. I was hesitant though as I was not sure if it would introduce any breaking changes and so the item is sitting in a deferred status at the moment. Here a link to the additional issue : https://feedback.givewp.com/bug-reports/p/forms-cannot-be-selected-in-multi-form-goal-block |
@JoshuaHungDinh that works for me! And of course now I see the Asana link in the PR description - whoops! Adding a link to the QA comment for cross-reference: https://app.asana.com/0/0/1205176602055571/1205204829262848/f |
Just checking whether this was ever merged, as were holding off updating the plugin until there is a fix in place. Thanks |
@joeczucha, thanks for checking in. We have another developer integrating some changes to id filtering for this particular block in order for it to properly work. We expect to have those updates soon & once merged this PR can follow I will be sure to reach out once this issue has been resolved. |
… reference for _give_redirect_form_id to prevent warnings on PHP 8.0.1 or plus
…dle-multi-form-goal-progressbar-color-palette
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.
Passed manual QA tests
Resolves #6851
Description
It is possible that 'get_theme_support' returns a false value if explicitly defined in a theme.
If $editorColorPalette is a boolean (either true or false), attempting to use array_shift() on it will result in a type error.
Affects
Multi Form Goal Progress Bar
Testing Instructions
Pre-review Checklist
@unreleased
tags included in DocBlocks