@@ -74,6 +74,7 @@ function force_https_securize_url( $value ) {
7474add_filter ( 'embed_oembed_html ' , 'force_https_securize_url ' , 10 );
7575add_filter ( 'get_avatar_url ' , 'force_https_securize_url ' , 10 );
7676add_filter ( 'get_custom_logo ' , 'force_https_securize_url ' , 10 );
77+ add_filter ( 'get_the_permalink ' , 'force_https_securize_url ' , 10 );
7778add_filter ( 'includes_url ' , 'force_https_securize_url ' , 10 );
7879add_filter ( 'login_redirect ' , 'force_https_securize_url ' , 10 );
7980add_filter ( 'logout_redirect ' , 'force_https_securize_url ' , 10 );
@@ -86,6 +87,7 @@ function force_https_securize_url( $value ) {
8687add_filter ( 'rest_url ' , 'force_https_securize_url ' , 10 );
8788add_filter ( 'tag_link ' , 'force_https_securize_url ' , 10 );
8889add_filter ( 'term_link ' , 'force_https_securize_url ' , 10 );
90+ add_filter ( 'wc_get_endpoint_url ' , 'force_https_securize_url ' , 10 );
8991add_filter ( 'woocommerce_account_endpoint_url ' , 'force_https_securize_url ' , 10 );
9092add_filter ( 'wp_get_attachment_url ' , 'force_https_securize_url ' , 10 );
9193
@@ -128,7 +130,7 @@ function( $matches ) {
128130}
129131
130132// enforce https for wp resource hints
131- add_filter ( 'wp_resource_hints ' , 'force_https_fix_resource_hints ' , 999 );
133+ add_filter ( 'wp_resource_hints ' , 'force_https_fix_resource_hints ' , 20 );
132134function force_https_fix_resource_hints ( $ urls ) {
133135 if ( ! is_array ( $ urls ) ) {
134136 return $ urls ;
0 commit comments