A few code standard improvements
This commit is contained in:
1 parent
a50b247b5e
commit
fba83557ac
6 files changed
+34
-34
No files matched your search
@@ -153,7 +153,7 @@ class Base_Field_Template {
|
||||
$attributes = $signup_field->reduce_attributes($attributes);
|
||||
}
|
||||
|
||||
$markup = sprintf('<dynamic :template="get_template(\'%s\', %s)"></dynamic>', esc_js($this->id), esc_attr(json_encode($attributes)));
|
||||
$markup = sprintf('<dynamic :template="get_template(\'%s\', %s)"></dynamic>', esc_js($this->id), esc_attr(wp_json_encode($attributes)));
|
||||
} else {
|
||||
$markup = $this->render($attributes);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user