From 2517db019f298e9a12856bf65769c16178030fdc Mon Sep 17 00:00:00 2001
From: webchick <webchick@24967.no-reply.drupal.org>
Date: Thu, 24 Nov 2011 13:42:45 -0800
Subject: [PATCH] Issue #1329914 follow-up by chx: Improve comments in
 drupal_path_initialize()

---
 core/includes/path.inc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/core/includes/path.inc b/core/includes/path.inc
index 2c0568c9ffc3..1fac2352140c 100644
--- a/core/includes/path.inc
+++ b/core/includes/path.inc
@@ -13,7 +13,8 @@
  * Initialize the $_GET['q'] variable to the proper normal path.
  */
 function drupal_path_initialize() {
-  // Ensure $_GET['q'] is set before calling drupal_normal_path().
+  // Ensure $_GET['q'] is set before calling drupal_normal_path(), to support
+  // path caching with hook_url_inbound_alter().
   if (empty($_GET['q'])) {
     $_GET['q'] = variable_get('site_frontpage', 'node');
   }
-- 
GitLab