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
This commit is contained in:
Sergey Biryukov 2025-01-05 22:12:24 +00:00
parent aa87f88678
commit e86f173f45
2 changed files with 2 additions and 2 deletions

View File

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

View File

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