Opened 18 years ago
Closed 18 years ago
#6280 closed defect (bug) (fixed)
Attachment permalinks with int slugs fail
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 2.5 | Priority: | high |
| Severity: | normal | Version: | 2.5 |
| Component: | General | Keywords: | has-patch |
| Focuses: | Cc: |
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 anonymous to ryan
Clean solution: use http://trac.wordpress.org/browser/trunk/wp-includes/rewrite.php?rev=6964#L717
Note: See
TracTickets for help on using
tickets.
Notice the same content is loaded and displayed for both attachment URLs