Coding Standards: Use strict comparison in `wp_check_post_hierarchy_for_loops()`.

Follow-up to [10129], [15806].

Props aristath, poena, afercia, SergeyBiryukov.
See #62279.
Built from https://develop.svn.wordpress.org/trunk@59597


git-svn-id: http://core.svn.wordpress.org/trunk@58983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2025-01-11 00:37:24 +00:00
parent b273bbf538
commit c38d71bcc0
2 changed files with 2 additions and 2 deletions

View File

@ -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;
}

View File

@ -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.