diff options
| author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2005-07-18 09:16:34 +0000 |
|---|---|---|
| committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2005-07-18 09:16:34 +0000 |
| commit | 3d22aa49e07b92dab07b1f9d6a8a66fb6ab20bdc (patch) | |
| tree | 1bc483947163c7351f73b2c62a69ef774e021775 /wp-inst/wp-admin/menu-header.php | |
| parent | 9d3f6c7b7452785bd585424238dd29f9d7369480 (diff) | |
| download | wordpress-mu-3d22aa49e07b92dab07b1f9d6a8a66fb6ab20bdc.tar.gz wordpress-mu-3d22aa49e07b92dab07b1f9d6a8a66fb6ab20bdc.tar.xz wordpress-mu-3d22aa49e07b92dab07b1f9d6a8a66fb6ab20bdc.zip | |
Merge from WP Core.
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@31 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-inst/wp-admin/menu-header.php')
| -rw-r--r-- | wp-inst/wp-admin/menu-header.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wp-inst/wp-admin/menu-header.php b/wp-inst/wp-admin/menu-header.php index 6807a9e..c7ec581 100644 --- a/wp-inst/wp-admin/menu-header.php +++ b/wp-inst/wp-admin/menu-header.php @@ -8,7 +8,7 @@ get_admin_page_parent(); foreach ($menu as $item) { $class = ''; - // 0 = name, 1 = user_level, 2 = file + // 0 = name, 1 = capability, 2 = file if (( strcmp($self, $item[2]) == 0 && empty($parent_file)) || ($parent_file && ($item[2] == $parent_file))) $class = ' class="current"'; if ( current_user_can($item[1]) ) { @@ -54,4 +54,4 @@ endforeach; ?> </ul> -<?php endif; ?> +<?php endif; ?>
\ No newline at end of file |
