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

WordPress Trac noreply at wordpress.org
Thu Sep 19 21:58:43 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 afragen):

 @garrett-eclipse I did some digging and you’ve already solved this issue.
 😉

 https://github.com/afragen/github-updater/issues/491


 {{{
 function allow_unsafe_urls ( $args ) {
         $args['reject_unsafe_urls'] = false;
         return $args;
 }
 add_filter( 'http_request_args', 'allow_unsafe_urls' );
 }}}

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


More information about the wp-trac mailing list