Fix errors associated with variables not being set. see #8, #17.

This commit is contained in:
Nathan Rice
2016-04-21 11:32:39 -04:00
parent 36553a6557
commit 97fac5c57b
3 changed files with 12 additions and 5 deletions
+4
View File
@@ -101,6 +101,10 @@ function ss_register_sidebars() {
//* Cycle through created sidebars, register them as widget areas
foreach ( (array) $_sidebars as $id => $info ) {
if ( ! isset( $info['name'] ) || ! isset( $info['description'] ) ) {
continue;
}
genesis_register_sidebar( array(
'name' => esc_html( $info['name'] ),
'id' => $id,