Make WordPress Core


Ignore:
Timestamp:
11/24/2021 11:58:20 PM (3 years ago)
Author:
SergeyBiryukov
Message:

Docs: Miscellaneous DocBlock corrections.

See #53399.

File:
1 edited

Legend:

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

    r52032 r52242  
    11951195        }
    11961196
    1197         // Potential file name must be valid string
    1198         if ( $tmpfname_disposition && is_string( $tmpfname_disposition ) && ( 0 === validate_file( $tmpfname_disposition ) ) ) {
     1197        // Potential file name must be valid string.
     1198        if ( $tmpfname_disposition && is_string( $tmpfname_disposition )
     1199            && ( 0 === validate_file( $tmpfname_disposition ) )
     1200        ) {
    11991201            if ( rename( $tmpfname, $tmpfname_disposition ) ) {
    12001202                $tmpfname = $tmpfname_disposition;
Note: See TracChangeset for help on using the changeset viewer.