Opened 3 years ago

Closed 3 years ago

#15279 closed enhancement (fixed)

Private posts should be targettable for distinctive styling

Reported by: westi Owned by: westi
Priority: normal Milestone: 3.1
Component: Themes Version: 3.1
Severity: trivial Keywords:
Cc:

Description

If you have user-specific private posts they should be easy to target with a particular css rule.

In get_post_class() we should add a post-status class.

Change History (1)

  • Resolution set to fixed
  • Status changed from new to closed

(In [16139]) Add the post status as a class so that a theme can easily style private posts differently. Fixes #15279.

Note: See TracTickets for help on using tickets.