[wp-trac] [WordPress Trac] #41518: The full-path body class is missing a hyphen.

WordPress Trac noreply at wordpress.org
Thu Aug 3 10:45:39 UTC 2017


#41518: The full-path body class is missing a hyphen.
-------------------------------+------------------------------
 Reporter:  isaaclubow         |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Posts, Post Types  |     Version:  trunk
 Severity:  normal             |  Resolution:
 Keywords:  close              |     Focuses:  template
-------------------------------+------------------------------
Changes (by SergeyBiryukov):

 * keywords:   => close


Comment:

 Hi @isaaclubow, welcome to WordPress Trac! Thanks for the ticket.

 We can't just change the way these classes are built due to backwards
 compatibility concerns, see #23470 / [30100].

 In the example above, a page with a `/page-templates/full-width.php`
 template would have the following classes: `page-template`, `page-
 template-page-templates`, `page-template-full-width`, and `page-template-
 page-templatesfull-width-php`.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/41518#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list