[wp-trac] [WordPress Trac] #43517: Adding support of default category term for custom taxonomies

WordPress Trac noreply at wordpress.org
Tue Jul 7 00:53:55 UTC 2020


#43517: Adding support of default category term for custom taxonomies
--------------------------------------+------------------------
 Reporter:  enrico.sorcinelli         |       Owner:  whyisjake
     Type:  enhancement               |      Status:  closed
 Priority:  normal                    |   Milestone:  5.5
Component:  Taxonomy                  |     Version:  5.1
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+------------------------
Changes (by whyisjake):

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


Comment:

 In [changeset:"48356" 48356]:
 {{{
 #!CommitTicketReference repository="" revision="48356"
 Taxonomy: Add support for default terms for custom taxonomies.

 The new default_term argument is added to `register_taxonomy()` allowing a
 user to define the default term `name` and optionally `slug` and
 `description`.

 Fixes #43517.

 Props enrico.sorcinelli, SergeyBiryukov, desrosj, davidbaumwald,
 whyisjake.
 }}}

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


More information about the wp-trac mailing list