Add a missing `@return` tag and description to the DocBlock for `WP_Theme::scandir()`.
Props lamosty. Fixes #31872. Built from https://develop.svn.wordpress.org/trunk@32345 git-svn-id: http://core.svn.wordpress.org/trunk@32316 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
261e461f9d
commit
b2e442c247
|
@ -998,6 +998,8 @@ final class WP_Theme implements ArrayAccess {
|
||||||
* @param string $relative_path Optional. The basename of the absolute path. Used to control the
|
* @param string $relative_path Optional. The basename of the absolute path. Used to control the
|
||||||
* returned path for the found files, particularly when this function
|
* returned path for the found files, particularly when this function
|
||||||
* recurses to lower depths. Default empty.
|
* recurses to lower depths. Default empty.
|
||||||
|
* @return array|false Array of files, keyed by the path to the file relative to the `$path` directory prepended
|
||||||
|
* with `$relative_path`, with the values being absolute paths. False otherwise.
|
||||||
*/
|
*/
|
||||||
private static function scandir( $path, $extensions = null, $depth = 0, $relative_path = '' ) {
|
private static function scandir( $path, $extensions = null, $depth = 0, $relative_path = '' ) {
|
||||||
if ( ! is_dir( $path ) )
|
if ( ! is_dir( $path ) )
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.3-alpha-32344';
|
$wp_version = '4.3-alpha-32345';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue