Make WordPress Core

Changeset 4266


Ignore:
Timestamp:
10/02/2006 06:27:11 PM (18 years ago)
Author:
ryan
Message:

Use correct var. Props Nazgul. fixes #3182

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/admin-functions.php

    r4258 r4266  
    18971897    $new_file = $uploads['path'] . "/$filename";
    18981898    if ( false === @ move_uploaded_file($file['tmp_name'], $new_file) )
    1899         wp_die(printf(__('The uploaded file could not be moved to %s.'), $file['path']));
     1899        wp_die(printf(__('The uploaded file could not be moved to %s.'), $uploads['path']));
    19001900
    19011901    // Set correct file permissions
Note: See TracChangeset for help on using the changeset viewer.