]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/edit-form-comment.php
Wordpress 2.8.4
[autoinstalls/wordpress.git] / wp-admin / edit-form-comment.php
index f58657830da708259c2664d5baf6c380d45f8443..f361ad7a6dd13f4f9235166aee5b177de2d4147f 100644 (file)
@@ -6,6 +6,10 @@
  * @subpackage Administration
  */
 
+// don't load directly
+if ( !defined('ABSPATH') )
+       die('-1');
+
 /**
  * @var string
  */
@@ -107,7 +111,7 @@ $date = date_i18n( $datef, strtotime( $comment->comment_date ) );
                } else {
                        _e( 'URL:' );
                } ?></td>
-       <td><input type="text" id="newcomment_author_url" name="newcomment_author_url" size="30" class="code" value="<?php echo esc_attr($url); ?>" tabindex="3" /></td>
+       <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); ?>" tabindex="3" /></td>
 </tr>
 </tbody>
 </table>