Viewing 5 replies - 1 through 5 (of 5 total)
  • Yes. Same problem with me too. No solution found till now.

    Thanks for that – I’ve been trying to figure that one out for months!

    no problem, you need to edit the file
    /plugins/better-wp-security/inc/secure.php

    go to line 890, there is the function remove_script_version {} which cuts off the tail of urls with parameters.

    replace it with the following code and your googlefonts will appear again:

    function remove_script_version( $src ){
       $parts = explode( '?ver=', $src, 2 );
       if ( count($parts) == 1 ) {
         $parts = explode( '&ver=', $src, 2 );
       }
       return $parts[0];
     }

    Thanks indevd!!!!!!!!!!!!!!

    Thanks, there are a number of similar posts in the forum that could use this info.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Better WP Security vs. Google Fonts’ is closed to new replies.