Some cleaning
git-svn-id: https://develop.svn.wordpress.org/trunk@7922 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
9faab00411
commit
8c5f9e0c2a
@ -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";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user