Make WordPress Core


Ignore:
Timestamp:
10/05/2004 06:59:13 AM (22 years ago)
Author:
saxmatt
Message:

Input cleanup

File:
1 edited

Legend:

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

    r1690 r1743  
    2929  <fieldset>
    3030  <legend><?php _e('Show Comments That Contain...') ?></legend>
    31   <input type="text" name="s" value="<?php if (isset($s)) echo $s; ?>" size="17" />
     31  <input type="text" name="s" value="<?php if (isset($_GET['s'])) echo htmlspecialchars($_GET['s']); ?>" size="17" />
    3232  <input type="submit" name="submit" value="<?php _e('Search') ?>"  /> 
    3333  <input type="hidden" name="mode" value="<?php echo $mode; ?>" />
    … …  
    149149</div>
    150150
    151 <?php
    152 include('admin-footer.php');
    153 ?>
     151<?php include('admin-footer.php'); ?>
Note: See TracChangeset for help on using the changeset viewer.