[wp-trac] [WordPress Trac] #65169: support attachment pages is disabled by default since 6.4, so why then offer image be viewed in attachment pages?
WordPress Trac
noreply at wordpress.org
Fri May 8 10:18:22 UTC 2026
#65169: support attachment pages is disabled by default since 6.4, so why then
offer image be viewed in attachment pages?
--------------------------------------+------------------------------
Reporter: ignatiusjeroe | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses: template
--------------------------------------+------------------------------
Comment (by shreyasikhar26):
I have created a PR here https://github.com/WordPress/wordpress-
develop/pull/11772 to respect the option `wp_attachment_pages_enabled` in
both the editor permalink UI and Media Library templates.
I want to know if we need to add a setting to manually enable/disable
attachment pages which will control the `wp_attachment_pages_enabled`
option value.
Also, we will need similar changes on the gutenberg codebase. I will be
working on that.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/65169#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list