From 5c2eb8a666556dee60935417e45298626137df60 Mon Sep 17 00:00:00 2001 From: saxmatt Date: Fri, 14 May 2004 06:21:24 +0000 Subject: [PATCH] Not highlighting on double update. git-svn-id: http://svn.automattic.com/wordpress/trunk@1272 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/options-head.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/options-head.php b/wp-admin/options-head.php index c1848efce..50187cc1a 100644 --- a/wp-admin/options-head.php +++ b/wp-admin/options-head.php @@ -27,7 +27,7 @@ $submenu = '
  • ' . __('Permalinks') . '
  • '; $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)) {