[wp-trac] [WordPress Trac] #7850: get_page_templates() --
$description extracted, but never used
WordPress Trac
wp-trac at lists.automattic.com
Wed Oct 8 18:15:54 GMT 2008
#7850: get_page_templates() -- $description extracted, but never used
----------------------------+-----------------------------------------------
Reporter: Mrasnika | Owner: anonymous
Type: defect | Status: new
Priority: lowest | Milestone: 2.7
Component: Administration | Version: 2.6.1
Severity: trivial | Keywords:
----------------------------+-----------------------------------------------
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.)
--
Ticket URL: <http://trac.wordpress.org/ticket/7850>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list