Fix welcome page mode error, release with 1.1.7
This commit is contained in:
@@ -185,7 +185,6 @@ class SP_Admin_Welcome {
|
|||||||
endif;
|
endif;
|
||||||
if ( isset( $_POST['sportspress_mode'] ) && ! empty( $_POST['sportspress_mode'] ) && get_option( 'sportspress_mode', null ) != $_POST['sportspress_mode'] ):
|
if ( isset( $_POST['sportspress_mode'] ) && ! empty( $_POST['sportspress_mode'] ) && get_option( 'sportspress_mode', null ) != $_POST['sportspress_mode'] ):
|
||||||
$sport = $_POST['sportspress_mode'];
|
$sport = $_POST['sportspress_mode'];
|
||||||
SP_Admin_Sports::apply_preset( $sport );
|
|
||||||
update_option( 'sportspress_mode', $_POST['sportspress_mode'] );
|
update_option( 'sportspress_mode', $_POST['sportspress_mode'] );
|
||||||
endif;
|
endif;
|
||||||
if ( isset( $_POST['sportspress_default_country'] ) ):
|
if ( isset( $_POST['sportspress_default_country'] ) ):
|
||||||
|
|||||||
@@ -142,6 +142,7 @@ Yes, CSV importers are included with the plugin. Go to Tools > Import and choose
|
|||||||
= 1.1.7 =
|
= 1.1.7 =
|
||||||
* Fix - Inconsistent country code for Wales.
|
* Fix - Inconsistent country code for Wales.
|
||||||
* Fix - Localize post date month names.
|
* Fix - Localize post date month names.
|
||||||
|
* Fix - Warning message when changing mode on welcome page.
|
||||||
* Localization - Update Armenian, French, Italian & Norwegian translations.
|
* Localization - Update Armenian, French, Italian & Norwegian translations.
|
||||||
|
|
||||||
= 1.1.6 =
|
= 1.1.6 =
|
||||||
|
|||||||
Reference in New Issue
Block a user