This pull request includes several changes to improve the handling of URLs in WordPress particularly for multisite.
Included in the update are helper functions to check and strip double-slashes from URLs, namespacing, enforcing strict types, and a version bump for the filters mu-plugin.
Importantly, this PR enforces the /wp prefix to admin and login URLs which prevents an infinite login redirect loop.
The PR also adds a cookie domain fix for multisite logins which is a common issue for subdomain multisite.
This pull request includes several changes to improve the handling of URLs in WordPress particularly for multisite.
Included in the update are helper functions to check and strip double-slashes from URLs, namespacing, enforcing strict types, and a version bump for the filters mu-plugin.
Importantly, this PR enforces the
/wp
prefix to admin and login URLs which prevents an infinite login redirect loop.The PR also adds a cookie domain fix for multisite logins which is a common issue for subdomain multisite.