Merge remote branch 'upstream/master'

This commit is contained in:
Ramon van Belzen 2012-03-02 12:21:02 +01:00
commit ecd34196c3
1 changed files with 1 additions and 5 deletions

View File

@ -989,11 +989,7 @@ class Woocommerce {
function plugin_url() {
if($this->plugin_url) return $this->plugin_url;
if (is_ssl()) :
return $this->plugin_url = str_replace('http://', 'https://', WP_PLUGIN_URL) . "/" . plugin_basename( dirname(__FILE__));
else :
return $this->plugin_url = WP_PLUGIN_URL . "/" . plugin_basename( dirname(__FILE__));
endif;
return $this->plugin_url = plugins_url( basename( plugin_dir_path(__FILE__) ), __THIS__ );
}
/**