We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25efc00 commit 3fcd2c0Copy full SHA for 3fcd2c0
src/QueryBuilder.php
@@ -1449,7 +1449,7 @@ private function prepareAttributeForSaveOrUpdate($isUpdate = false)
1449
if (isset($attributes[$column])) {
1450
$this->bindings[] = \is_array($this->_model->{$column})
1451
|| \is_object($this->_model->{$column})
1452
- ? json_encode($this->_model->{$column}) : $this->_model->{$column};
+ ? wp_json_encode($this->_model->{$column}) : $this->_model->{$column};
1453
} else {
1454
$this->bindings[] = '';
1455
}
0 commit comments