[wp-trac] [WordPress Trac] #44017: Add filter to display edit post link without 'edit_post' capability
WordPress Trac
noreply at wordpress.org
Wed May 9 22:55:44 UTC 2018
#44017: Add filter to display edit post link without 'edit_post' capability
-----------------------------------------+------------------------------
Reporter: rafsuntaskin | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Posts, Post Types | Version:
Severity: major | Resolution:
Keywords: has-patch reporter-feedback | Focuses:
-----------------------------------------+------------------------------
Changes (by johnbillion):
* keywords: has-patch => has-patch reporter-feedback
* component: General => Posts, Post Types
Comment:
Thanks for the report, @rafsuntaskin, and welcome to WordPress Trac.
This seems like a conflicting requirement. If the user cannot edit a given
post, what purpose would there be in allowing them to access the edit post
URL? If the URL is going to point to another location, then this ought to
be doable with the `get_edit_post_link` filter while retaining the user's
ability to edit the post.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44017#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list