Menu order not displayed properly for non-hierarchical post types in the inline editor
|Reported by:||nikolay.yordanov||Owned by:||duck_|
|Component:||Posts, Post Types||Keywords:||has-patch|
It is possible to register a non-hierarchical post type with support for page-attributes. This adds a menu order field in the post editor and the inline editor. While everything is working as expected in the post editor, when using the inline editor the menu order in the inline editor is always shown as 0. It is possible, however, to edit it and the changes are visible in the normal editor.
The problem is that the correct menu order is displayed only when the post type is hierarchical. Moreover, the inline-edit-post script updates the menu order only for pages. The attached patch fixes this issue.