WordPress HTTPS (SSL) - Version 3.1.1

Version Description

  • Bug Fix - Fixed bug in Parser.
Download this release

Release Info

Developer Mvied
Plugin Icon wp plugin WordPress HTTPS (SSL)
Version 3.1.1
Comparing to
See all releases

Code changes from version 3.1 to 3.1.1

lib/Mvied/Plugin.php CHANGED
@@ -423,7 +423,7 @@ class Mvied_Plugin {
423
  unset($modules[$module]);
424
 
425
  $this->_modules = $modules;
426
-
427
  return $this;
428
  }
429
 
423
  unset($modules[$module]);
424
 
425
  $this->_modules = $modules;
426
+
427
  return $this;
428
  }
429
 
lib/Mvied/Theme.php CHANGED
@@ -211,7 +211,7 @@ class Mvied_Theme {
211
  }
212
 
213
  /**
214
- * Set Theme Setting
215
  *
216
  * @param string $setting
217
  * @param mixed $value
211
  }
212
 
213
  /**
214
+ * Set Theme Setting
215
  *
216
  * @param string $setting
217
  * @param mixed $value
lib/WordPressHTTPS/Module/Filters.php CHANGED
@@ -90,7 +90,7 @@ class WordPressHTTPS_Module_Filters extends Mvied_Plugin_Module implements Mvied
90
  * @return string $url
91
  */
