Ticket #15098: 15098.patch
File 15098.patch, 691 bytes (added by , 13 years ago) |
---|
-
wp-includes/class-wp-xmlrpc-server.php
4299 4299 4300 4300 do_action( 'xmlrpc_call_success_mw_newMediaObject', $id, $args ); 4301 4301 4302 return apply_filters( 'wp_handle_upload', array( 'file' => $name, 'url' => $upload[ 'url' ], 'type' => $type ), 'upload' ); 4302 $struct = array( 4303 'id' => strval( $id ), 4304 'file' => $name, 4305 'url' => $upload[ 'url' ], 4306 'type' => $type 4307 ); 4308 return apply_filters( 'wp_handle_upload', $struct, 'upload' ); 4303 4309 } 4304 4310 4305 4311 /* MovableType API functions