[wp-trac] [WordPress Trac] #35164: Singular body class and main post post class
WordPress Trac
noreply at wordpress.org
Wed Jan 22 21:16:34 UTC 2025
#35164: Singular body class and main post post class
---------------------------------------------+-----------------------
Reporter: danielpataki | Owner: audrasjb
Type: enhancement | Status: closed
Priority: normal | Milestone: 6.8
Component: Themes | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests commit | Focuses:
---------------------------------------------+-----------------------
Changes (by audrasjb):
* status: accepted => closed
* resolution: => fixed
Comment:
In [changeset:"59689" 59689]:
{{{
#!CommitTicketReference repository="" revision="59689"
Themes: Add `wp-singular` to the list of `body` classes when viewing a
single post object.
The `wp-singular` class includes a `wp` prefix to avoid conflicts with
existing classes. This changeset also updates the
`Tests_Post_GetBodyClass` PHPUnit test to include the new CSS class.
Props danielpataki, peterwilsoncc, swissspidy, johnbillion, eceleste,
poena, audrasjb, raj198, shailu25.
Fixes #35164.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35164#comment:25>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list