92
  public function site_url( $url, $path, $scheme, $blog_id ) {
93
- if ( $scheme == 'https' ) {
94
  $url = $this->getPlugin()->makeUrlHttps($url);
95
  }
96
  return $url;
90
  * @return string $url
91
  */
92
  public function site_url( $url, $path, $scheme, $blog_id ) {
93
+ if ( $scheme == 'https' || ( $scheme != 'http' && $this->getPlugin()->isSsl() ) ) {
94
  $url = $this->getPlugin()->makeUrlHttps($url);
95
  }
96
  return $url;
lib/WordPressHTTPS/Module/Parser.php CHANGED
@@ -92,7 +92,7 @@ class WordPressHTTPS_Module_Parser extends Mvied_Plugin_Module implements Mvied_
92
  // Add log entry if this change hasn't been logged
93
  if ( $updated && $url != $updated ) {
94
  $log = '[FIXED] Element: ' . ( $type != '' ? '<' . $type . '> ' : '' ) . $url . ' => ' . $updated;
95
- } else if ( $updated == false && $url->getScheme() == 'http' ) {
96
  $log = '[WARNING] Unsecure Element: <' . $type . '> - ' . $url;
97
  }
98
  if ( isset($log) && ! in_array($log, $this->getPlugin()->getLogger()->getLog()) ) {
92
  // Add log entry if this change hasn't been logged
93
  if ( $updated && $url != $updated ) {
94
  $log = '[FIXED] Element: ' . ( $type != '' ? '<' . $type . '> ' : '' ) . $url . ' => ' . $updated;
95
+ } else if ( $updated == false && strpos($url, 'http://') == 0 ) {
96
  $log = '[WARNING] Unsecure Element: <' . $type . '> - ' . $url;
97
  }
98
  if ( isset($log) && ! in_array($log, $this->getPlugin()->getLogger()->getLog()) ) {
readme.txt CHANGED
@@ -4,12 +4,12 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
4
  Tags: security, encryption, ssl, shared ssl, private ssl, public ssl, private ssl, http, https
5
  Requires at least: 3.0
6
  Tested up to: 3.4
7
- Stable tag: 3.1
8
 
9
  WordPress HTTPS is intended to be an all-in-one solution to using SSL on WordPress sites.
10
 
11
  == Description ==
12
- If you're having partially encrypted/mixed content errors or other problems, please read the <a href="http://wordpress.org/extend/plugins/wordpress-https/faq/">FAQ</a>. If you're still having trouble, please <a href="http://wordpress.org/tags/wordpress-https#postform">start a support topic</a> and I will do my best to assist you.
13
 
14
  == Installation ==
15
  1. Upload the `wordpress-https` folder to the `/wp-content/plugins/` directory.
@@ -44,7 +44,7 @@ Most insecure content warnings can generally be resolved by changing absolute re
44
  <li>Elements loaded via JavaScript that are hard-coded to HTTP. Usually this can be fixed by altering the JavaScript calling these elements.</li>
45
  <li>External elements that can not be delivered over HTTPS. These elements will have to be removed from the page, or hosted locally so that they can be loaded over HTTPS.</li>
46
  <li>YouTube videos - YouTube allows videos to use HTTPS. <a href="http://support.google.com/youtube/bin/answer.py?hl=en&answer=171780&expand=UseHTTPS">How to embed a YouTube video</a>.</li>
47
- <li>Google Maps - Loading Google maps over HTTPS requires a Google Maps API Premiere account. (<a href="http://code.google.com/apis/maps/faq.html#ssl" target="_blank">source</a>)</li>
48
  </ul>
49
 
50
  = Is there a hook or filter to force pages to be secure? =
@@ -73,10 +73,11 @@ add_filter('force_ssl', 'store_force_ssl', 10, 3);`
73
  2. Force SSL checkbox added to add/edit posts screen
74
 
75
  == To Do ==
76
- * qTranslate Support
77
  * SSL Domain Mapping
78
 
79
  == Changelog ==
 
 
80
  = 3.1 =
81
  * Memory optimization.
82
  * Added secure URL filtering.
4
  Tags: security, encryption, ssl, shared ssl, private ssl, public ssl, private ssl, http, https
5
  Requires at least: 3.0
6
  Tested up to: 3.4
7
+ Stable tag: 3.1.1
8
 
9
  WordPress HTTPS is intended to be an all-in-one solution to using SSL on WordPress sites.
10
 
11
  == Description ==
12
+ If you're having partially encrypted/mixed content errors or other problems, please read the <a href="http://wordpress.org/extend/plugins/wordpress-https/faq/">FAQ</a>. If you're still having trouble, please <a href="http://wordpress.org/support/plugin/wordpress-https">start a support topic</a> and I will do my best to assist you.
13
 
14
  == Installation ==
15
  1. Upload the `wordpress-https` folder to the `/wp-content/plugins/` directory.
44
  <li>Elements loaded via JavaScript that are hard-coded to HTTP. Usually this can be fixed by altering the JavaScript calling these elements.</li>
45
  <li>External elements that can not be delivered over HTTPS. These elements will have to be removed from the page, or hosted locally so that they can be loaded over HTTPS.</li>
46
  <li>YouTube videos - YouTube allows videos to use HTTPS. <a href="http://support.google.com/youtube/bin/answer.py?hl=en&answer=171780&expand=UseHTTPS">How to embed a YouTube video</a>.</li>
47
+ <li>Google Maps - Using Google Maps API V3, you can use HTTPS. Using V2, HTTPS requires a Google Maps API Premiere account. (<a href="http://code.google.com/apis/maps/faq.html#ssl" target="_blank">source</a>)</li>
48
  </ul>
49
 
50
  = Is there a hook or filter to force pages to be secure? =
73
  2. Force SSL checkbox added to add/edit posts screen
74
 
75
  == To Do ==
 
76
  * SSL Domain Mapping
77
 
78
  == Changelog ==
79
+ = 3.1.1 =
80
+ * Bug Fix - Fixed bug in Parser.
81
  = 3.1 =
82
  * Memory optimization.
83
  * Added secure URL filtering.
wordpress-https.php CHANGED
@@ -4,7 +4,7 @@
4
  Plugin URI: http://mvied.com/projects/wordpress-https/
5
  Description: WordPress HTTPS is intended to be an all-in-one solution to using SSL on WordPress sites.
6
  Author: Mike Ems
7
- Version: 3.1
8
  Author URI: http://mvied.com/
9
  */
10
 
@@ -48,7 +48,7 @@ spl_autoload_register('wphttps_autoloader');
48
  if ( function_exists('get_bloginfo') && ! defined('WP_UNINSTALL_PLUGIN') ) {
49
  $wordpress_https = new WordPressHTTPS;
50
  $wordpress_https->setSlug('wordpress-https');
51
- $wordpress_https->setVersion('3.1');
52
  $wordpress_https->setLogger(WordPressHTTPS_Logger::getInstance());
53
  $wordpress_https->setPluginUrl(plugins_url('', __FILE__));
54
  $wordpress_https->setDirectory(dirname(__FILE__));
4
  Plugin URI: http://mvied.com/projects/wordpress-https/
5
  Description: WordPress HTTPS is intended to be an all-in-one solution to using SSL on WordPress sites.
6
  Author: Mike Ems
7
+ Version: 3.1.1
8
  Author URI: http://mvied.com/
9
  */
10
 
48
  if ( function_exists('get_bloginfo') && ! defined('WP_UNINSTALL_PLUGIN') ) {
49
  $wordpress_https = new WordPressHTTPS;
50
  $wordpress_https->setSlug('wordpress-https');
51
+ $wordpress_https->setVersion('3.1.1');
52
  $wordpress_https->setLogger(WordPressHTTPS_Logger::getInstance());
53
  $wordpress_https->setPluginUrl(plugins_url('', __FILE__));
54
  $wordpress_https->setDirectory(dirname(__FILE__));