[wp-trac] [WordPress Trac] #59866: Attachment pages are only disabled for users that are logged in
WordPress Trac
noreply at wordpress.org
Thu Nov 9 13:07:00 UTC 2023
#59866: Attachment pages are only disabled for users that are logged in
-------------------------------------+---------------------
Reporter: joppuyo | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.4.2
Component: Media | Version: 6.4
Severity: normal | Resolution:
Keywords: has-patch needs-testing | Focuses:
-------------------------------------+---------------------
Changes (by afercia):
* keywords: => has-patch needs-testing
* milestone: Awaiting Review => 6.4.2
Comment:
@aristath @SergeyBiryukov @poena and myself had a look at it this morning
and we'd like to propose a simple patch.
[attachment:"59866.diff"] changes the capability check to be performed
against the attachment post ''parent'' instead of the attachment post
itself.
Proposing for 6.4.2 consideration.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59866#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list