Not highlighting on double update.

git-svn-id: https://develop.svn.wordpress.org/trunk@1272 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg 2004-05-14 06:21:24 +00:00
parent d03e52af98
commit 37fe28a6da
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)) {