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

WordPress Trac noreply at wordpress.org
Thu Sep 19 19:25:06 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:  Awaiting Review
Component:  Upgrade/Install          |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-screenshots has-     |     Focuses:  javascript,
  patch                              |  administration
-------------------------------------+-------------------------------------
Changes (by pierlo):

 * keywords:  has-screenshots => has-screenshots has-patch


Comment:

 In [https://core.trac.wordpress.org/attachment/ticket/48077/48077.diff
 48077.diff], use `host` instead of `hostname` for retrieving the domain.

 When verifying the origin for `postMessage` events, the port was not
 considered, so any instance of WordPress being served from a custom port
 (not 80 or 443) won't work.

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


More information about the wp-trac mailing list