Make WordPress Core


Ignore:
Timestamp:
09/19/2017 09:32:43 PM (8 years ago)
Author:
ocean90
Message:

Taxonomy/Users: Use correct escaping function for URLs.

Merge of [41522] to the 4.4 branch.

Location:
branches/4.4
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.4

  • branches/4.4/src/wp-admin/user-edit.php

    r41421 r41527  
    179179    <?php endif; ?>
    180180    <?php if ( $wp_http_referer && !IS_PROFILE_PAGE ) : ?>
    181     <p><a href="<?php echo esc_url( wp_validate_redirect( wp_sanitize_redirect( $wp_http_referer ), self_admin_url( 'users.php' ) ) ); ?>"><?php _e('&larr; Back to Users'); ?></a></p>
     181    <p><a href="<?php echo esc_url( wp_validate_redirect( esc_url_raw( $wp_http_referer ), self_admin_url( 'users.php' ) ) ); ?>"><?php _e('&larr; Back to Users'); ?></a></p>
    182182    <?php endif; ?>
    183183</div>
Note: See TracChangeset for help on using the changeset viewer.