Make WordPress Core

Changeset 34493


Ignore:
Timestamp:
09/24/2015 02:10:47 PM (11 years ago)
Author:
DrewAPicture
Message:

Docs: Add a summary, version, and parameter and return descriptions to the DocBlock for WP_Filesystem_FTPext::get_contents().

Also reverses the return types as string is expected, false is the outlier.

See [30978].

See #30989. See #32246.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-filesystem-ftpext.php

    r33984 r34493  
    9494
    9595        /**
    96          * @access public
    97          *
    98          * @param string $file
    99          * @return false|string
     96         * Retrieves the file contents.
     97         *
     98         * @since 2.5.0
     99         * @access public
     100         *
     101         * @param string $file Filename.
     102         * @return string|false File contents on success, false if no temp file could be opened,
     103         *                      or if the file couldn't be retrieved.
    100104         */
    101105        public function get_contents( $file ) {
Note: See TracChangeset for help on using the changeset viewer.