Some cleaning

git-svn-id: http://svn.automattic.com/wordpress/trunk@7922 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-05-13 00:03:11 +00:00
parent dcf35ab2ed
commit e44fe50107
1 changed files with 2 additions and 2 deletions

View File

@ -41,8 +41,8 @@ function the_media_upload_tabs() {
if ( $current == $callback )
$class = " class='current'";
$href = add_query_arg(array('tab'=>$callback, 's'=>false, 'paged'=>false, 'post_mime_type'=>false, 'm'=>false));
$link = "<a href='$href'$class>$text</a>";
echo "\t<li id='tab-$callback'>$link</li>\n";
$link = "<a href='" . clean_url($href) . "'$class>$text</a>";
echo "\t<li id='" . attribute_escape("tab-$callback") . "'>$link</li>\n";
}
echo "</ul>\n";
}