Merge branch 'master' of github.com:ThemeBoy/SportsPress
This commit is contained in:
@@ -72,7 +72,7 @@ class SP_Settings_Page {
|
||||
|
||||
$templates = $this->templates();
|
||||
if ( ! empty( $templates ) )
|
||||
update_option( 'sportspress_' . $this->template . '_template_order', sp_array_value( $_POST, 'sportspress_' . $this->template . '_template_order', false ) );
|
||||
update_option( 'sportspress_' . $this->template . '_template_order', sp_array_value( $_POST, 'sportspress_' . $this->template . '_template_order', false, 'key' ) );
|
||||
|
||||
if ( isset( $_POST['sportspress_template_visibility'] ) && is_array( $_POST['sportspress_template_visibility'] ) ) {
|
||||
foreach ( $_POST['sportspress_template_visibility'] as $option => $toggled ) {
|
||||
|
||||
7315
includes/libraries/class-tgm-plugin-activation.php
Executable file → Normal file
7315
includes/libraries/class-tgm-plugin-activation.php
Executable file → Normal file
File diff suppressed because it is too large
Load Diff
@@ -394,8 +394,11 @@ final class SportsPress {
|
||||
endswitch;
|
||||
|
||||
$config = array(
|
||||
'id' => 'sportspress',
|
||||
'default_path' => '',
|
||||
'menu' => 'tgmpa-install-plugins',
|
||||
'parent_slug' => 'plugins.php',
|
||||
'capability' => 'manage_options',
|
||||
'has_notices' => true,
|
||||
'dismissable' => true,
|
||||
'is_automatic' => true,
|
||||
|
||||
Reference in New Issue
Block a user