[wp-trac] [WordPress Trac] #35985: Add tests for 'public' and related arguments in register_post_type()
WordPress Trac
noreply at wordpress.org
Sun Feb 28 22:58:48 UTC 2016
#35985: Add tests for 'public' and related arguments in register_post_type()
--------------------------------------+---------------------------
Reporter: DrewAPicture | Owner: DrewAPicture
Type: task (blessed) | Status: closed
Priority: normal | Milestone: 4.5
Component: Posts, Post Types | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+---------------------------
Changes (by DrewAPicture):
* owner: => DrewAPicture
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"36768"]:
{{{
#!CommitTicketReference repository="" revision="36768"
Posts: Add tests for the cascading fallback behavior of several
'public'-related arguments in `register_post_type()`.
Covers the 'exclude_from_search', 'publicly_queryable', 'show_ui',
'show_in_menu', 'show_in_nav_menus', and 'show_in_admin_bar' arguments,
all of which eventually inherit from 'public' if not set.
Fixes #35985.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35985#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list