Commit 355203ee53 for wordpress.org
commit 355203ee539d829dfa9ca3acc75fca1c5fe8197e
Author: Sergey Biryukov <sergeybiryukov.ru@gmail.com>
Date: Thu Feb 5 23:04:46 2026 +0000
Docs: Document the globals in `wp_print_plugin_file_tree()`.
Follow-up to [41851].
Props noruzzaman, huzaifaalmesbah, shailu25, sabernhardt.
See #64224.
Built from https://develop.svn.wordpress.org/trunk@61591
git-svn-id: http://core.svn.wordpress.org/trunk@60902 1a063a9b-81f0-0310-95a4-ce76da25c4cd
diff --git a/wp-admin/includes/misc.php b/wp-admin/includes/misc.php
index 6c00a0ffb1..d5a861638a 100644
--- a/wp-admin/includes/misc.php
+++ b/wp-admin/includes/misc.php
@@ -492,6 +492,9 @@ function wp_make_plugin_file_tree( $plugin_editable_files ) {
* @since 4.9.0
* @access private
*
+ * @global string $file Path to the file being edited.
+ * @global string $plugin Path to the plugin file relative to the plugins directory.
+ *
* @param array|string $tree List of file/folder paths, or filename.
* @param string $label Name of file or folder to print.
* @param int $level The aria-level for the current iteration.
diff --git a/wp-includes/version.php b/wp-includes/version.php
index c7c7346c76..69dc8a403d 100644
--- a/wp-includes/version.php
+++ b/wp-includes/version.php
@@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
-$wp_version = '7.0-alpha-61590';
+$wp_version = '7.0-alpha-61591';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.