We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc193d9 commit 770c41dCopy full SHA for 770c41d
force-https.php
@@ -108,8 +108,8 @@ function force_https_securize_url( $value ) {
108
109
// enforce https on html content that may contain urls
110
function force_https_filter_output( $content ) {
111
- // return unchanged if not a string or does not contain http
112
- if ( ! is_string( $content ) || strpos( $content, 'http://' ) === false ) {
+ // return unchanged if not a string
+ if ( ! is_string( $content ) ) {
113
return $content;
114
}
115
0 commit comments