Elgg/Elgg — pull request #7585 by mrclay (2014-12-02 17:07:58+00:00)
Title: fix(profile): adds the prepare hook for the profile page’s owner menu

In 4c94f8809f1131e2d8e073518195b6b65b26aceb the prepare hook was added to elgg_view_menu, but in the manual rendering on the profile page this hook was forgotten. This adds it so plugins can reorder/alter the profile page menus.

Fixes #6085

This has some BC implications. Currently handlers for the (prepare, menu:user_hover) are *not* called to build the profile page and with this they would be. So this "fix" could have unexpected (and unwanted) results.