Skip to content
Browse files

Added new password protected post URL to force_ssl filters.

  • Loading branch information...
1 parent e219d49 commit 6042e011a721b3e4126b35c5d3184f76adda75f7 @mvied committed Feb 17, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/WordPressHTTPS/Module/Core.php
View
2 lib/WordPressHTTPS/Module/Core.php
@@ -371,7 +371,7 @@ public function secure_different_host_admin( $force_ssl, $post_id = 0, $url = ''
* @return boolean $force_ssl
*/
public function secure_wordpress_forms( $force_ssl, $post_id = 0, $url = '' ) {
- if ( $this->getPlugin()->isSsl() && $this->getPlugin()->isUrlLocal($url) && ( strpos($url, 'wp-pass.php') !== false || strpos($url, 'wp-comments-post.php') !== false ) ) {
+ if ( $this->getPlugin()->isSsl() && $this->getPlugin()->isUrlLocal($url) && ( strpos($url, 'wp-pass.php') !== false || strpos($url, 'wp-login.php?action=') !== false || strpos($url, 'wp-comments-post.php') !== false ) ) {
$force_ssl = true;
}
return $force_ssl;

0 comments on commit 6042e01

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