﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
11722	body_class() creates an invalid class when page template contains a . [full stop]	willmot		"Confirmed on Trunk and 2.9.1

'''Steps to reproduce'''

1. Create a new file called template.contact.php that contains the template code:

{{{
/*
Template Name: Contact
*/
}}}

Create a page through the WordPress admin and select the template.

View the newly created page, view source and notice that body has a class of ""page-template-template.contact-php"".

Weep in the knowledge that you cannot use css to target that class.

'''Expected result'''

Full stops should be converted to a hyphen."	defect (bug)	closed	low	3.0	Template	3.0	minor	fixed	has-patch	
