[wp-trac] [WordPress Trac] #39077: Navigation menu items should be defined as being hierarchical
WordPress Trac
noreply at wordpress.org
Mon Jan 14 06:07:22 UTC 2019
#39077: Navigation menu items should be defined as being hierarchical
-------------------------------------------------+-------------------------
Reporter: schlessera | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future
| Release
Component: Menus | Version: 3.0
Severity: normal | Resolution:
Keywords: has-patch needs-testing dev- | Focuses:
feedback |
-------------------------------------------------+-------------------------
Changes (by pento):
* milestone: 5.1 => Future Release
Comment:
`wp_get_nav_menu_items()` calls `get_posts()`, which uses `WP_Query`.
`WP_Query::get_posts()` changes its behaviour depending upon whether a
post type is `hierarchical` or not.
I'd like to see some more testing to show if this has an effect on how the
query runs.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39077#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list