• Resolved danpw

    (@danpw)


    We use Jetpack and the Widget Visibility module on many of our sites. On these sites we have legacy widgets that were in place prior to WordPress updating the widget area to be block-based.

    Whenever we make a change to a widget and save, the “Match all conditions” checkbox/option always ends up checked on the legacy widgets. If we uncheck this option and save our changes again, it has no effect. On most of our legacy widgets we want this option unchecked/disabled, but this currently isn’t possible due to this bug.

    We’ve tested on a clean install that uses WordPress 5.8.2, the Twenty Twenty-One theme, and just the Jetpack plugin and the problem still exists.

    To replicate the issue:

    1. Install the Classic Widgets plugin. This is solely so you can create a “legacy widget”.
    2. With the Classic Widgets plugin activated, add the “Categories” widget to a widget area.
    3. Set the widget visibility on the Categories widget to have multiple conditions using the OR operator. Make sure the “Match all conditions” checkbox is not checked.
    4. Deactivate the Classic Widgets plugin.
    5. Go back to the widgets screen and edit the the visibility on the Categories widget. Make sure the “Match all conditions” checkbox is still unchecked.
    6. Click the “Update” button to save the changes.
    7. Look at the widget visibility settings of the Categories widget again. You’ll see the “Match all conditions” checkbox is now checked.

    For now we’ve had to resort to installing the Classic Widgets plugin to prevent this visibility issue, but it’s only a temporary solution. Ideally this bug in the Jetpack Widget Visibility module will be addressed so we can switch back to the block-based widget editor.

    Many thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Karen Attfield

    (@wpkaren)

    Hi @danpw

    Thank you for the detailed steps to test this out!

    I tested this out using those steps, however in my initial testing the ‘match all conditions’ checkbox didn’t enable itself at the end. In order for us to try to replicate this, could you please share a few more details about your site if possible? If you are happy to share your site URL here that would be helpful, however if you want it to remain private, you can also contact us via this contact form. If you choose to reach out directly, please include a link to this thread.

    Also, are you seeing errors in the JavaScript console when testing this out? You can use this guide to share any JavaScript errors that might be occurring if needed:

    https://wordpress.com/support/browser-issues/advanced-browser-troubleshooting/#java-script-errors

    You also mentioned that you tested with a default theme and no other plugins except for Jetpack and Classic Editor which is really helpful (thank you) – do you also notice the issue if testing on different browsers?

    Thread Starter danpw

    (@danpw)

    Hey @wpkaren,

    Thanks for getting back to me!

    I went ahead and used the contact form you linked.

    To answer your questions, there are no console errors, and this is happening in the following browsers that I tested in: Chrome, Firefox, Edge.

    The “Match all conditions” checkbox doesn’t show as checked until after the Widgets page is reloaded after saving the widget.

    Thanks.

    Plugin Support MadHatter (a11n)

    (@madhattersez)

    Thanks for submitting a ticket in our system.

    We’ll go ahead and handle this request there, and I’ll close out this thread in the meantime.

    Have a safe rest of the week!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Legacy Widget Visibility Settings Saving Incorrectly’ is closed to new replies.