diff --git a/user-account-interface-2017207-10.patch b/user-account-interface-2017207-10.patch index f624b8e..dd4b0bb 100644 --- a/user-account-interface-2017207-10.patch +++ b/user-account-interface-2017207-10.patch @@ -159,6 +159,28 @@ index c32816c..50c27b0 100644 $variables['time'] = isset($variables['topic']->created) ? format_interval(REQUEST_TIME - $variables['topic']->created) : ''; } +diff --git a/core/modules/node/node.pages.inc b/core/modules/node/node.pages.inc +index 8255df5..01cc188 100644 +--- a/core/modules/node/node.pages.inc ++++ b/core/modules/node/node.pages.inc +@@ -255,7 +255,7 @@ function node_revision_overview($node) { + if ($revision->current_vid > 0) { + $username = array( + '#theme' => 'username', +- '#account' => $revision, ++ '#account' => user_load($revision->uid), + ); + $row[] = array('data' => t('!date by !username', array('!date' => l(format_date($revision->revision_timestamp, 'short'), "node/$node->nid"), '!username' => drupal_render($username))) + . (($revision->log != '') ? '

' . filter_xss($revision->log) . '

' : ''), +@@ -265,7 +265,7 @@ function node_revision_overview($node) { + else { + $username = array( + '#theme' => 'username', +- '#account' => $revision, ++ '#account' => user_load($revision->uid), + ); + $row[] = t('!date by !username', array('!date' => l(format_date($revision->revision_timestamp, 'short'), "node/$node->nid/revisions/$revision->vid/view"), '!username' => drupal_render($username))) + . (($revision->log != '') ? '

' . filter_xss($revision->log) . '

' : ''); diff --git a/core/modules/rest/lib/Drupal/rest/Access/CSRFAccessCheck.php b/core/modules/rest/lib/Drupal/rest/Access/CSRFAccessCheck.php index 584be0c..52a33ea 100644 --- a/core/modules/rest/lib/Drupal/rest/Access/CSRFAccessCheck.php