[wp-trac] [WordPress Trac] #26277: Codex entry on "register post type" has incorrect information
WordPress Trac
noreply at wordpress.org
Tue Nov 26 23:41:34 UTC 2013
#26277: Codex entry on "register post type" has incorrect information
---------------------------+-----------------------------
Reporter: beowulfenator | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Permalinks | Version:
Severity: normal | Keywords: needs-codex
---------------------------+-----------------------------
The Codex entry on the "register_post_type" function contains inaccurate
information about the "rewrite" argument.
In the entry, the fields are named 'feeds' and 'pages', whereas the
correct parameters to the function "add_permastruct" that gets called
eventually are 'feed' and 'paged'.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/26277>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list