Skip to content

Commit 578120f

Browse files
authored
Update force-https.php
1 parent 0fc3eb7 commit 578120f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

force-https.php

-2
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,6 @@ function force_https_filter_output( $content ) {
120120
add_filter( 'walker_nav_menu_start_el', 'force_https_filter_output', 10 );
121121
add_filter( 'widget_text', 'force_https_filter_output', 20 );
122122
add_filter( 'widget_text_content', 'force_https_filter_output', 20 );
123-
add_filter( 'wp_redirect', 'force_https_filter_output', 999 );
124-
add_filter( 'wp_safe_redirect', 'force_https_filter_output', 999 );
125123

126124
// force https on all elements and attributes with urls
127125
add_filter( 'the_content', 'force_https_process_content', 20 );

0 commit comments

Comments
 (0)