Incorrect functionality in get_nested_categories() in admin-functions.php
|Reported by:||ophois||Owned by:||JasonV|
This function will fail for the case where you have a hirerchy
and b's id is lower than a's. In this case the category c (and its siblings) will not get added on to the list of categories returned. This can occur when categories have been moved and deleted lots. This will stop c (and its siblings) being visible in the write / edit post categories list.
I have a fix for this (see later) can one of the devs look at it and see if they want to merge it in to the code base (see additional info).