diff --git a/wp-includes/category.php b/wp-includes/category.php index 0c06c4c6ea..a97c2c963a 100644 --- a/wp-includes/category.php +++ b/wp-includes/category.php @@ -149,7 +149,8 @@ function get_category_by_path( $category_path, $full_match = true, $output = OBJ foreach ( $categories as $category ) { $path = '/' . $leaf_path; $curcategory = $category; - while ( ( 0 != $curcategory->parent ) && ( $curcategory->parent != $curcategory->term_id ) ) { + + while ( ( 0 !== $curcategory->parent ) && ( $curcategory->parent !== $curcategory->term_id ) ) { $curcategory = get_term( $curcategory->parent, 'category' ); if ( is_wp_error( $curcategory ) ) { @@ -159,7 +160,7 @@ function get_category_by_path( $category_path, $full_match = true, $output = OBJ $path = '/' . $curcategory->slug . $path; } - if ( $path == $full_path ) { + if ( $path === $full_path ) { $category = get_term( $category->term_id, 'category', $output ); _make_cat_compat( $category ); diff --git a/wp-includes/version.php b/wp-includes/version.php index f7487a723a..363f848bde 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.3-alpha-55879'; +$wp_version = '6.3-alpha-55880'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.