Make WordPress Core


Ignore:
Timestamp:
01/29/2020 12:43:23 AM (6 years ago)
Author:
SergeyBiryukov
Message:

Docs: Improve inline comments per the documentation standards.

Includes minor code layout fixes for better readability.

See #48303.

File:
1 edited

Legend:

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

    r47084 r47122  
    12151215    if (
    12161216        ! extension_loaded( 'sodium' ) &&
    1217         in_array( PHP_VERSION_ID, [ 70200, 70201, 70202 ], true ) &&
     1217        in_array( PHP_VERSION_ID, array( 70200, 70201, 70202 ), true ) &&
    12181218        extension_loaded( 'opcache' )
    12191219    ) {
     
    15471547        }
    15481548
    1549         if ( '/' == substr( $info['name'], -1 ) ) { // directory
     1549        if ( '/' == substr( $info['name'], -1 ) ) { // Directory.
    15501550            continue;
    15511551        }
Note: See TracChangeset for help on using the changeset viewer.