diff --git a/core/includes/path.inc b/core/includes/path.inc
index b49d42b..cbcbeec 100644
--- a/core/includes/path.inc
+++ b/core/includes/path.inc
@@ -560,8 +560,7 @@ function drupal_valid_path($path, $dynamic_allowed = FALSE) {
   elseif ($dynamic_allowed && preg_match('/\/\%/', $path)) {
     // Path is dynamic (ie 'user/%'), so check directly against menu_router table.
     if ($item = db_query("SELECT * FROM {menu_router} where path = :path", array(':path' => $path))->fetchAssoc()) {
-      $item['link_path']  = $form_item['link_path'];
-      $item['link_title'] = $form_item['link_title'];
+      $item['link_path']  = $path;
       $item['external']   = FALSE;
       $item['options'] = '';
       _menu_link_translate($item);
diff --git a/core/modules/menu/menu.test b/core/modules/menu/menu.test
index 0497a2a..ce22115 100644
--- a/core/modules/menu/menu.test
+++ b/core/modules/menu/menu.test
@@ -193,7 +193,6 @@ class MenuTestCase extends DrupalWebTestCase {
 
   /**
    * Test menu functionality using navigation menu.
-   *
    */
   function doMenuTests($menu_name = 'navigation') {
     // Add nodes to use as links for menu links.
@@ -219,8 +218,10 @@ class MenuTestCase extends DrupalWebTestCase {
     // Add more menu links.
     $item4 = $this->addMenuLink(0, 'node/' . $node4->nid, $menu_name);
     $item5 = $this->addMenuLink($item4['mlid'], 'node/' . $node5->nid, $menu_name);
+    $item6 = $this->addMenuLink(0, 'user/%', $menu_name);
     $this->assertMenuLink($item4['mlid'], array('depth' => 1, 'has_children' => 1, 'p1' => $item4['mlid'], 'p2' => 0));
     $this->assertMenuLink($item5['mlid'], array('depth' => 2, 'has_children' => 0, 'p1' => $item4['mlid'], 'p2' => $item5['mlid'], 'p3' => 0));
+    $this->assertMenuLink($item6['mlid'], array('depth' => 1, 'has_children' => 0, 'p1' => $item6['mlid'], 'p2' => 0));
 
     // Modify menu links.
     $this->modifyMenuLink($item1);
