Opened 16 years ago
Closed 16 years ago
#8705 closed defect (bug) (fixed)
New uploaded media relative links are broken upon site move
Reported by: | DD32 | Owned by: | |
---|---|---|---|
Milestone: | 2.8 | Priority: | normal |
Severity: | normal | Version: | 2.7 |
Component: | General | Keywords: | has-patch needs-testing |
Focuses: | Cc: |
Description
Seems I (or who ever wrote the final patch) forgot to cover a If branch case for when $file was relative to the uploads dir.
See attached patch.
Attached patch also includes a small notice-level warning correction for a post meta function.
Attachments (2)
Change History (6)
Note: See
TracTickets for help on using
tickets.
Hm, I have a feeling this patch might not work well for old attachments after the WordPress install has moved to a new server, Eg, It appears to be creating links such as: