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

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