Skip to content

Update site host and is_multisite detection#71

Open
mdrovdahl wants to merge 3 commits intotrunkfrom
a8cteam51/update/70-improve-site-host-detection
Open

Update site host and is_multisite detection#71
mdrovdahl wants to merge 3 commits intotrunkfrom
a8cteam51/update/70-improve-site-host-detection

Conversation

@mdrovdahl
Copy link
Copy Markdown

Refactored eval_which_host() to improve hosting provider detection:

  • adds explicit support for detecting WP VIP via .well-known/hosting-provider
  • adds support for detecting WP Engine via the X-Powered-By http header
  • improves detection of WP.com Simple
  • improves detection of multisite (parent and sub sites)
  • adds wp.com site-profiler API endpoint as a fallback source for hosting provider info

@mdrovdahl
Copy link
Copy Markdown
Author

@cagrimmett not sure what our process is for moving this forward...I've tested it fairly extensively, but would be good to have a developer review the PR and correct any obvious issues.

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