pantheon-systems / wordpress-composer-managed

WordPress boilerplate with Composer, easier configuration, and an improved folder structure
https://docs.pantheon.io/guides/wordpress-composer
MIT License
3 stars 4 forks source link

[SITE-1140] fix subdirectory paths #143

Closed jazzsequence closed 2 months ago

jazzsequence commented 2 months ago

This pull request removes the unnecessary code for handling wp-admin URLs. The code was not working as intended and caused issues.

This has been tested on a subdirectory multisite (which was the only thing that was broken or affected). Subdomain multisite should be unaffected (there are conditionals specifically targeting subdirectory multisite) but will be tested as well assuming automated tests pass.

The primary issue was admin URLs which are not (currently) tested with automated testing.

Ported from #142