[wp-trac] [WordPress Trac] #57913: Attachment pages need to have an "on" toggle

WordPress Trac noreply at wordpress.org
Mon Oct 16 21:08:08 UTC 2023


#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 hellofromTonya):

 Replying to [comment:66 wpsunshine]:
 > While I overall agree with the goal of this ticket to reduce the number
 of unnecessary URLs for attachments that definitely don't need one, there
 are many things in the WP ecosystem that do rely on attachment pages.
 Having a filter (which defaults to the option value) to allow/disallow on
 a ''per-attachment basis'' I think would make this an even better way to
 go about implementing this change instead of only a global option.

 Hello @wpsunshine, Thank you for suggestion. With 6.4 RC1 tomorrow and
 given that adding a new filter is an enhancement, it's too late in the 6.4
 cycle.

 Can you open a new Trac ticket please? Adding a new filter could be
 considered during the 6.5 cycle.

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


More information about the wp-trac mailing list