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:
parent
6743715cba
commit
5c2eb8a666
|
@ -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)) {
|
||||
|
|
Loading…
Reference in New Issue