Files
WordPress/wp-includes/js
K. Adam White b5ec1e6d96 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.
Fixes #44764.

Built from https://develop.svn.wordpress.org/trunk@43566


git-svn-id: http://core.svn.wordpress.org/trunk@43395 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-08-11 18:51:24 +00:00
..
2017-09-21 16:35:48 +00:00
2012-11-17 15:11:29 +00:00
2012-04-17 23:09:29 +00:00
2015-06-28 14:51:30 +00:00
2018-06-28 02:35:44 +00:00
2013-12-28 23:53:15 +00:00