diff options
author | Cash Costello <cash.costello@gmail.com> | 2011-09-14 21:09:48 -0400 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2011-09-14 21:09:48 -0400 |
commit | 710b17aa37dd5c90db695219defdfef7a889f29a (patch) | |
tree | b134835879a8530ee4b477f9b5aff6fd6c974524 /engine/lib | |
parent | c32bf213547c21dfb8a8bb535e9432330af010fa (diff) | |
download | elgg-710b17aa37dd5c90db695219defdfef7a889f29a.tar.gz elgg-710b17aa37dd5c90db695219defdfef7a889f29a.tar.bz2 |
Fixes #3681 fixed Utilities menu collisions in admin section and added documentation about registering more than one menu item with the same name to a menu
Diffstat (limited to 'engine/lib')
-rw-r--r-- | engine/lib/navigation.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engine/lib/navigation.php b/engine/lib/navigation.php index cefe40ecf..0e9ec1c17 100644 --- a/engine/lib/navigation.php +++ b/engine/lib/navigation.php @@ -53,6 +53,9 @@ * 'register', 'menu:<menu_name>'. If you do, you may end up with many incorrect * links on a context-sensitive menu. * + * @warning A menu item's name must be unique per menu. If more than one menu + * item with the same name are registered, the last menu item takes priority. + * * @see elgg_view_menu() for the plugin hooks available for modifying a menu as * it is being rendered. * |