[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:43:00 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):

 Update:
 I have now added a setting to manually enable/disable attachment pages
 which will control the `wp_attachment_pages_enabled` option value in the
 same PR.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/65169#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list