Make WordPress Core

Changeset 59575


Ignore:
Timestamp:
01/05/2025 10:10:39 PM (2 weeks ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Use strict comparison in get_pages().

Follow-up to [4180], [49108].

Props aristath, poena, afercia, SergeyBiryukov.
See #62279.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/post.php

    r59572 r59575  
    63556355            foreach ( $post_authors as $post_author ) {
    63566356                // Do we have an author id or an author login?
    6357                 if ( 0 == (int) $post_author ) {
     6357                if ( 0 === (int) $post_author ) {
    63586358                    $post_author = get_user_by( 'login', $post_author );
    63596359                    if ( empty( $post_author ) ) {
Note: See TracChangeset for help on using the changeset viewer.