WordPress.org

Make WordPress Core

Changeset 44477


Ignore:
Timestamp:
01/08/2019 06:32:10 PM (2 months ago)
Author:
desrosj
Message:

Docs: Specify missing global variables used in wp_print_theme_file_tree().

The $relative_file and $stylesheet variables are used in the wp_print_theme_file_tree() function but were not noted within the inline documentation.

Props mukesh27, desrosj,
Fixes #43682.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/misc.php

    r44475 r44477  
    313313 * @since 4.9.0
    314314 * @access private
     315 *
     316 * @global string $relative_file Name of the file being edited relative to the
     317 *                               theme directory.
     318 * @global string $stylesheet    The stylesheet name of the theme being edited.
    315319 *
    316320 * @param array|string $tree  List of file/folder paths, or filename.
Note: See TracChangeset for help on using the changeset viewer.