Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CMSP-1140] fix subdirectory paths #142

Closed
wants to merge 122 commits into from

Conversation

jazzsequence
Copy link
Contributor

@jazzsequence jazzsequence commented Jul 18, 2024

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.

blocked by #140

we can copy this pattern for subdomain and subdirectory multisites
maybe remove this from composite?
so they're easier to read in the action workflow
instead of the upstream name
this isn't relevant anymore
set the var to the id 🤦‍♂️
wp-admin links are actually okay. the /wp is stripped out of everything except the primary site admin but handled correctly
these were actually not working for anything
@jazzsequence jazzsequence requested review from a team as code owners July 18, 2024 20:20
@jazzsequence
Copy link
Contributor Author

Ohhhh, the robot should not change composer files....

@jazzsequence jazzsequence force-pushed the cmsp-1140-fix-subdirectory-paths branch from 3f355ac to 7e122a8 Compare July 18, 2024 20:29
@pantheon-systems pantheon-systems deleted a comment from github-actions bot Jul 18, 2024
@jazzsequence jazzsequence force-pushed the cmsp-1140-fix-subdirectory-paths branch from 34e0084 to a2d5717 Compare July 18, 2024 20:33
@pantheon-systems pantheon-systems deleted a comment from github-actions bot Jul 18, 2024
Base automatically changed from cmsp-1140-add-tests-for-multisite to default July 18, 2024 20:48
jazzsequence added a commit that referenced this pull request Jul 18, 2024
@jazzsequence
Copy link
Contributor Author

not sure why this is pulling the full history. closing and reopening a clean pr

@jazzsequence jazzsequence deleted the cmsp-1140-fix-subdirectory-paths branch July 18, 2024 21:13
jazzsequence added a commit that referenced this pull request Jul 19, 2024
* port changes from #142

* remove no-longer-necessary id

Co-authored-by: Phil Tyler <[email protected]>

* execute and test in one step (instead of two)

Co-authored-by: Phil Tyler <[email protected]>

* remove the DIFF variable

don't need it

Co-authored-by: Phil Tyler <[email protected]>

---------

Co-authored-by: Phil Tyler <[email protected]>
jazzsequence added a commit that referenced this pull request Jul 19, 2024
…arning (#144)

* port changes from #142

* adds a filter to turn off the message in the mu-plugin
requires mu-plugin update

* bump the filters.php version
jazzsequence added a commit that referenced this pull request Jul 31, 2024
* port changes from #142

* remove no-longer-necessary id

Co-authored-by: Phil Tyler <[email protected]>

* execute and test in one step (instead of two)

Co-authored-by: Phil Tyler <[email protected]>

* remove the DIFF variable

don't need it

Co-authored-by: Phil Tyler <[email protected]>

---------

Co-authored-by: Phil Tyler <[email protected]>
jazzsequence added a commit that referenced this pull request Jul 31, 2024
…arning (#144)

* port changes from #142

* adds a filter to turn off the message in the mu-plugin
requires mu-plugin update

* bump the filters.php version
jazzsequence added a commit that referenced this pull request Aug 1, 2024
* port changes from #142

* remove no-longer-necessary id

Co-authored-by: Phil Tyler <[email protected]>

* execute and test in one step (instead of two)

Co-authored-by: Phil Tyler <[email protected]>

* remove the DIFF variable

don't need it

Co-authored-by: Phil Tyler <[email protected]>

---------

Co-authored-by: Phil Tyler <[email protected]>
jazzsequence added a commit that referenced this pull request Aug 1, 2024
…arning (#144)

* port changes from #142

* adds a filter to turn off the message in the mu-plugin
requires mu-plugin update

* bump the filters.php version
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.

1 participant