From e86f173f451e72036a141a3fb596ebde549e42d6 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sun, 5 Jan 2025 22:12:24 +0000 Subject: [PATCH] Coding Standards: Use strict comparison in `get_pages()`. Follow-up to [4180], [49108]. Props aristath, poena, afercia, SergeyBiryukov. See #62279. Built from https://develop.svn.wordpress.org/trunk@59575 git-svn-id: http://core.svn.wordpress.org/trunk@58961 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/post.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/post.php b/wp-includes/post.php index a197180d9e..4d85ef2fb2 100644 --- a/wp-includes/post.php +++ b/wp-includes/post.php @@ -6354,7 +6354,7 @@ function get_pages( $args = array() ) { $query_args['author__in'] = array(); foreach ( $post_authors as $post_author ) { // Do we have an author id or an author login? - if ( 0 == (int) $post_author ) { + if ( 0 === (int) $post_author ) { $post_author = get_user_by( 'login', $post_author ); if ( empty( $post_author ) ) { continue; diff --git a/wp-includes/version.php b/wp-includes/version.php index 83b5161c88..90302dc027 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.8-alpha-59574'; +$wp_version = '6.8-alpha-59575'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.