I made a quick minor cleanup of the functions template_preprocess_forum_topic_list and template_preprocess_forum_list to get rid of the excessive usage of $variables['forums'][$id] and $variables['topics'][$id].

Files: 
CommentFileSizeAuthor
cleanup-of-template_preprocess-functions-in-forum.patch6.64 KBJimmyAx
PASSED: [[SimpleTest]]: [MySQL] 42,297 pass(es). View

Comments

andypost’s picture

enhdless’s picture

Issue summary: View changes
Status: Needs review » Needs work

It's been a while, so the patch no longer applies. It should be rerolled.

Version: 8.0.x-dev » 8.1.x-dev

Drupal 8.0.6 was released on April 6 and is the final bugfix release for the Drupal 8.0.x series. Drupal 8.0.x will not receive any further development aside from security fixes. Drupal 8.1.0-rc1 is now available and sites should prepare to update to 8.1.0.

Bug reports should be targeted against the 8.1.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.2.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.