[wp-trac] [WordPress Trac] #52324: Sample permalinks unavailable for attachment pages.
WordPress Trac
noreply at wordpress.org
Tue Jan 26 23:02:12 UTC 2021
#52324: Sample permalinks unavailable for attachment pages.
---------------------------+------------------------------
Reporter: peterwilsoncc | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version:
Severity: normal | Resolution:
Keywords: close | Focuses:
---------------------------+------------------------------
Changes (by peterwilsoncc):
* keywords: => close
Comment:
Thanks for looking in to this.
For posts published immediately it looks like `_fix_attachment_links()`
resolves this. As I was testing scheduled posts at the time it looks like
I hit #36976 so it's possible this ticket can be closed as a ''near
enough'' duplicate of that.
While investigating #52373, I was considering changin the default
permalink to `/attachment/{$attachment->post_name}` but that would require
rewriting `_fix_attachment_links()` so it might be a terrible idea.
Adding the close keyword for the media folks to decide whether to treat
this as a duplicate.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52324#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list