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/class-wp-filesystem-ssh2.php

    r46742 r47122  
    6565        $this->errors = new WP_Error();
    6666
    67         //Check if possible to use ssh2 functions.
     67        // Check if possible to use ssh2 functions.
    6868        if ( ! extension_loaded( 'ssh2' ) ) {
    6969            $this->errors->add( 'no_ssh2_ext', __( 'The ssh2 PHP extension is not available' ) );
     
    583583     */
    584584    public function is_writable( $file ) {
    585         // PHP will base it's writable checks on system_user === file_owner, not ssh_user === file_owner
     585        // PHP will base its writable checks on system_user === file_owner, not ssh_user === file_owner.
    586586        return true;
    587587    }
     
    738738
    739739            if ( '.' == $struc['name'] || '..' == $struc['name'] ) {
    740                 continue; //Do not care about these folders.
     740                continue; // Do not care about these folders.
    741741            }
    742742
Note: See TracChangeset for help on using the changeset viewer.