{"action":"created","issue":{"url":"https://api.github.com/repos/thomasgriffin/TGM-Plugin-Activation/issues/298","labels_url":"https://api.github.com/repos/thomasgriffin/TGM-Plugin-Activation/issues/298/labels{/name}","comments_url":"https://api.github.com/repos/thomasgriffin/TGM-Plugin-Activation/issues/298/comments","events_url":"https://api.github.com/repos/thomasgriffin/TGM-Plugin-Activation/issues/298/events","html_url":"https://github.com/thomasgriffin/TGM-Plugin-Activation/issues/298","id":69930205,"number":298,"title":"Bulk installation error \"http://repo\" in hotfix/2.4.1","user":{"login":"themeblvd","id":1952287,"avatar_url":"https://avatars.githubusercontent.com/u/1952287?v=3","gravatar_id":"","url":"https://api.github.com/users/themeblvd","html_url":"https://github.com/themeblvd","followers_url":"https://api.github.com/users/themeblvd/followers","following_url":"https://api.github.com/users/themeblvd/following{/other_user}","gists_url":"https://api.github.com/users/themeblvd/gists{/gist_id}","starred_url":"https://api.github.com/users/themeblvd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/themeblvd/subscriptions","organizations_url":"https://api.github.com/users/themeblvd/orgs","repos_url":"https://api.github.com/users/themeblvd/repos","events_url":"https://api.github.com/users/themeblvd/events{/privacy}","received_events_url":"https://api.github.com/users/themeblvd/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/thomasgriffin/TGM-Plugin-Activation/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-04-21T19:24:14Z","updated_at":"2015-04-22T17:48:19Z","closed_at":"2015-04-22T00:14:06Z","body":"When using the hotfix/2.4.1 branch, if you're using plugins from wordpress repo, there is an error with bulk installation.\r\n \r\n![screen shot 2015-04-21 at 11 18 02 am](https://cloud.githubusercontent.com/assets/1952287/7260692/5749dcdc-e818-11e4-941f-a9d08f2c246b.png)\r\n\r\nI believe this is happening because of how you're using `esc_url()` here:\r\n\r\nhttps://github.com/thomasgriffin/TGM-Plugin-Activation/blob/hotfix/2.4.1/class-tgm-plugin-activation.php#L1351\r\n\r\nIf I'm understanding right, TGM puts the URL in that form's checkbox as \"repo\", and this is how you're identifying that you need to build the URL to the plugin from the WP repo. \r\n\r\nHowever, when you call `esc_url( $item['url'] )`, you're changing `$item['url']` from \"repo\" to \"http://repo\" -- Then when the form passes the the data to the bulk installer, it doesn't have that \"repo\" value any more, and doesn't know to build the URL to the plugin at wordpress.org."},"comment":{"url":"https://api.github.com/repos/thomasgriffin/TGM-Plugin-Activation/issues/comments/95281369","html_url":"https://github.com/thomasgriffin/TGM-Plugin-Activation/issues/298#issuecomment-95281369","issue_url":"https://api.github.com/repos/thomasgriffin/TGM-Plugin-Activation/issues/298","id":95281369,"user":{"login":"themeblvd","id":1952287,"avatar_url":"https://avatars.githubusercontent.com/u/1952287?v=3","gravatar_id":"","url":"https://api.github.com/users/themeblvd","html_url":"https://github.com/themeblvd","followers_url":"https://api.github.com/users/themeblvd/followers","following_url":"https://api.github.com/users/themeblvd/following{/other_user}","gists_url":"https://api.github.com/users/themeblvd/gists{/gist_id}","starred_url":"https://api.github.com/users/themeblvd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/themeblvd/subscriptions","organizations_url":"https://api.github.com/users/themeblvd/orgs","repos_url":"https://api.github.com/users/themeblvd/repos","events_url":"https://api.github.com/users/themeblvd/events{/privacy}","received_events_url":"https://api.github.com/users/themeblvd/received_events","type":"User","site_admin":false},"created_at":"2015-04-22T17:48:19Z","updated_at":"2015-04-22T17:48:19Z","body":"Thanks!"}}