diff --git a/wp-includes/post.php b/wp-includes/post.php index ebf7c7f3a9..74cedc40e1 100644 --- a/wp-includes/post.php +++ b/wp-includes/post.php @@ -7934,7 +7934,7 @@ function wp_check_post_hierarchy_for_loops( $post_parent, $post_id ) { } // Can't be its own parent. - if ( $post_parent == $post_id ) { + if ( $post_parent === $post_id ) { return 0; } diff --git a/wp-includes/version.php b/wp-includes/version.php index 8a52a916c8..9c581565c8 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.8-alpha-59596'; +$wp_version = '6.8-alpha-59597'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.