[wp-trac] [WordPress Trac] #23470: Convert slash to dash and make body class for page templates look better
WordPress Trac
noreply at wordpress.org
Wed Oct 1 08:43:54 UTC 2014
#23470: Convert slash to dash and make body class for page templates look better
--------------------------+-----------------------
Reporter: Caspie | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.1
Component: Themes | Version: 3.4
Severity: normal | Resolution:
Keywords: has-patch | Focuses: template
--------------------------+-----------------------
Changes (by obenland):
* milestone: Awaiting Review => 4.1
Comment:
For the initial example, the updated patch creates the following output:
`page-template`, `page-template-page-templates`, `page-template-front-
page-php`, `page-template-page-templatesfront-page-php`.
This happens to address the concern of changing class names when moving
page templates in and out of subfolders. To me it's just a more esthetic
class name.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/23470#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list