diff --git a/wp-includes/version.php b/wp-includes/version.php index 3e8480acf9..88d62fc71b 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.9-alpha-41470'; +$wp_version = '4.9-alpha-41483'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. diff --git a/wp-includes/wp-db.php b/wp-includes/wp-db.php index 5cc2be114f..c300e240f2 100644 --- a/wp-includes/wp-db.php +++ b/wp-includes/wp-db.php @@ -1243,7 +1243,7 @@ class wpdb { } foreach ( $args as $arg ) { - if ( ! is_scalar( $arg ) ) { + if ( ! is_scalar( $arg ) && ! is_null( $arg ) ) { _doing_it_wrong( 'wpdb::prepare', sprintf( __( 'Unsupported value type (%s).' ), gettype( $arg ) ), '4.8.2' ); } }