diff --git a/wp-admin/b2menutop.php b/wp-admin/b2menutop.php index fb3aebc19..ba3ed22de 100644 --- a/wp-admin/b2menutop.php +++ b/wp-admin/b2menutop.php @@ -11,16 +11,16 @@ foreach ($menu as $item) { if ($continue) { $item = explode("\t", $item); // 0 = user level, 1 = file, 2 = name - if (substr($PHP_SELF, -6) == substr($item[1], -6)) $class = ' id="current"'; + if (substr($PHP_SELF, -7) == substr($item[1], -7)) $class = ' class="current"'; if ($user_level >= $item[0]) echo "\n\t