Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
wp-cli
/
core-command
Public
Notifications
You must be signed in to change notification settings
Fork
56
Star
53
Code
Issues
0
Pull requests
1
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Security and quality
Insights
Fix incorrect home/siteurl when WP-CLI runs from root filesystem
- #307
#307
Merged
swissspidy
merged 11 commits into
main
wp-cli/core-command:main
from
copilot/fix-core-install-home-siteurl
wp-cli/core-command:copilot/fix-core-install-home-siteurl
Copy head branch name to clipboard
Mar 19, 2026
Conversation
Commits
11
(11)
Checks
Files changed
Merged
Fix incorrect home/siteurl when WP-CLI runs from root filesystem
#307
swissspidy
merged 11 commits into
main
wp-cli/core-command:main
from
copilot/fix-core-install-home-siteurl
wp-cli/core-command:copilot/fix-core-install-home-siteurl
Copy head branch name to clipboard
Commits
Commits on Feb 4, 2026
Initial plan
Copilot
committed
ec61f8a
View commit details
Copy full SHA for ec61f8a
Browse repository at this point
Fix incorrect home/siteurl when wp-cli runs from root filesystem
Show description for 37a6c47
Copilot
and
swissspidy
committed
37a6c47
View commit details
Copy full SHA for 37a6c47
Browse repository at this point
Simplify path logic and add clarifying comments
Show description for 154f2a2
Copilot
and
swissspidy
committed
154f2a2
View commit details
Copy full SHA for 154f2a2
Browse repository at this point
Use pathinfo() and trailingslashit() for safer path handling
Show description for 6573b48
Copilot
and
swissspidy
committed
6573b48
View commit details
Copy full SHA for 6573b48
Browse repository at this point
Update src/Core_Command.php
Show description for 659b2c3
swissspidy
and
Copilot
authored
659b2c3
View commit details
Copy full SHA for 659b2c3
Browse repository at this point
Add test scenario simulating root filesystem WP-CLI location
Show description for f7506a3
Copilot
and
swissspidy
committed
f7506a3
View commit details
Copy full SHA for f7506a3
Browse repository at this point
Commits on Feb 19, 2026
Move $_SERVER fix earlier in do_install() before loading WordPress files
Show description for 023b834
Copilot
and
swissspidy
committed
023b834
View commit details
Copy full SHA for 023b834
Browse repository at this point
Commits on Feb 20, 2026
Apply $_SERVER fix in install() and multisite_install() methods before do_install() call
Show description for ef8c6fb
Copilot
and
swissspidy
committed
ef8c6fb
View commit details
Copy full SHA for ef8c6fb
Browse repository at this point
Commits on Mar 12, 2026
Merge branch 'main' into copilot/fix-core-install-home-siteurl
swissspidy
committed
9df1c39
View commit details
Copy full SHA for 9df1c39
Browse repository at this point
Commits on Mar 13, 2026
Extract $_SERVER fix logic into helper method set_server_url_vars()
Show description for c26a796
Copilot
and
swissspidy
committed
c26a796
View commit details
Copy full SHA for c26a796
Browse repository at this point
Commits on Mar 16, 2026
Merge branch 'main' into copilot/fix-core-install-home-siteurl
swissspidy
authored
274dd64
View commit details
Copy full SHA for 274dd64
Browse repository at this point
You can’t perform that action at this time.