diff -u b/includes/bootstrap.inc b/includes/bootstrap.inc --- b/includes/bootstrap.inc +++ b/includes/bootstrap.inc @@ -925,9 +925,9 @@ } else { if (!isset($missing[$type][$name])) { - // Add the missing file to a temporary cache and throw an alert. This cache - // will be cleared on cron runs as well as when visiting the module and - // theme list pages. + // Add the missing file to a temporary cache and throw an alert. + // This cache will be cleared on cron runs as well as when visiting the + // module and theme list pages. $missing[$type][$name] = TRUE; cache_set('drupal_get_filename:missing', $missing, 'cache', REQUEST_TIME + 24 * 60 * 60); } diff -u b/includes/update.inc b/includes/update.inc --- b/includes/update.inc +++ b/includes/update.inc @@ -795,7 +795,7 @@ function update_fix_d7_install_profile() { $profile = drupal_get_profile(); - // Default profile has been renamed to Standard in D7. + // 'Default' profile has been renamed to 'Standard' in D7. // We change the profile here to prevent a broken record in the system table. // @see system_update_7049() if ($profile == 'default') { diff -u b/modules/simpletest/tests/bootstrap.test b/modules/simpletest/tests/bootstrap.test --- b/modules/simpletest/tests/bootstrap.test +++ b/modules/simpletest/tests/bootstrap.test @@ -434,11 +434,12 @@ // Restore the original error handler. restore_error_handler(); - // Get the bad records static from drupal_get_filename. + // Get the missing records static from drupal_get_filename(). $missing = &drupal_static('drupal_get_filename:missing'); - // Searching for an item that does not exist creates a static record in drupal_get_filename. - $this->assertTrue($missing['module'][$non_existing_module], 'Searching for an item that does not exist creates a static record in drupal_get_filename.'); + // Searching for an item that does not exist creates a static record in + // drupal_get_filename(). + $this->assertTrue($missing['module'][$non_existing_module], 'Searching for an item that does not exist creates a static record in drupal_get_filename().'); } }