Support » Plugin: iThemes Security (formerly Better WP Security) » WP Better Security conflicts with theme (google) fonts

  • Hi,

    when I activitate my WP Better Security Plugin, it conflicts with my Google Fonts and the theme (Blue Diamond from ThemeForest). The fonts get ‘standardized’, so the beautiful fonts disappear. I’ve asked the theme builder why it does not work, his advice was to ask the builders of the plugin what the problem is.

    The settings/tabs of WP BSP are very extensive, I have no clue which setting to edit to make sure it secures my site and to make the fonts work. Please help me.


    Pim Piepers.

Viewing 2 replies - 1 through 2 (of 2 total)
  • underneaththestairwell


    Same problem here and this is after having website completely down for a week. WP Security is a shit plug in

    no problem, you need to edit the file

    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];
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WP Better Security conflicts with theme (google) fonts’ is closed to new replies.