diff --git a/core/themes/seven/seven.theme b/core/themes/seven/seven.theme
index 1559d0c03c2390b7951bfb78974b9b9a840d5850..2ad947c80b86694b4ab7b34ba81f14523ae41864 100644
--- a/core/themes/seven/seven.theme
+++ b/core/themes/seven/seven.theme
@@ -23,7 +23,7 @@ function seven_preprocess_html(&$variables) {
 }
 
 /**
- * Implements hook_pre_render_HOOK() for menu-local-tasks templates.
+ * Implements hook_preprocess_HOOK() for menu-local-tasks templates.
  *
  * Use preprocess hook to set #attached to child elements
  * because they will be processed by Twig and drupal_render will