diff --git a/includes/admin/class-sp-admin-welcome.php b/includes/admin/class-sp-admin-welcome.php index 35773adc..cf52ea74 100644 --- a/includes/admin/class-sp-admin-welcome.php +++ b/includes/admin/class-sp-admin-welcome.php @@ -185,7 +185,6 @@ class SP_Admin_Welcome { endif; if ( isset( $_POST['sportspress_mode'] ) && ! empty( $_POST['sportspress_mode'] ) && get_option( 'sportspress_mode', null ) != $_POST['sportspress_mode'] ): $sport = $_POST['sportspress_mode']; - SP_Admin_Sports::apply_preset( $sport ); update_option( 'sportspress_mode', $_POST['sportspress_mode'] ); endif; if ( isset( $_POST['sportspress_default_country'] ) ): diff --git a/readme.txt b/readme.txt index ca1ced34..cd2cfeaf 100644 --- a/readme.txt +++ b/readme.txt @@ -142,6 +142,7 @@ Yes, CSV importers are included with the plugin. Go to Tools > Import and choose = 1.1.7 = * Fix - Inconsistent country code for Wales. * Fix - Localize post date month names. +* Fix - Warning message when changing mode on welcome page. * Localization - Update Armenian, French, Italian & Norwegian translations. = 1.1.6 =