Changes between Initial Version and Version 1 of Ticket #57913, comment 66
- Timestamp:
- 10/16/2023 08:55:31 PM (16 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #57913, comment 66
initial v1 6 6 > This change will affect only new sites created with WP 6.4+. Perhaps add checking/resetting of the option to your plugin when updating it? 7 7 8 That was the first thing I did when I saw this ticket :) But not every attachment on a website using my plugin needs it's own URL - only the ones in my plugin - and setting a global option will is stillnot helping a site like this.8 That was the first thing I did when I saw this ticket :) But not every attachment on a website using my plugin needs it's own URL - only the ones in my plugin - and setting a global option is not helping a site like this. 9 9 10 10 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.