[wp-trac] [WordPress Trac] #50388: REST API: Add action-delete flag to declare delete_post capability for post objects
WordPress Trac
noreply at wordpress.org
Fri Mar 12 14:18:36 UTC 2021
#50388: REST API: Add action-delete flag to declare delete_post capability for post
objects
--------------------------------------+-----------------------
Reporter: ocean90 | Owner: (none)
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: REST API | Version:
Severity: normal | Resolution: wontfix
Keywords: has-patch has-unit-tests | Focuses: rest-api
--------------------------------------+-----------------------
Comment (by swissspidy):
@TimothyBlynJacobs @ocean90 The `Allow` header works for
`wp/v2/posts/<id>` requests. But what if I fetch a list of posts from
`wp/v2/posts/` and for each item want to know whether I can delete it?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50388#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list