Skip to content

Commit 9720fc0

Browse files
Apply the patch
1 parent 3d9fde3 commit 9720fc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -590,7 +590,7 @@ public function get_terms() {
590590
);
591591
}
592592

593-
if ( '' === $args['object_ids'] ) {
593+
if ( empty( $args['object_ids'] ) && ! is_numeric( $args['object_ids'] ) ) {
594594
$args['object_ids'] = array();
595595
} else {
596596
$args['object_ids'] = array_map( 'intval', (array) $args['object_ids'] );

0 commit comments

Comments
 (0)