Improvements needed to docblock for register_taxonomy()
|Reported by:||bobbingwide||Owned by:||boonebgorges|
I first noticed a spelling mistake.
taxonmies should be taxonomies.
Then I found a few more things to comment on...
In the sentence
The function will accept an array (third optional parameter), along with strings for the taxonomy name and another string for the object type.
This suggests that there could be multiple strings for the taxonomy name.
Perhaps it's wise to remove 'and another string'.
Or delete the whole sentence.
- Is it a taxonomy name, taxonomy key or slug?
- Is it object type or types?
- Can you really pass "label"?