From 19e46911cff21cb11d8ebe54fded95019a026805 Mon Sep 17 00:00:00 2001 From: Gary Pendergast Date: Tue, 8 Jan 2019 06:01:50 +0000 Subject: [PATCH] Docs: Fix the `@param` type for `wp_make_plugin_file_tree()`. `$plugin_editable_files` is an `array`, not a `string`. Props subrataemfluence. Fixes #45593. git-svn-id: https://develop.svn.wordpress.org/trunk@44464 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/misc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-admin/includes/misc.php b/src/wp-admin/includes/misc.php index 7880e82608..2fc46f9de5 100644 --- a/src/wp-admin/includes/misc.php +++ b/src/wp-admin/includes/misc.php @@ -380,7 +380,7 @@ function wp_print_theme_file_tree( $tree, $level = 2, $size = 1, $index = 1 ) { * @since 4.9.0 * @access private * - * @param string $plugin_editable_files List of plugin file paths. + * @param array $plugin_editable_files List of plugin file paths. * @return array Tree structure for listing plugin files. */ function wp_make_plugin_file_tree( $plugin_editable_files ) {