Opened 6 years ago
Last modified 6 years ago
#49632 new enhancement
Force lowercase for taxonomy id in register_taxonomy()
| Reported by: | sebastienserre | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Awaiting Review |
| Component: | Taxonomy | Version: | |
| Severity: | normal | Keywords: | 2nd-opinion has-patch |
| Cc: | Focuses: |
Description
Hello all,
To avoid conflict, I think https://developer.wordpress.org/reference/functions/register_taxonomy/ 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)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Added a patch