WordPress.org

Make WordPress Core

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#7465 closed defect (bug) (fixed)

Bump term name limit

Reported by: nbachiyski Owned by:
Milestone: 2.6.1 Priority: normal
Severity: normal Version:
Component: General Keywords: has-patch
Focuses: Cc:

Description

Since MySQL's varchar limits are in bytes and not in characters the current limit of 55 can handle a lot less then 55 non-ASCII charcaters. For example 28 Cyrillic characters are 56 bytes, encoded in UTF-8.

Here is a patch, which increases the length to 200.

Attachments (1)

term-name-length-bump.diff (501 bytes) - added by nbachiyski 7 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 @ryan7 years ago

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

(In [8553]) Increase term name length. Props nbachiyski. fixes #7465

comment:2 @ryan7 years ago

(In [8558]) Increase term name length. Props nbachiyski. fixes #7465 for 2.6

comment:3 @ryan7 years ago

  • Milestone changed from 2.7 to 2.6.1

comment:4 @jhodgdon7 years ago

Tested in [8558] in 2.6 branch - looks good, thanks!

Note: See TracTickets for help on using tickets.