Add support for wp-editor menus with infinite nesting