mirror of
git://develop.git.wordpress.org/
synced 2025-01-17 21:08:44 +01:00
Daniel Bachhuber
93817f5e00
REST API: generate a valid fallback URI in wp.api.utils.getRootURL.
When window.location.origin isn't set, correctly insert two slashes between the protocol and host when constructing the fallback URL. Props abdullahramzan. Merges [43566] into the 5.0 branch. Fixes #44764. git-svn-id: https://develop.svn.wordpress.org/branches/5.0@43757 602fd350-edb4-49c9-b593-d223f7449a82
Description
No description provided
Languages
PHP
81.4%
CSS
8.9%
JavaScript
8.2%
SCSS
0.8%
HTML
0.7%