Make WordPress Core

Opened 4 years ago

Last modified 4 years ago

#49632 new enhancement

Force lowercase for taxonomy id in register_taxonomy()

Reported by: sebastienserre's profile sebastienserre Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Taxonomy Keywords: 2nd-opinion has-patch
Focuses: Cc:


Hello all,

To avoid conflict, I think should mention that $taxonomy must be declared in lowercase.

Should it be a good idea to strtolower() the key ?

What do you think ?

Attachments (1)

49632.diff (1.1 KB) - added by sebastienserre 4 years ago.

Download all attachments as: .zip

Change History (2)

4 years ago

#1 @sebastienserre
4 years ago

  • Keywords has-patch added

Added a patch

Note: See TracTickets for help on using tickets.