Opened 18 years ago
Closed 18 years ago
#6280 closed defect (bug) (fixed)
Attachment permalinks with int slugs fail
| Reported by: | andy | Owned by: | ryan |
|---|---|---|---|
| Priority: | high | Milestone: | 2.5 |
| Component: | General | Version: | 2.5 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
Description
http://www.gamesgorilla.com/2008/03/18/testing/
Attachment slugs should not be allowed to be ints.
Possible fix: if type is attachment and $slug is int, make it "attachment-$slug"
Attachments (3)
Change History (5)
#1
@
18 years ago
- Keywords has-patch added
- Owner changed from to
Clean solution: use http://trac.wordpress.org/browser/trunk/wp-includes/rewrite.php?rev=6964#L717
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Notice the same content is loaded and displayed for both attachment URLs