summaryrefslogtreecommitdiffstats
path: root/wp-admin/user-edit.php
diff options
context:
space:
mode:
Diffstat (limited to 'wp-admin/user-edit.php')
-rw-r--r--wp-admin/user-edit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/wp-admin/user-edit.php b/wp-admin/user-edit.php
index c025f62..e3c1a3a 100644
--- a/wp-admin/user-edit.php
+++ b/wp-admin/user-edit.php
@@ -82,7 +82,7 @@ include ('admin-header.php');
<form name="profile" id="your-profile" action="user-edit.php" method="post">
<?php wp_nonce_field('update-user_' . $user_id) ?>
<?php if ( $wp_http_referer ) : ?>
- <input type="hidden" name="wp_http_referer" value="<?php echo wp_specialchars($wp_http_referer); ?>" />
+ <input type="hidden" name="wp_http_referer" value="<?php echo clean_url($wp_http_referer); ?>" />
<?php endif; ?>
<p>
<input type="hidden" name="from" value="profile" />