Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #57913, comment 14


Ignore:
Timestamp:
03/16/2023 06:53:11 AM (2 years ago)
Author:
joostdevalk
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #57913, comment 14

    initial v1  
    22
    33We 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.
     4
     5So:
     6
     7- We'd add an `add_theme_support` option for this.
     8- We default to attachments **not** being enabled.
     9- When they're not enabled we redirect the attachment URLs to the actual attachment itself.