WordPress.org

Make WordPress Core

Changeset 16608


Ignore:
Timestamp:
11/29/10 14:40:43 (5 years ago)
Author:
ryan
Message:

Remove unnecessary addslashes. Props duck_. fixes #15325

File:
1 edited

Legend:

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

    r11971 r16608  
    5757 * @since 2.0.0 
    5858 * 
    59  * @return array 
     59 * @return array Uploaded file's details on success, error message on failure 
    6060 */ 
    6161function wp_import_handle_upload() { 
     
    7474    $url = $file['url']; 
    7575    $type = $file['type']; 
    76     $file = addslashes( $file['file'] ); 
     76    $file = $file['file']; 
    7777    $filename = basename( $file ); 
    7878 
Note: See TracChangeset for help on using the changeset viewer.