Fix activation warnings
This commit is contained in:
@@ -63,7 +63,9 @@ class SP_Settings_Teams extends SP_Settings_Page {
|
||||
|
||||
);
|
||||
|
||||
foreach ( SP()->text->team as $key => $value ):
|
||||
$strings = sp_get_text_options();
|
||||
|
||||
foreach ( sp_array_value( $strings, 'team', array() ) as $key => $value ):
|
||||
$settings[] = array(
|
||||
'title' => $value,
|
||||
'id' => 'sportspress_team_' . $key . '_text',
|
||||
|
||||
Reference in New Issue
Block a user