[wp-trac] [WordPress Trac] #36691: Ability to disable "Password Protected" post option

WordPress Trac noreply at wordpress.org
Mon Jul 18 20:17:08 UTC 2016


#36691: Ability to disable "Password Protected" post option
-----------------------------+------------------------------
 Reporter:  paulschreiber    |       Owner:
     Type:  enhancement      |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Role/Capability  |     Version:  trunk
 Severity:  normal           |  Resolution:
 Keywords:  needs-patch      |     Focuses:
-----------------------------+------------------------------
Changes (by swissspidy):

 * keywords:  has-patch => needs-patch
 * component:  General => Role/Capability


Comment:

 This should rather be a new capability instead of a filter. There are
 other ways to create password protected posts, so a filter to disable the
 form on the post edit screen is not enough.

 There are `delete_private_posts`, `edit_private_posts` and
 `read_private_posts` — so what about adding `publish_private_posts`?
 Perhaps it could by default map to `edit_private_posts` or
 `publish_posts`.

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


More information about the wp-trac mailing list