WordPress.org

Make WordPress Core

Ticket #9038: 9038.diff

File 9038.diff, 589 bytes (added by dd32, 6 years ago)
  • wp-admin/user-edit.php

     
    122122<?php screen_icon(); ?> 
    123123<h2><?php echo esc_html( $title ); ?></h2> 
    124124 
    125 <form id="your-profile" action="" method="post"> 
     125<form id="your-profile" action="<?php echo $PHP_SELF ?>" method="post"> 
    126126<?php wp_nonce_field('update-user_' . $user_id) ?> 
    127127<?php if ( $wp_http_referer ) : ?> 
    128128        <input type="hidden" name="wp_http_referer" value="<?php echo esc_url($wp_http_referer); ?>" />