[wp-trac] [WordPress Trac] #56079: Internal rest_do_request calls for posts/CPTs with status of anything but "published" should not need authentication
WordPress Trac
noreply at wordpress.org
Mon Jun 27 20:04:22 UTC 2022
#56079: Internal rest_do_request calls for posts/CPTs with status of anything but
"published" should not need authentication
--------------------------+-----------------------------
Reporter: mkormendy | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Keywords:
Focuses: rest-api |
--------------------------+-----------------------------
If I am performing an internal rest_do_request() call to a local REST
endpoint, I shouldn't need to provide authentication to access posts or
custom post types with a status of anything other than "published".
It's an INTERNAL request, it should ALREADY be authenticated by the code
running internally already.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56079>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list