Ticket #9357: user-edit.php.patch

File user-edit.php.patch, 1.1 KB (added by Txanny, 3 years ago)

New filters for custom labels on user profile.

  • wp-admin/user-edit.php

     
    321321</tr> 
    322322 
    323323<tr> 
    324         <th><label for="aim"><?php _e('AIM') ?></label></th> 
     324        <th><label for="aim"><?php echo apply_filters('user_aim_label', __('AIM')); ?></label></th> 
    325325        <td><input type="text" name="aim" id="aim" value="<?php echo $profileuser->aim ?>" class="regular-text" /></td> 
    326326</tr> 
    327327 
    328328<tr> 
    329         <th><label for="yim"><?php _e('Yahoo IM') ?></label></th> 
     329        <th><label for="yim"><?php echo apply_filters('user_yahoo_label',__('Yahoo IM')); ?></label></th> 
    330330        <td><input type="text" name="yim" id="yim" value="<?php echo $profileuser->yim ?>" class="regular-text" /></td> 
    331331</tr> 
    332332 
    333333<tr> 
    334         <th><label for="jabber"><?php _e('Jabber / Google Talk') ?></label></th> 
     334        <th><label for="jabber"><?php echo apply_filters('user_jabber_label', __('Jabber / Google Talk')); ?></label></th> 
    335335        <td><input type="text" name="jabber" id="jabber" value="<?php echo $profileuser->jabber ?>" class="regular-text" /></td> 
    336336</tr> 
    337337</table>