-
Notifications
You must be signed in to change notification settings - Fork 1k
Fix: Resolve admin user dynamically instead of hardcoding user ID 1 #6270
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
Merged
swissspidy
merged 19 commits into
wp-cli:main
from
apermo:fix/admin-context-super-admin-resolution
Mar 16, 2026
+81
−2
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
62945b8
fix(context): resolve admin user dynamically
apermo e89d4d0
fix(context): optimize query and add test cases
apermo b9e9022
fix(context): fix linting issues
apermo 0c4a2cc
fix(context): address review feedback
apermo 3721115
fix(context): use instanceof for type safety
apermo 1d70e66
Fix autoloader priority: locally installed packages now fully overrid…
Copilot c2e100b
Add environment variable configuration support to wp-cli.yml (#6169)
Copilot 4803fbf
Autocomplete `--url` (#5704)
iandunn 86c805c
Add WP-CLI handbook link to `wp help` output (#6273)
Copilot 9c00831
Update file(s) from wp-cli/.github
swissspidy 9e05c5f
Update file(s) from wp-cli/.github
swissspidy 1f8958b
Fix SSH alias path not forwarded to remote when defined as a separate…
Copilot f40f9e2
Fix: forward active alias to runcommand subprocess (#6272)
Copilot 019f62a
Fix vagrant SSH strict host key checking failure (#6275)
Copilot 066cbbf
Add optional `$newline` parameter to `WP_CLI::log()` and `WP_CLI::lin…
Copilot 20afa01
Refactor: remove unused imports (#6277)
Soean d520048
Harden some tests on macOS
swissspidy a0d9aea
Update tests
swissspidy 8c2081a
Merge branch 'main' into fix/admin-context-super-admin-resolution
swissspidy File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.