WordPress.org

Make WordPress Core

Changeset 32345


Ignore:
Timestamp:
05/05/2015 12:33:55 AM (7 years ago)
Author:
DrewAPicture
Message:

Add a missing @return tag and description to the DocBlock for WP_Theme::scandir().

Props lamosty.
Fixes #31872.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-theme.php

    r32344 r32345  
    999999     *                                         returned path for the found files, particularly when this function
    10001000     *                                         recurses to lower depths. Default empty.
     1001     * @return array|false Array of files, keyed by the path to the file relative to the `$path` directory prepended
     1002     *                     with `$relative_path`, with the values being absolute paths. False otherwise.
    10011003     */
    10021004    private static function scandir( $path, $extensions = null, $depth = 0, $relative_path = '' ) {
Note: See TracChangeset for help on using the changeset viewer.