Changeset 55880
- Timestamp:
- 06/05/2023 11:14:53 AM (16 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/category.php
r53827 r55880 150 150 $path = '/' . $leaf_path; 151 151 $curcategory = $category; 152 while ( ( 0 != $curcategory->parent ) && ( $curcategory->parent != $curcategory->term_id ) ) { 152 153 while ( ( 0 !== $curcategory->parent ) && ( $curcategory->parent !== $curcategory->term_id ) ) { 153 154 $curcategory = get_term( $curcategory->parent, 'category' ); 154 155 … … 160 161 } 161 162 162 if ( $path == $full_path ) {163 if ( $path === $full_path ) { 163 164 $category = get_term( $category->term_id, 'category', $output ); 164 165 _make_cat_compat( $category );
Note: See TracChangeset
for help on using the changeset viewer.