Fix activation warnings

This commit is contained in:
Brian Miyaji
2014-03-29 04:11:59 +11:00
parent 8a9e211f5b
commit 222cd0d2f8
8 changed files with 2322 additions and 2299 deletions

View File

@@ -62,7 +62,9 @@ class SP_Settings_Players extends SP_Settings_Page {
);
foreach ( SP()->text->player as $key => $value ):
$strings = sp_get_text_options();
foreach ( sp_array_value( $strings, 'player', array() ) as $key => $value ):
$settings[] = array(
'title' => $value,
'id' => 'sportspress_player_' . $key . '_text',