[wp-trac] [WordPress Trac] #39077: Navigation menu items should be defined as being hierarchical

WordPress Trac noreply at wordpress.org
Mon Aug 28 10:16:01 UTC 2017


#39077: Navigation menu items should be defined as being hierarchical
----------------------------------------+------------------------------
 Reporter:  schlessera                  |       Owner:
     Type:  defect (bug)                |      Status:  new
 Priority:  normal                      |   Milestone:  Awaiting Review
Component:  Menus                       |     Version:  3.0
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch needs-unit-tests  |     Focuses:
----------------------------------------+------------------------------

Comment (by schlessera):

 @welcher I'm not sure what specific tests you have in mind.

 What could be tested is: "a `nav_menu_item`'s `hierarchical` property
 should return `true`", but that would just test whether the
 `register_post_type()` correctly assigns that property (which is already
 tested in several other places, directly or indirectly).

 Any specific test you would like to see?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39077#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list