[wp-trac] [WordPress Trac] #46261: Args for register_post_type() missing blocks $template.
WordPress Trac
noreply at wordpress.org
Wed Nov 4 02:29:11 UTC 2020
#46261: Args for register_post_type() missing blocks $template.
--------------------------+-------------------------
Reporter: milana_cap | Owner: noisysocks
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.6
Component: Editor | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses: docs
--------------------------+-------------------------
Comment (by SergeyBiryukov):
In [changeset:"49494" 49494]:
{{{
#!CommitTicketReference repository="" revision="49494"
Docs: Adjust documentation for some `WP_Post_Type` properties:
* Split the summary for `$template` per the documentation standards. The
summary should be a single sentence.
* Change the type for `$template_lock` to `string|false`, to clarify that
`true` is not supported.
* Fix typo in `$delete_with_user` description, adjust for better
readability.
Follow-up to [49041], [49492].
See #46261.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46261#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list