Skip to content

Commit 09c94f9

Browse files
committed
chore: fix WP_Meta_Query::__construct() default arg to match doctype.
1 parent 14cb921 commit 09c94f9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/wp-includes/class-wp-meta-query.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ class WP_Meta_Query {
165165
* }
166166
* }
167167
*/
168-
public function __construct( $meta_query = false ) {
168+
public function __construct( $meta_query = array() ) {
169169
if ( ! $meta_query ) {
170170
return;
171171
}

0 commit comments

Comments
 (0)