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

git-svn-id: https://develop.svn.wordpress.org/trunk@7818 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Mark Jaquith 2008-04-25 05:55:01 +00:00
parent b7699db39e
commit a409f97657
1 changed files with 1 additions and 1 deletions

View File

@ -950,7 +950,7 @@ function media_upload_library_form($errors) {
?>
<form id="filter" action="" method="get">
<input type="hidden" name="type" value="<?php echo $type; ?>" />
<input type="hidden" name="type" value="<?php echo attribute_escape( $type ); ?>" />
<input type="hidden" name="tab" value="<?php echo $tab; ?>" />
<input type="hidden" name="post_id" value="<?php echo $post_id; ?>" />
<input type="hidden" name="post_mime_type" value="<?php echo wp_specialchars($_GET['post_mime_type'], true); ?>" />