Make WordPress Core

Opened 4 years ago

Closed 3 years ago

#43682 closed enhancement (fixed)

Document $relative_file, $stylesheet global in wp_print_theme_file_tree()

Reported by: mukesh27 Owned by: desrosj
Milestone: 5.1 Priority: normal
Severity: normal Version: 4.9
Component: Themes Keywords: has-patch
Focuses: docs Cc:


global $relative_file, $stylesheet are used but it is not mentioned in the documentation of the wp_print_theme_file_tree() function.

Attachments (2)

43682.patch (572 bytes) - added by mukesh27 4 years ago.
43682.diff (1.8 KB) - added by desrosj 3 years ago.

Download all attachments as: .zip

Change History (7)

4 years ago

#1 @mukesh27
4 years ago

  • Keywords has-patch added

#2 @SergeyBiryukov
4 years ago

  • Component changed from General to Themes
  • Milestone changed from Awaiting Review to 5.0

#3 @pento
3 years ago

  • Milestone changed from 5.0 to 5.1

3 years ago

#4 @desrosj
3 years ago

  • Version changed from trunk to 4.9

43682.diff fixes the alignment of the parameters and makes the descriptions a bit more detailed.

#5 @desrosj
3 years ago

  • Owner set to desrosj
  • Resolution set to fixed
  • Status changed from new to closed

In 44477:

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.

Note: See TracTickets for help on using tickets.