[wp-trac] [WordPress Trac] #43516: Allowing default category to be applied to all CPT associated to 'category' taxonomy
WordPress Trac
noreply at wordpress.org
Sun Jun 14 21:40:27 UTC 2020
#43516: Allowing default category to be applied to all CPT associated to 'category'
taxonomy
--------------------------------------+------------------------
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-unit-tests has-patch | Focuses:
--------------------------------------+------------------------
Changes (by SergeyBiryukov):
* status: accepted => closed
* resolution: => fixed
Comment:
In [changeset:"48043" 48043]:
{{{
#!CommitTicketReference repository="" revision="48043"
Posts, Post Types: Introduce `default_category_post_types` filter.
The filter allows custom post types associated with the `category`
taxonomy to opt in to requiring a default category, same as regular posts.
Props enrico.sorcinelli.
Fixes #43516.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43516#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list