diff --git a/inc/admin/upgrader.php b/inc/admin/upgrader.php index 5a1f5ed3..3ad5eb48 100755 --- a/inc/admin/upgrader.php +++ b/inc/admin/upgrader.php @@ -310,7 +310,7 @@ function _imagify_new_upgrade( $network_version, $site_version ) { if ( version_compare( $site_version, '2.2' ) < 0 ) { Imagify_Options::get_instance()->set( 'display_nextgen', Imagify_Options::get_instance()->get( 'display_webp', 0 ) ); - Imagify_Options::get_instance()->set( 'display_nextgen_method_rewrite', Imagify_Options::get_instance()->get( 'display_webp_method_rewrite' ) ); + Imagify_Options::get_instance()->set( 'display_nextgen_method', Imagify_Options::get_instance()->get( 'display_webp_method' ) ); } } add_action( 'imagify_upgrade', '_imagify_new_upgrade', 10, 2 );