[wp-trac] [WordPress Trac] #49632: Force lowercase for taxonomy id in register_taxonomy()
WordPress Trac
noreply at wordpress.org
Thu Mar 12 15:07:46 UTC 2020
#49632: Force lowercase for taxonomy id in register_taxonomy()
----------------------------+-----------------------------
Reporter: sebastienserre | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Taxonomy | Version:
Severity: normal | Keywords: 2nd-opinion
Focuses: |
----------------------------+-----------------------------
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 ?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49632>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list