Skip to content

Commit 8bb9a4f

Browse files
author
Ghost1227
committed
Bring embedded sources up to date
1 parent afcced1 commit 8bb9a4f

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

framework.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1366,7 +1366,8 @@ public function _options_page_html() {
13661366
if ( $saved ) {
13671367
delete_transient( 'redux-saved-' . $this->args['opt_name'] );
13681368
}
1369-
1369+
echo '<div class="wrap"><h2></h2></div>'; // Stupid hack for Wordpress alerts and warnings
1370+
13701371
echo '<div class="clear"></div>';
13711372
echo '<div class="wrap">';
13721373

inc/fields/spacing/field_spacing.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,9 @@ function render(){
7979
continue;
8080
}
8181
if (strpos($k, $this->field['mode']) === false) {
82-
$this->value[$k] = str_replace($oldval['units'], "". $v);
82+
$this->value[$k] = str_replace($oldval['units'], "", $v);
8383
} else {
84-
$this->value[$str_replace($this->field['mode'].'-', "", $k)] = str_replace($oldval['units'], "". $v);
84+
$this->value[str_replace($this->field['mode'].'-', "", $k)] = str_replace($oldval['units'], "", $v);
8585
}
8686
}
8787

@@ -245,4 +245,4 @@ public function output() {
245245

246246
}
247247

248-
}//class
248+
}//class

0 commit comments

Comments
 (0)