Opened 6 years ago

Closed 5 years ago

#5293 closed defect (bug) (fixed)

'0' is not a valid title according to sanitize_title()

Reported by: mdawaffe Owned by: anonymous
Priority: normal Milestone: 2.5
Component: General Version:
Severity: normal Keywords: has-patch 2nd-opinion
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)

5293.diff (869 bytes) - added by mdawaffe 6 years ago.

Download all attachments as: .zip

Change History (2)

comment:1   ryan5 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [6409]) Allows 0 titles when sanitizing. Props mdawaffe. fixes #5293

Note: See TracTickets for help on using tickets.