#56333 closed enhancement (fixed)
Remove _wp_image_belongs_to_attachment function
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 6.1 | Priority: | normal |
| Severity: | normal | Version: | 6.1 |
| Component: | Media | Keywords: | has-patch |
| Focuses: | Cc: |
Description
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
Change History (6)
This ticket was mentioned in PR #3061 on WordPress/wordpress-develop by mukeshpanchal27.
4 years ago
#1
- Keywords has-patch added; needs-patch removed
#2
@
4 years ago
Good catch @mukesh27 this was part of the original code, but we changed the approach and this is no longer used or needed.
This ticket was mentioned in PR #3070 on WordPress/wordpress-develop by adamsilverstein.
4 years ago
#3
Trac ticket:
Trac ticket: https://core.trac.wordpress.org/ticket/56333