Skip to content

Commit 0083fcb

Browse files
committed
#991660 by bblake: Remove unnecessary check_plain calls from authorize.php
1 parent 051f470 commit 0083fcb

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎authorize.php‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ function authorize_access_allowed() {
113113
}
114114

115115
if (isset($_SESSION['authorize_operation']['page_title'])) {
116-
drupal_set_title(check_plain($_SESSION['authorize_operation']['page_title']));
116+
drupal_set_title($_SESSION['authorize_operation']['page_title']);
117117
}
118118
else {
119119
drupal_set_title(t('Authorize file system changes'));
@@ -128,7 +128,7 @@ function authorize_access_allowed() {
128128
unset($_SESSION['authorize_filetransfer_info']);
129129

130130
if (!empty($results['page_title'])) {
131-
drupal_set_title(check_plain($results['page_title']));
131+
drupal_set_title($results['page_title']);
132132
}
133133
if (!empty($results['page_message'])) {
134134
drupal_set_message($results['page_message']['message'], $results['page_message']['type']);

‎includes/authorize.inc‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ function authorize_run_operation($filetransfer) {
272272
unset($_SESSION['authorize_operation']);
273273

274274
if (!empty($operation['page_title'])) {
275-
drupal_set_title(check_plain($operation['page_title']));
275+
drupal_set_title($operation['page_title']);
276276
}
277277

278278
require_once DRUPAL_ROOT . '/' . $operation['file'];

0 commit comments

Comments
 (0)