Make WordPress Core


Ignore:
Timestamp:
09/22/2021 08:59:15 PM (2 years ago)
Author:
johnbillion
Message:

General: Fix code quality issues which were identified by static analysis.

This fixes minor issues that could cause PHP notices under the right conditions, and fixes some general incorrectness.

Props jrf, hellofromTonya for review

See #52217

File:
1 edited

Legend:

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

    r51837 r51850  
    55075507        return get_post( $foundid, $output );
    55085508    }
     5509
     5510    return null;
    55095511}
    55105512
     
    55645566        return get_post( $page, $output );
    55655567    }
     5568
     5569    return null;
    55665570}
    55675571
Note: See TracChangeset for help on using the changeset viewer.