[wp-trac] [WordPress Trac] #57913: Attachment pages need to have an "on" toggle
WordPress Trac
noreply at wordpress.org
Fri Jan 19 00:43:04 UTC 2024
#57913: Attachment pages need to have an "on" toggle
---------------------------------------------+-----------------------------
Reporter: joostdevalk | Owner: SergeyBiryukov
Type: enhancement | Status: closed
Priority: normal | Milestone: 6.4
Component: Media | Version:
Severity: normal | Resolution: fixed
Keywords: add-to-field-guide has-dev-note | Focuses:
---------------------------------------------+-----------------------------
Comment (by peterwilsoncc):
In [changeset:"57310" 57310]:
{{{
#!CommitTicketReference repository="" revision="57310"
Media: Redirect inactive attachement pages for logged-out users.
Ensure logged out users are redirected to the media file when attachment
pages are inactive. This removes the `read_post` capability check from the
canonical redirects as anonymous users lack the permission.
Follow-up to [56657], [56658], [56711].
Props afercia, aristath, chesio, joppuyo, jorbin, lakshmananphp, poena,
sergeybiryukov.
Fixes #59866.
See #57913.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57913#comment:72>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list