[wp-trac] [WordPress Trac] #29009: There should be a capability for "publish private posts"

WordPress Trac noreply at wordpress.org
Wed Jul 23 16:52:38 UTC 2014


#29009: There should be a capability for "publish private posts"
-----------------------------+-----------------------------
 Reporter:  t.schwarz        |       Owner:
     Type:  enhancement      |      Status:  closed
 Priority:  normal           |   Milestone:
Component:  Role/Capability  |     Version:  3.9.1
 Severity:  normal           |  Resolution:  wontfix
 Keywords:                   |     Focuses:  administration
-----------------------------+-----------------------------
Changes (by DrewAPicture):

 * status:  new => closed
 * resolution:   => wontfix
 * milestone:  Awaiting Review =>


Comment:

 > But I think the most parsimonious solution would be to include a
 capability that would allow people to "publish_private_posts" yet not
 "publish_posts".

 I don't think we need another capability for this.

 I'd suggest taking a look at the
 [http://developer.wordpress.org/reference/hooks/map_meta_cap/
 map_meta_cap] filter for granting `publish_posts` in the case where
 they're set to private, as that seems to be the ultimate goal of your
 suggestion.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/29009#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list