WordPress.org

Make WordPress Core

Changeset 30722


Ignore:
Timestamp:
12/03/2014 10:10:07 AM (6 years ago)
Author:
DrewAPicture
Message:

Use the correct hash notation syntax for the WP_Filesystem_Base::dirlist() DocBlock.

See #28298.

File:
1 edited

Legend:

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

    r30703 r30722  
    788788     * @since 2.5.0
    789789     * @abstract
     790     *
    790791     * @param string $path           Path to directory or file.
    791792     * @param bool   $include_hidden Optional. Whether to include details of hidden ("." prefixed) files.
     
    796797     *     Array of files. False if unable to list directory contents.
    797798     *
    798      *     @type string 'name'        Name of the file/directory.
    799      *     @type string 'perms'       *nix representation of permissions.
    800      *     @type int    'permsn'      Octal representation of permissions.
    801      *     @type string 'owner'       Owner name or ID.
    802      *     @type int    'size'        Size of file in bytes.
    803      *     @type int    'lastmodunix' Last modified unix timestamp.
    804      *     @type mixed  'lastmod'     Last modified month (3 letter) and day (without leading 0).
    805      *     @type int    'time'        Last modified time.
    806      *     @type string 'type'        Type of resource. 'f' for file, 'd' for directory.
    807      *     @type mixed  'files'       If a directory and $recursive is true, contains another array of files.
     799     *     @type string $name        Name of the file/directory.
     800     *     @type string $perms       *nix representation of permissions.
     801     *     @type int    $permsn      Octal representation of permissions.
     802     *     @type string $owner       Owner name or ID.
     803     *     @type int    $size        Size of file in bytes.
     804     *     @type int    $lastmodunix Last modified unix timestamp.
     805     *     @type mixed  $lastmod     Last modified month (3 letter) and day (without leading 0).
     806     *     @type int    $time        Last modified time.
     807     *     @type string $type        Type of resource. 'f' for file, 'd' for directory.
     808     *     @type mixed  $files       If a directory and $recursive is true, contains another array of files.
    808809     * }
    809810     */
Note: See TracChangeset for help on using the changeset viewer.