Make WordPress Core

Opened 6 years ago

Closed 5 years ago

#13607 closed enhancement (duplicate)

Allow display of custom visibility settings

Reported by: mitchoyoshitaka Owned by:
Milestone: Priority: low
Severity: minor Version: 3.0
Component: Administration Keywords: has-patch
Focuses: Cc:


Right now the post_status setting on a post is translated into a "visibility" value when the edit post screen is set up. There is no way to interact with custom post_status values.

A first step towards this would be to allow custom mappings of post_status (and other information) to custom visibility values (patch supplied). Saving custom values can be handled using the wp_insert_post_data filter.

Ultimately, a way to swap out the div#visibility printing code would be ideal, but for my current application I could just as well use some after-load javascript to make this happen, given the correct visibility value being set in #hidden-post-visibility.

Attachments (1)

13607.diff (1.5 KB) - added by mitchoyoshitaka 6 years ago.

Download all attachments as: .zip

Change History (4)

#1 @ocean90
5 years ago

  • Milestone changed from Unassigned to 3.1

#2 @kevinB
5 years ago

  • Cc kevinB added

#3 @nacin
5 years ago

  • Milestone Awaiting Triage deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Duplicate #12706, #12567.

Note: See TracTickets for help on using tickets.