Skip to content
Browse files

Fixed bug where plugin would try to load hidden files as modules.

  • Loading branch information...
1 parent 4b38346 commit 71a7604616c7fee2210c2be07df57e67f4c18690 @mvied committed May 22, 2012
Showing with 5 additions and 2 deletions.
  1. +1 −1 lib/WordPressHTTPS/Plugin.php
  2. +4 −1 readme.txt
View
2 lib/WordPressHTTPS/Plugin.php
@@ -120,7 +120,7 @@ public function getAvailableModules() {
$modules = array();
if ( is_dir($this->getModuleDirectory()) && $module_directory = opendir($this->getModuleDirectory()) ) {
while ( false !== ($entry = readdir($module_directory)) ) {
- if ( $entry != '.' && $entry != '..' ) {
+ if ( strpos($entry, '.') !== 0 ) {
$module = str_replace('.php', '', $entry);
if ( $module != 'Interface' ) {
$modules[] = $module;
View
5 readme.txt
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
Tags: security, encryption, ssl, shared ssl, private ssl, public ssl, private ssl, http, https
Requires at least: 3.0
Tested up to: 3.4
-Stable tag: 3.0.3
+Stable tag: 3.0.4
WordPress HTTPS is intended to be an all-in-one solution to using SSL on WordPress sites.
@@ -74,6 +74,9 @@ add_filter('force_ssl', 'store_force_ssl', 10, 2);`
2. Force SSL checkbox added to add/edit posts screen
== Changelog ==
+= 3.0.4 =
+* Fixed multiple bugs for sites using SSL for the entire site.
+* Bug Fix - plugin should no longer try to load hidden files as modules.
= 3.0.3 =
* Any element on an HTTP page that is set to HTTPS should be auto-corrected.
* Added support for domain mapper plugin.

0 comments on commit 71a7604

Please sign in to comment.
Something went wrong with that request. Please try again.