Opened 17 years ago
Closed 17 years ago
#5293 closed defect (bug) (fixed)
'0' is not a valid title according to sanitize_title()
Reported by: | mdawaffe | Owned by: | |
---|---|---|---|
Milestone: | 2.5 | Priority: | normal |
Severity: | normal | Version: | |
Component: | General | Keywords: | has-patch 2nd-opinion |
Focuses: | Cc: |
Description
Rather than allow a title of '0'
, sanitize_title()
returns ''
.
This means no taxonomy term may be named '0'
.
I'm not sure if there are undesired side effects to changing this.
Attachments (1)
Change History (2)
Note: See
TracTickets for help on using
tickets.
(In [6409]) Allows 0 titles when sanitizing. Props mdawaffe. fixes #5293