#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: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 4.9 | Priority: | normal |
| Severity: | normal | Version: | 4.4 |
| Component: | Administration | Keywords: | has-patch |
| Focuses: | docs | Cc: |
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.
In 41317: