[wp-trac] [WordPress Trac] #37770: Docs improvements for 4.7
WordPress Trac
noreply at wordpress.org
Sun Sep 11 12:34:55 UTC 2016
#37770: Docs improvements for 4.7
----------------------------+--------------------
Reporter: johnbillion | Owner:
Type: task (blessed) | Status: new
Priority: normal | Milestone: 4.7
Component: General | Version: trunk
Severity: normal | Resolution:
Keywords: ongoing | Focuses: docs
----------------------------+--------------------
Comment (by ramiy):
Suggestion: Improve the
"'''[https://core.trac.wordpress.org/browser/tags/4.6/src/wp-
includes/post.php#L948 menu_position]'''" argument documentation in
[https://developer.wordpress.org/reference/functions/register_post_type/
register_post_type()] functions.
Seems like it can also accept null (default is null). Not mentioned in the
docs.
And, more important, add the position list from the
[https://codex.wordpress.org/Function_Reference/register_post_type codex].
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37770#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list