[wp-trac] [WordPress Trac] #56352: Docs: Clarify that `register_taxonomy()` only accepts lowercase values for the `$taxonomy` parameter

WordPress Trac noreply at wordpress.org
Wed Aug 10 13:52:58 UTC 2022


#56352: Docs: Clarify that `register_taxonomy()` only accepts lowercase values for
the `$taxonomy` parameter
---------------------------------------------+-----------------------
 Reporter:  audrasjb                         |       Owner:  audrasjb
     Type:  defect (bug)                     |      Status:  closed
 Priority:  normal                           |   Milestone:  6.1
Component:  Taxonomy                         |     Version:
 Severity:  normal                           |  Resolution:  fixed
 Keywords:  good-first-bug has-patch commit  |     Focuses:  docs
---------------------------------------------+-----------------------
Changes (by audrasjb):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"53873" 53873]:
 {{{
 #!CommitTicketReference repository="" revision="53873"
 Docs: Clarify that `register_taxonomy()` only accepts lowercase values for
 the `$taxonomy` parameter.

 This brings consistency with docblock used in `register_post_type()`.

 Props audrasjb, bengreeley, dipakparmar443.
 Fixes #56352
 See #55646.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/56352#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list