Turn off responsive tables by default
This commit is contained in:
@@ -176,7 +176,7 @@ class SP_Settings_General extends SP_Settings_Page {
|
||||
'title' => __( 'Tables', 'sportspress' ),
|
||||
'desc' => __( 'Responsive', 'sportspress' ),
|
||||
'id' => 'sportspress_enable_responsive_tables',
|
||||
'default' => 'yes',
|
||||
'default' => 'no',
|
||||
'type' => 'checkbox',
|
||||
'checkboxgroup' => 'start',
|
||||
),
|
||||
|
||||
@@ -432,6 +432,10 @@ class SP_Install {
|
||||
update_option( 'sportspress_mode', 'team' );
|
||||
}
|
||||
}
|
||||
|
||||
if ( version_compare( $version, '2.5.5', '<' ) ) {
|
||||
update_option( 'sportspress_enable_responsive_tables', 'no' );
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user