Ticket #2801 (closed defect (bug): fixed)
Fix stripping of leading slashes in get_attachment_link()
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 2.3 |
| Component: | General | Version: | 2.1 |
| Severity: | normal | Keywords: | attachment permalink leading slash strip trim has-patch |
| Cc: |
Description
Generation of the attachment link from the permalink unintentionally strips leading slashes. This patch corrects it.
Attachments
Change History
-
attachment
get_attachment_link-trim-fix.diff
added
Note: See
TracTickets for help on using
tickets.

The patch