Ticket #5293 (closed defect: fixed)

Opened 8 months ago

Last modified 7 months ago

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

Reported by: mdawaffe Assigned to: 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

5293.diff (0.8 kB) - added by mdawaffe on 10/31/07 05:00:35.

Change History

10/31/07 05:00:35 changed by mdawaffe

  • attachment 5293.diff added.

12/19/07 17:45:51 changed by ryan

  • status changed from new to closed.
  • resolution set to fixed.

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