[wp-trac] [WordPress Trac] #48077: Plugin install fails from popup modal on localhost installs

WordPress Trac noreply at wordpress.org
Thu Sep 19 21:22:39 UTC 2019


#48077: Plugin install fails from popup modal on localhost installs
-------------------------------------+-------------------------------------
 Reporter:  garrett-eclipse          |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  low                      |   Milestone:  5.3
Component:  Upgrade/Install          |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-screenshots has-     |     Focuses:  javascript,
  patch commit                       |  administration
-------------------------------------+-------------------------------------

Comment (by pierlo):

 What @garrett-eclipse said. Given the origin `http://localhost:8888`:

 `window.location.host` produces `localhost:8888`
 `window.location.hostname` produces `localhost`

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/48077#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list