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

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