Fix welcome page mode error, release with 1.1.7

This commit is contained in:
Brian Miyaji
2014-07-04 16:08:03 +10:00
parent 36e092f26d
commit bd41dad9ae
2 changed files with 1 additions and 1 deletions

View File

@@ -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'] ) ):

View File

@@ -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 =