-
Notifications
You must be signed in to change notification settings - Fork 101
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
Sunrise: Allow setting WP-CLI context via blog_id #4788
base: develop
Are you sure you want to change the base?
Conversation
Adds a new param `--load-blog-id` which allows loading blog context via a blog_id value instead of a URL.
I think And some customer applications aren't considered blogs, so having an interface that tries to reference it as one seems odd. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #4788 +/- ##
=============================================
+ Coverage 28.67% 28.96% +0.28%
- Complexity 4661 4692 +31
=============================================
Files 274 276 +2
Lines 20638 20729 +91
=============================================
+ Hits 5918 6004 +86
- Misses 14720 14725 +5 ☔ View full report in Codecov by Sentry. |
This pull request has been marked stale because it has been open for 60 days with no activity. If there is no activity within 7 days, it will be closed. This is an automation to keep pull requests manageable and actionable and is not a comment on the quality of this pull request nor on the work done so far. Closed PRs are still valuable to the project and their branches are preserved. |
This pull request has been marked stale because it has been open for 60 days with no activity. If there is no activity within 7 days, it will be closed. This is an automation to keep pull requests manageable and actionable and is not a comment on the quality of this pull request nor on the work done so far. Closed PRs are still valuable to the project and their branches are preserved. |
This pull request has been marked stale because it has been open for 60 days with no activity. If there is no activity within 7 days, it will be closed. This is an automation to keep pull requests manageable and actionable and is not a comment on the quality of this pull request nor on the work done so far. Closed PRs are still valuable to the project and their branches are preserved. |
Adds a new param
--load-blog-id
which allows loading blog context via a blog_id value instead of a URL.Based on wp-cli/wp-cli#5649 (comment)
Changelog Description
WP-CLI: Add new --load-blog-id global param
We've added a new global param (
--load-blog-id
) to WP-CLI, which allows loading blog context via a blog_id value instead of a URL. This is helpful in cases where you have an ID but not a URL.Pre-review checklist
Please make sure the items below have been covered before requesting a review:
Pre-deploy checklist
Steps to Test
TODO