Skip to content

Commit

Permalink
Merge pull request #1310 from xwp/release/3.9.0
Browse files Browse the repository at this point in the history
Release 3.9.0
  • Loading branch information
kasparsd authored Mar 8, 2022
2 parents deca596 + ac64d08 commit 133a549
Show file tree
Hide file tree
Showing 10 changed files with 3,034 additions and 1,220 deletions.
4 changes: 3 additions & 1 deletion classes/class-db-driver-wpdb.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,9 @@ public function insert_record( $data ) {
// Insert record meta.
foreach ( (array) $meta as $key => $vals ) {
foreach ( (array) $vals as $val ) {
$this->insert_meta( $record_id, $key, $val );
if ( is_scalar( $val ) && '' !== $val ) {
$this->insert_meta( $record_id, $key, $val );
}
}
}

Expand Down
2 changes: 1 addition & 1 deletion classes/class-plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class Plugin {
*
* @const string
*/
const VERSION = '3.8.2';
const VERSION = '3.9.0';

/**
* WP-CLI command
Expand Down
8 changes: 7 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,19 @@
"wpackagist-plugin/easy-digital-downloads": "2.9.23",
"wpackagist-plugin/jetpack": "10.0",
"wpackagist-plugin/user-switching": "1.5.5",
"wpsh/local": "^0.2.3"
"wpsh/local": "^0.2.3",
"yoast/phpunit-polyfills": "^1.0"
},
"config": {
"process-timeout": 600,
"sort-packages": true,
"platform": {
"php": "5.6.20"
},
"allow-plugins": {
"composer/installers": true,
"johnpbloch/wordpress-core-installer": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"extra": {
Expand Down
Loading

0 comments on commit 133a549

Please sign in to comment.