Ticket #55358: 55358.patch
| File 55358.patch, 704 bytes (added by , 4 years ago) |
|---|
-
src/wp-includes/taxonomy.php
IDEA additional info: Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP <+>UTF-8 diff --git a/src/wp-includes/taxonomy.php b/src/wp-includes/taxonomy.php
a b 1556 1556 if ( 0 === $term ) { 1557 1557 return 0; 1558 1558 } 1559 1560 if ( ! empty( $taxonomy ) && is_numeric( $parent ) ) { 1561 $defaults['parent'] = (int) $parent; 1562 } 1563 1559 1564 $args = wp_parse_args( array( 'include' => array( $term ) ), $defaults ); 1560 1565 $terms = get_terms( $args ); 1561 1566 } else {