WordPress/wp-includes
danielbachhuber a5bd8cb64c 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.

Built from https://develop.svn.wordpress.org/branches/5.0@43757


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43586 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-10-18 20:49:25 +00:00
..
2016-12-03 03:30:42 +00:00
2017-01-11 01:23:41 +00:00
2017-10-16 22:29:48 +00:00
2018-07-24 17:08:26 +00:00
2016-12-03 04:16:38 +00:00
2016-12-03 03:51:41 +00:00