Changeset 49108 for trunk/src/wp-includes/class-wp-term-query.php
- Timestamp:
- 10/08/2020 09:13:57 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-term-query.php
r48985 r49108 259 259 260 260 // 'parent' overrides 'child_of'. 261 if ( 0 < intval( $query['parent'] )) {261 if ( 0 < (int) $query['parent'] ) { 262 262 $query['child_of'] = false; 263 263 } … … 347 347 348 348 // 'parent' overrides 'child_of'. 349 if ( 0 < intval( $args['parent'] )) {349 if ( 0 < (int) $args['parent'] ) { 350 350 $args['child_of'] = false; 351 351 } … … 444 444 array( 445 445 'taxonomy' => reset( $taxonomies ), 446 'child_of' => intval( $extrunk ),446 'child_of' => (int) $extrunk, 447 447 'fields' => 'ids', 448 448 'hide_empty' => 0,
Note: See TracChangeset
for help on using the changeset viewer.