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 3d9fde3 commit 9720fc0Copy full SHA for 9720fc0
src/wp-includes/class-wp-term-query.php
@@ -590,7 +590,7 @@ public function get_terms() {
590
);
591
}
592
593
- if ( '' === $args['object_ids'] ) {
+ if ( empty( $args['object_ids'] ) && ! is_numeric( $args['object_ids'] ) ) {
594
$args['object_ids'] = array();
595
} else {
596
$args['object_ids'] = array_map( 'intval', (array) $args['object_ids'] );
0 commit comments