unnecessary use of PASS_THROUGH on drupal_set_title

Created on 9 January 2012, over 13 years ago
Updated 11 June 2025, 2 days ago

<?
$title = t('Edit %name style', array('%name' => $file_style['name']));
drupal_set_title($title, PASS_THROUGH);
?>

There's no html there, so it can just be check_plained. Unless the problem is that it's getting double check_plained?

πŸ› Bug report
Status

Closed: outdated

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States greggles Denver, Colorado, USA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • πŸ‡ΊπŸ‡ΈUnited States bluegeek9

    Thank you for your contributions to this issue. As Drupal 7 has reached its End of Life and is no longer supported, we are closing this issue. We encourage you to upgrade to a supported version of Drupal.

Production build 0.71.5 2024