Make WordPress Core


Ignore:
Timestamp:
12/05/2007 12:29:05 AM (17 years ago)
Author:
ryan
Message:

Remove unused variables. Props DD32. fixes #5418

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/upload.php

    r6317 r6354  
    7979
    8080function wp_upload_view() {
    81     global $style, $post_id, $style;
     81    global $style, $style;
    8282    $id = get_the_ID();
    8383    $attachment_data = wp_get_attachment_metadata( $id );
     
    269269        $type = $file['type'];
    270270        $file = $file['file'];
    271         $filename = basename($file);
    272271
    273272        // Construct the attachment array
Note: See TracChangeset for help on using the changeset viewer.