@@ -82,17 +82,11 @@ function force_https_securize_url( $value ) {
8282add_filter ( 'plugins_url ' , 'force_https_securize_url ' , 10 );
8383add_filter ( 'post_link ' , 'force_https_securize_url ' , 10 );
8484add_filter ( 'rest_url ' , 'force_https_securize_url ' , 10 );
85- add_filter ( 'script_loader_src ' , 'force_https_securize_url ' , 10 );
8685add_filter ( 'site_url ' , 'force_https_securize_url ' , 10 );
87- add_filter ( 'stylesheet_directory_uri ' , 'force_https_securize_url ' , 10 );
88- add_filter ( 'style_loader_src ' , 'force_https_securize_url ' , 10 );
8986add_filter ( 'tag_link ' , 'force_https_securize_url ' , 10 );
90- add_filter ( 'template_directory_uri ' , 'force_https_securize_url ' , 10 );
9187add_filter ( 'term_link ' , 'force_https_securize_url ' , 10 );
92- add_filter ( 'theme_file_uri ' , 'force_https_securize_url ' , 10 );
9388add_filter ( 'woocommerce_account_endpoint_url ' , 'force_https_securize_url ' , 10 );
9489add_filter ( 'wp_get_attachment_url ' , 'force_https_securize_url ' , 10 );
95- add_filter ( 'wp_upload_dir ' , 'force_https_securize_url ' , 10 );
9690
9791// enforce https on html content that may contain urls
9892function force_https_filter_output ( $ content ) {
0 commit comments