Switching to "I don't have this page" on the settings page doesn't properly save the setting #201
Open
Description
opened on Dec 24, 2024
- I've read and understood the contribution guidelines.
- I've searched for any related issues and avoided creating a duplicate issue.
Please give us a description of what happened
https://github.com/user-attachments/assets/04e6ba78-b99b-4bc0-8bda-32000213f063
Setting the FAQ page to "I don't have this page yet" and then clicking save triggers a reload of the page, after which the FAQ page is set to "I have this page".
To Reproduce
Step-by-step reproduction instructions
-
Go to the PP settings.
-
Set your FAQ page to My site doesn't need this page and save the page.
-
Now change the FAQ page setting to "I don't have this page yet", and click Save.
-
Expected results
-
After reloading, the setting should remain at "I don't have this page yet".
Actual results
- The setting switches to "I have this page".
Screenshots, screen recording, code snippet
See screen recording above.
Technical info
- If relevant, which editor is affected (or editors):
- Block Editor
- Gutenberg Editor
- Elementor Editor
- Classic Editor
- Other:
- Which browser is affected (or browsers):
- Chrome
- Firefox
- Safari
- Other:
Used versions
- Device you are using: Macbook
- Operating system: OSX Sonoma 14.4
- PHP version: 8.4
- WordPress version: 6.7.1
- WordPress Theme: Home-made
- Plugin version: 1.0.1
Activity