Not highlighting on double update.

git-svn-id: http://svn.automattic.com/wordpress/trunk@1272 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
saxmatt 2004-05-14 06:21:24 +00:00
parent 6743715cba
commit 5c2eb8a666
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ $submenu = '
<li><a href="options-permalink.php">' . __('Permalinks') . '</a></li>';
$sublines = split("\n", $submenu);
$_SERVER['REQUEST_URI'] = str_replace('?updated=true', '', $_SERVER['REQUEST_URI']);
$_SERVER['REQUEST_URI'] = str_replace(array('?updated=true','&', 'updated=true'), '', $_SERVER['REQUEST_URI']);
foreach ($sublines as $subline) {
if (preg_match('/href="([^"]+)"/', $subline, $url)) {
if (substr($_SERVER['REQUEST_URI'], -8) == substr($url[1], -8)) {