Make WordPress Core

Ticket #5440: 5440.patch

File 5440.patch, 733 bytes (added by Viper007Bond, 17 years ago)

A little more simple code

  • wp-admin/profile.php

     
    7676<legend><?php _e('Contact Info'); ?></legend>
    7777
    7878<p><label><?php _e('E-mail: (required)') ?><br />
    79 <input type="text" name="email" id="email" value="<?php echo $profileuser->user_email ?>" /></label></p>
     79<input type="text" name="email" id="email" value="<?php echo $profileuser->user_email ?>"<?php if ( apply_filters( 'disable_email_field', FALSE ) ) echo ' disabled="disabled"'; ?> /></label></p>
    8080
    8181<p><label><?php _e('Website:') ?><br />
    8282<input type="text" name="url" id="url" value="<?php echo $profileuser->user_url ?>" />