Make WordPress Core


Ignore:
Timestamp:
04/28/2009 05:58:45 AM (15 years ago)
Author:
ryan
Message:

s/attribute_escape/attr/. see #9650

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-form-comment.php

    r11104 r11109  
    2727<?php
    2828
    29 $email = attribute_escape( $comment->comment_author_email );
    30 $url = attribute_escape( $comment->comment_author_url );
     29$email = attr( $comment->comment_author_email );
     30$url = attr( $comment->comment_author_url );
    3131// add_meta_box('submitdiv', __('Save'), 'comment_submit_meta_box', 'comment', 'side', 'core');
    3232?>
     
    9191<tr valign="top">
    9292    <td class="first"><?php _e( 'Name:' ); ?></td>
    93     <td><input type="text" name="newcomment_author" size="30" value="<?php echo attribute_escape( $comment->comment_author ); ?>" tabindex="1" id="name" /></td>
     93    <td><input type="text" name="newcomment_author" size="30" value="<?php echo attr( $comment->comment_author ); ?>" tabindex="1" id="name" /></td>
    9494</tr>
    9595<tr valign="top">
Note: See TracChangeset for help on using the changeset viewer.