WordPress.org

Make WordPress Core

Changeset 5588


Ignore:
Timestamp:
05/29/07 04:35:23 (8 years ago)
Author:
markjaquith
Message:

use clean_url(). Nice catch, g30rg3x. see #4333 for trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/user-edit.php

    r5198 r5588  
    7777<?php wp_nonce_field('update-user_' . $user_id) ?> 
    7878<?php if ( $wp_http_referer ) : ?> 
    79     <input type="hidden" name="wp_http_referer" value="<?php echo wp_specialchars($wp_http_referer); ?>" /> 
     79    <input type="hidden" name="wp_http_referer" value="<?php echo clean_url($wp_http_referer); ?>" /> 
    8080<?php endif; ?> 
    8181<p> 
Note: See TracChangeset for help on using the changeset viewer.