Remove unused variables. Props DD32. fixes #5418

git-svn-id: https://develop.svn.wordpress.org/trunk@6354 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2007-12-05 00:29:05 +00:00
parent 34c792ccc8
commit 721b8c930b
9 changed files with 9 additions and 25 deletions
+1 -2
View File
@@ -78,7 +78,7 @@ function wp_upload_display( $dims = false, $href = '' ) {
}
function wp_upload_view() {
global $style, $post_id, $style;
global $style, $style;
$id = get_the_ID();
$attachment_data = wp_get_attachment_metadata( $id );
?>
@@ -268,7 +268,6 @@ function wp_upload_tab_upload_action() {
$url = $file['url'];
$type = $file['type'];
$file = $file['file'];
$filename = basename($file);
// Construct the attachment array
$attachment = array(