radishconcepts / WordPress-GitHub-Plugin-Updater

This class is meant to be used with your Github hosted WordPress plugins. The purpose of the class is to allow your WordPress plugin to be updated whenever you push out a new version of your plugin; similarly to the experience users know and love with the WordPress.org plugin repository.
https://github.com/jkudish/WordPress-GitHub-Plugin-Updater
823 stars 195 forks source link

Add filter for sslverify on zip url #20

Closed sc0ttkclark closed 12 years ago

sc0ttkclark commented 12 years ago

the zip_url never gets the sslverify setting passed from this plugin, because it's not hooked into at the point when it's run. This addition will set sslverify to the config settings when WP goes to download the ZIP. Otherwise, sslverify defaults to true and fails on certain hosts that have no idea what the GitHub SSL certificate is (lol).

Props to @pglewis for digging so deep to find this fix.