Changes between Initial Version and Version 1 of Ticket #30691, comment 12
- Timestamp:
- 04/27/2017 01:49:25 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #30691, comment 12
initial v1 1 1 @knutsp I totally agree with you. There needs to be better management of media and attachments. 2 2 3 Media has been completely ignored by the core team. I understand the main focus right now is getting improvements to the editor, but improving the way media is handled by WordPress should get a higher priority, since this effects everyone.3 If an image is "removed" from a post, it should be considered as "deleted" from that post and stay in an unattached state automatically. 4 4 5 It could start off with a simple media API, which can then grow to tackle larger issues like post thumbnail management.5 The function `get_attached_media()` would seem to suggest that it returns the media that are attached to a post "right now". So if an image is "removed" from a post, and if it still shows up as a result of `get_attached_media()` , it's obviously wrong since as far as a content editor is concerned, it is no longer part of that post.