﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
21755	wp_insert_post() cannot set a page template from the frontend	nacin	nacin	"wp_insert_post(), when setting a page template with 'page_template', has a dependency on the get_page_templates() function.

Since WP_Theme is now available in wp-includes, we can use wp_get_theme()->get_page_templates(). Note that the keys and values are flipped, so we need to change from an in_array() to an isset()."	defect (bug)	closed	normal	3.5	Themes		normal	fixed	has-patch needs-testing	
