﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
20061	Preprocess get_page_templates() and store in a global	Master Jake		"The get_page_templates() function is only defined in certain admin-only actions (as far as I can tell). I came across a situation recently where I needed this list on the client side during a page load. Sure I could copy the WordPress function or require_once the file it's in, but that's messy and I'm sure discouraged against for future-proof and backwards compatibility issues.

It would be nice if WordPress preprocessed the list of valid, registered page templates in an early action and then stored that list in a new global (something like $wp_page_templates maybe?).

Thoughts?"	enhancement	closed	normal		General	3.3.1	normal	wontfix		chappellind@…
