register_taxonomy - "null" in documentation for arguments > parent_item_colon
Issue Description
I raised this in https://github.com/Crocoblock/suggestions/issues/8084 but it was closed, deferring to the official wording.
But it doesn't make sense, and seems like a clear typo.
URL of the Page with the Issue
https://developer.wordpress.org/reference/functions/register_taxonomy/
Section of Page with the issue
https://developer.wordpress.org/reference/functions/register_taxonomy/#arguments
Why is this a problem?
The wording doesn't make sense starting at the word null:
‘parent_item_colon’ – The same as parent_item, but with colon : in the end null, __( 'Parent Category:' )
Suggested Fix
Based on the lines before / after, it looks like it should say:
‘parent_item_colon’ – The same as parent_item, but with colon : in the end. Default is null or __( 'Parent Category:' )
Heads up @WordPress/docs-issues-coordinators, we have a new issue open. Time to use 'em labels.