On the final page of an installation, Drupal shows the following title:

  drupal_set_title(st('@drupal installation complete', array('@drupal' => drupal_install_profile_name())))

This results in stuff like "Arancaytar's custom profile" in the HTML source.

The @ placeholder escapes special characters through check_plain. When passing the result of a check_plain to drupal_set_title, the second argument must be set to PASS_THROUGH.

Well, or the placeholder could be changed to "!", but I think the first is the correct approach.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

cburschka’s picture

Status: Active » Needs review
FileSize
1.12 KB

Added a PASS_THROUGH.

Damien Tournoud’s picture

Status: Needs review » Reviewed & tested by the community

Makes sense.

webchick’s picture

Status: Reviewed & tested by the community » Fixed

Committed to HEAD. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.