Skip to content

Commit

Permalink
Added new password protected post URL to force_ssl filters.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Ems committed Feb 17, 2013
1 parent e219d49 commit 6042e01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/WordPressHTTPS/Module/Core.php
Expand Up @@ -371,7 +371,7 @@ public function secure_different_host_admin( $force_ssl, $post_id = 0, $url = ''
* @return boolean $force_ssl * @return boolean $force_ssl
*/ */
public function secure_wordpress_forms( $force_ssl, $post_id = 0, $url = '' ) { 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; $force_ssl = true;
} }
return $force_ssl; return $force_ssl;
Expand Down

0 comments on commit 6042e01

Please sign in to comment.