[wp-trac] [WordPress Trac] #54768: Woocommerce media items are considered as "unattached"

WordPress Trac noreply at wordpress.org
Sat Jan 8 16:21:55 UTC 2022


#54768: Woocommerce media items are considered as "unattached"
-------------------------+-----------------------------
 Reporter:  omadawnx     |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Media        |    Version:  5.8.2
 Severity:  trivial      |   Keywords:
  Focuses:               |
-------------------------+-----------------------------
 Since woocommerce is a major and a widely used plugin, it should be
 possible to managed media items related to "products" as they are treated
 for "posts".
 I was trying to clean up my media folder, after importing products twice
 with their images (my mistake) - the products are easy to delete but their
 media items remain, taking up server storage.

 Using the "unattached" filter in the media panel, it gave me thousands of
 files, I was glad ("cool, I can actually do this!"), so I started deleting
 these files.
 Turns out, these images are actually related to the products, and WP was
 not aware of that.

 I would be great if WP media panel knew when a media file is related to a
 product, so they can be easily filtered. I know this is a separate plugin
 but it is a part of many WP installations.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54768>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list