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

WordPress Trac noreply at wordpress.org
Thu Mar 16 06:44:02 UTC 2023


#57913: Attachment pages need to have an "on" toggle
-------------------------+------------------------------
 Reporter:  joostdevalk  |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Media        |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  2nd-opinion  |     Focuses:
-------------------------+------------------------------

Comment (by joostdevalk):

 I'm 100% on board with an `add_theme_support` approach and with
 redirecting to the attachment too.

 We could simply detect theme support and then show it, and otherwise
 redirect to the attachment URL itself? Would mean that people that rely on
 this to work need to add an `add_theme_support` option before switching to
 the version we include this in, but this would be a *huge* win for the web
 as far as I'm concerned.

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


More information about the wp-trac mailing list