[wp-trac] [WordPress Trac] #11697: Make private posts a canonical plugin
WordPress Trac
wp-trac at lists.automattic.com
Fri Jan 8 11:05:09 UTC 2010
#11697: Make private posts a canonical plugin
-------------------------------+--------------------------------------------
Reporter: Denis-de-Bernardy | Owner: ericmann
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 3.0
Component: General | Version: 2.9
Severity: normal | Keywords: needs-patch
-------------------------------+--------------------------------------------
Comment(by Denis-de-Bernardy):
Replying to [comment:6 ericmann]:
> In the interest of moving all of the private posts functionality to a
canonical plugin, would someone mind pointing me in the direction of
existing code? I can probably find most of it on my own ... but a head
start would be nice.
Searching the code base for 'private' and "private" gives a good starting
point. Basically, it leads you to:
- admin ajax
- the post and page editors (including a js file)
- meta boxes api
- admin templates (lists and inline edit)
- comments api (e.g. posting on private posts)
- capabilities
- xmlrpc
- importers
I think that the importers can safely be left untouched.
The rest would basically need to be replaced with appropriate filters.
Make sure this gets blessed by a core dev before you start, however.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11697#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list