Opened 8 years ago
Closed 7 years ago
#2953 closed defect (bug) (fixed)
Plugin Administration: Convert underscores to hyphens in URLs
Reported by: | Ipstenu | Owned by: | coffee2code |
---|---|---|---|
Milestone: | Plugin Directory v3.0 | Priority: | normal |
Component: | Plugin Directory | Keywords: | has-patch |
Cc: |
Description
If someone submits a plugin with the display name of "My_Cool_Plugin" the slug will be set to "my_cool_plugin"
This needs to be "my-cool-plugin"
The only character accepted should be a hyphen.
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
I thought
sanitize_title_with_dashes()
handles underscores; apparently not.Anyway, 2953.patch does :)