WordPress.org

Make WordPress Core

Opened 7 years ago

Closed 7 years ago

#15279 closed enhancement (fixed)

Private posts should be targettable for distinctive styling

Reported by: westi Owned by: westi
Milestone: 3.1 Priority: normal
Severity: trivial Version: 3.1
Component: Themes Keywords:
Focuses: 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)

#1 @westi
7 years ago

  • 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.