Skip to content

Fix for multisite#46

Merged
timohubois merged 3 commits into
hijiriworld:masterfrom
tombroucke:master
Nov 5, 2023
Merged

Fix for multisite#46
timohubois merged 3 commits into
hijiriworld:masterfrom
tombroucke:master

Conversation

@tombroucke

Copy link
Copy Markdown
Contributor

There are a few calls to switch_to_blog() in intuitive-custom-post-order.php, but no calls to restore_current_blog(), which causes ms_is_switched() to always be true. Yoast for example, checks ms_is_switched() before saving values to the database. As it always returns true, the yoast data is never saved.

https://wordpress.org/support/topic/bug-leads-to-incompatibility-with-yoast-seo-in-multisite/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

intuitive custom post order prevents yoast SEO plugin from saving meta description and title on a page, on multisite installations

2 participants