CoreFiles by mySites.guru
menu.php27 lines, 930 bytes, from wordpress-1.0.1-RC1.zip
Raw History Compare with 1.0-RC1
md5
7d4bd20d94f180274454e189850de7f8
sha1
a9f8ba549988f24ab7aae83db45d9207f3b9e9e5
sha256
cacb7c330a25b94b55b42e3da44aca10edfdb47b86e19a248f824448409d6112
<h1 id="wphead"><a href="http://wordpress.org" rel="external">WordPress</a></h1>

<ul id="adminmenu">
<?php
$menu = file('./menu.txt');
$continue = true;
foreach ($menu as $item) {
	$class = '';
	$item = trim($item);
	if ('***' == $item) $continue = false;
	if ($continue) {
		$item = explode("\t", $item);
		// 0 = user level, 1 = file, 2 = name
		$self = str_replace('/wp-admin/', '', $PHP_SELF);
		if ((substr($self, -20) == substr($item[1], -20)) || ($parent_file && ($item[1] == $parent_file))) $class = ' class="current"';
		if ($user_level >= $item[0]) echo "\n\t<li><a href='{$item[1]}'$class>{$item[2]}</a></li>";
	}
}

?>

	<li><a href="profile.php">My Profile</a></li>
	<li><a href="<?php echo "$siteurl/$blogfilename"; ?>">View site</a></li>
	<li class="last"><a href="<?php echo $siteurl ?>/wp-login.php?action=logout">Logout (<?php echo stripslashes($user_nickname) ?>)</a></li>
</ul>

<h2><?php echo $title; ?></h2>

No other release has this exact content. See every version of this file.