Make WordPress Core

Opened 14 years ago

Closed 14 years ago

#15279 closed enhancement (fixed)

Private posts should be targettable for distinctive styling

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


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