Changeset 61445 for trunk/src/wp-includes/taxonomy.php
- Timestamp:
- 01/06/2026 06:05:20 AM (3 months ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/taxonomy.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/taxonomy.php
r61387 r61445 1724 1724 $do_object = is_object( $term ); 1725 1725 1726 $term_id = $do_object ? $term->term_id : ( isset( $term['term_id'] ) ? $term['term_id'] :0 );1726 $term_id = $do_object ? $term->term_id : ( $term['term_id'] ?? 0 ); 1727 1727 1728 1728 foreach ( (array) $fields as $field ) { … … 3281 3281 $parsed_args['slug'] = $slug; 3282 3282 3283 $term_group = isset( $parsed_args['term_group'] ) ? $parsed_args['term_group'] :0;3283 $term_group = $parsed_args['term_group'] ?? 0; 3284 3284 if ( $args['alias_of'] ) { 3285 3285 $alias = get_term_by( 'slug', $args['alias_of'], $taxonomy );
Note: See TracChangeset
for help on using the changeset viewer.