[wp-trac] [WordPress Trac] #59690: Add missing argument type for `supports` in `register_post_type()`
WordPress Trac
noreply at wordpress.org
Sun Dec 3 19:59:25 UTC 2023
#59690: Add missing argument type for `supports` in `register_post_type()`
-------------------------------+-----------------------------
Reporter: jeremyfelt | Owner: SergeyBiryukov
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.5
Component: Posts, Post Types | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses: docs
-------------------------------+-----------------------------
Changes (by SergeyBiryukov):
* owner: (none) => SergeyBiryukov
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"57150" 57150]:
{{{
#!CommitTicketReference repository="" revision="57150"
Docs: Add missing argument type for `supports` in `register_post_type()`.
If set to `false`, no feature support is registered for the post type.
Follow-up to [12751], [20734], [29091], [37883].
Props jeremyfelt, swissspidy.
Fixes #59690.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59690#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list