-
Notifications
You must be signed in to change notification settings - Fork 943
Description
- 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
If the Custom Permalink plugin is active and a newly created post is saved as a draft, the Yoast SEO tabs do not work until the edit post page is refreshed after saving the draft. This issue occurs only with the post metabox, and the tabs within the Yoast SEO sidebar panel work fine.
To Reproduce
Step-by-step reproduction instructions
- Install the Yoast SEO plugin and the Custom Permalink plugin on the website
- Create a new post and ensure that the post editor is in the block editor
- Add a post title and some content
- Save as draft
- Then try to click on the tabs like Readability, Social, and Schema
- You can notice that the tabs are not working and showing the console error as
https://xyzzzz.com/wp-admin/post.php?post=1252760&action=edit#wpseo-meta-section-schema
at I.error (jquery.min.js?ver=3.7.1:2:11769)
at Y (jquery.min.js?ver=3.7.1:2:17234)
at re (jquery.min.js?ver=3.7.1:2:20008)
at ce.I (jquery.min.js?ver=3.7.1:2:7520)
at ce. (jquery-migrate.min.js?ver=3.4.1:2:2898)
at e. [as find] (jquery-migrate.min.js?ver=3.4.1:2:1582)
at ce.fn.init.find (jquery.min.js?ver=3.7.1:2:21991)
at ce.fn.init (jquery.min.js?ver=3.7.1:2:22483)
at e.. (jquery-migrate.min.js?ver=3.4.1:2:2438)
at new e. (jquery-migrate.min.js?ver=3.4.1:2:1582)
Expected results
- The tabs of the Yoast SEO metabox need to work fine without any issues
Actual results
- The tabs are not working in the Block editor, however the sidebar Yoast SEO panel works fine.
Screenshots, screen recording, code snippet
If possible, please provide a screenshot, a screen recording or a code snippet which demonstrates the bug.
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:
- Operating system:
- PHP version:
- WordPress version: 6.9
- WordPress Theme: Twenty Twenty Four
- Yoast SEO version: 26.5
- Gutenberg plugin version:
- Elementor plugin version:
- Classic Editor plugin version:
- Relevant plugins in case of a bug: