WordPress.org

Make WordPress Core

Ticket #24638: 24638.diff

File 24638.diff, 557 bytes (added by leewillis77, 21 months ago)

Patch to add the IP address (Non editable) to the edit comment screen

  • edit-form-comment.php

     
    5555                } ?></td> 
    5656        <td><input type="text" id="newcomment_author_url" name="newcomment_author_url" size="30" class="code" value="<?php echo esc_attr($comment->comment_author_url); ?>" /></td> 
    5757</tr> 
     58<tr valign="top"> 
     59        <td class="first"><?php _e('IP:'); ?></td> 
     60        <td><?php echo esc_html($comment->comment_author_IP); ?></td> 
     61</tr> 
    5862</tbody> 
    5963</table> 
    6064<br />