Some cleaning
git-svn-id: http://svn.automattic.com/wordpress/trunk@7922 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
dcf35ab2ed
commit
e44fe50107
|
@ -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