Skip to content

Commit 1757ace

Browse files
Docs: Document the globals in wp_print_plugin_file_tree().
Follow-up to [41851]. Props noruzzaman, huzaifaalmesbah, shailu25, sabernhardt. See #64224. git-svn-id: https://develop.svn.wordpress.org/trunk@61591 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 5930f08 commit 1757ace

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/wp-admin/includes/misc.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -492,6 +492,9 @@ function wp_make_plugin_file_tree( $plugin_editable_files ) {
492492
* @since 4.9.0
493493
* @access private
494494
*
495+
* @global string $file Path to the file being edited.
496+
* @global string $plugin Path to the plugin file relative to the plugins directory.
497+
*
495498
* @param array|string $tree List of file/folder paths, or filename.
496499
* @param string $label Name of file or folder to print.
497500
* @param int $level The aria-level for the current iteration.

0 commit comments

Comments
 (0)