Opened 16 years ago
Closed 16 years ago
#7850 closed defect (bug) (fixed)
get_page_templates() -- $description extracted, but never used
Reported by: | Mrasnika | Owned by: | |
---|---|---|---|
Milestone: | 2.8 | Priority: | lowest |
Severity: | trivial | Version: | 2.6.1 |
Component: | Administration | Keywords: | has-patch needs-testing |
Focuses: | Cc: |
Description
in wp-admin/includes/theme.php, in the get_page_templates() function, the template data is parsed to extract the description for the template, but it is never returned.
If this $description var is obsolete, why not remove the parsing for it ? And if it is not, please add a way to make it possible to use it (like building a global/static list of all the available templates, with name, description, filename, etc.)
Attachments (1)
Change History (7)
Note: See
TracTickets for help on using
tickets.
Might mean nothing, but I'll take ownership of this for 2.8.