Skip to content

Commit

Permalink
removing filter, disabling iconv by overriding the iconv detection as…
Browse files Browse the repository at this point in the history
… proposed by Tomas (who should get some sleep really ;-) )
  • Loading branch information
futtta committed Oct 7, 2018
1 parent ee3a055 commit 5d74905
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions classes/autoptimizeMain.php
Expand Up @@ -127,6 +127,10 @@ public function setup()
if ( ! defined( 'AUTOPTIMIZE_SITE_DOMAIN' ) ) {
define( 'AUTOPTIMIZE_SITE_DOMAIN', parse_url( AUTOPTIMIZE_WP_SITE_URL, PHP_URL_HOST ) );
}

// disable iconv by default (it's too slow).
autoptimizeUtils::iconv_available( false );

do_action( 'autoptimize_setup_done' );
}

Expand Down

0 comments on commit 5d74905

Please sign in to comment.