Skip to content

Commit

Permalink
Revert "fixes #1020"
Browse files Browse the repository at this point in the history
This reverts commit 49dde59.
  • Loading branch information
aristath committed Jun 9, 2016
1 parent 46a5aac commit 4307d2b
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions includes/class-kirki-init.php
Original file line number Diff line number Diff line change
Expand Up @@ -199,13 +199,6 @@ public function get_variables() {
// Loop through the array of variables.
foreach ( $field['variables'] as $field_variable ) {

// If we're using a string, convert to array for consistency.
if ( is_string( $field_variable ) ) {
$field_variable = array(
'name' => $field_variable,
);
}

// Is the variable ['name'] defined? If yes, then we can proceed.
if ( isset( $field_variable['name'] ) ) {

Expand Down

0 comments on commit 4307d2b

Please sign in to comment.