WordPress.org

Make WordPress Core

Changeset 16769


Ignore:
Timestamp:
12/07/10 18:32:07 (4 years ago)
Author:
ryan
Message:

Pass NULL as second arg to wp_upload_bits() to avoid deprecated warning. Props koke. fixes #15698

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/class-wp-xmlrpc-server.php

    r16751 r16769  
    29422942        } 
    29432943 
    2944         $upload = wp_upload_bits($name, $type, $bits); 
     2944        $upload = wp_upload_bits($name, NULL, $bits); 
    29452945        if ( ! empty($upload['error']) ) { 
    29462946            $errorString = sprintf(__('Could not write file %1$s (%2$s)'), $name, $upload['error']); 
Note: See TracChangeset for help on using the changeset viewer.