#41730 closed defect (bug) (fixed)
Fix documentation: The default for the view_mode_post_types filter is non-hierarchical post types, not hierarchical
| Reported by: | birgire | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.9 |
| Component: | Administration | Version: | 4.4 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: | docs |
Description
The documentation for the view_mode_post_types filter says:
Default hierarchical post types with show_ui on
but it should be:
Default non-hierarchical post types with show_ui on.
because the default is:
$view_mode_post_types = get_post_types( array( 'hierarchical' => false, 'show_ui' => true ) );
We can see it here:
Attachments (1)
Change History (5)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
In 41317: