[wp-trac] [WordPress Trac] #13607: Allow display of custom visibility settings
WordPress Trac
wp-trac at lists.automattic.com
Fri May 28 21:37:32 UTC 2010
#13607: Allow display of custom visibility settings
-----------------------------+----------------------------------------------
Reporter: mitchoyoshitaka | Owner:
Type: enhancement | Status: new
Priority: low | Milestone: Unassigned
Component: Administration | Version: 3.0
Severity: minor | Keywords: has-patch
-----------------------------+----------------------------------------------
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.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13607>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list