[wp-trac] [WordPress Trac] #56333: Remove _wp_image_belongs_to_attachment function

WordPress Trac noreply at wordpress.org
Thu Aug 4 08:33:05 UTC 2022


#56333: Remove _wp_image_belongs_to_attachment function
-------------------------+-----------------------------
 Reporter:  mukesh27     |      Owner:  adamsilverstein
     Type:  enhancement  |     Status:  assigned
 Priority:  normal       |  Milestone:  6.1
Component:  Media        |    Version:  trunk
 Severity:  normal       |   Keywords:  needs-patch
  Focuses:               |
-------------------------+-----------------------------
 In #55443, we introduced `_wp_image_belongs_to_attachment()` to skip
 already existing image files, but we changed the approach to ensure unique
 filenames and changed the `generate_filename` function.

 Check out the comment on the PR here: https://github.com/WordPress
 /wordpress-develop/pull/2393#issuecomment-1185012318

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


More information about the wp-trac mailing list