Make WordPress Core

Changeset 7819


Ignore:
Timestamp:
04/25/2008 05:55:27 AM (17 years ago)
Author:
markjaquith
Message:

attribute_escape() type in the media-uploder. props Alex Concha. for 2.5.1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.5/wp-admin/includes/media.php

    r7706 r7819  
    943943
    944944<form id="filter" action="" method="get">
    945 <input type="hidden" name="type" value="<?php echo $type; ?>" />
     945<input type="hidden" name="type" value="<?php echo attribute_escape( $type ); ?>" />
    946946<input type="hidden" name="tab" value="<?php echo $tab; ?>" />
    947947<input type="hidden" name="post_id" value="<?php echo $post_id; ?>" />
Note: See TracChangeset for help on using the changeset viewer.