Changeset 34257
- Timestamp:
- 09/17/2015 04:46:00 AM (9 years ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-xmlrpc-server.php
r34135 r34257 5738 5738 'file' => $name, 5739 5739 'url' => $upload[ 'url' ], 5740 'type' => $ type5740 'type' => $upload[ 'type' ] 5741 5741 ); 5742 5742 5743 /** This filter is documented in wp-admin/includes/file.php */ 5744 return apply_filters( 'wp_handle_upload', $struct, 'upload' ); 5743 return $struct; 5745 5744 } 5746 5745 -
trunk/src/wp-includes/functions.php
r34129 r34257 1994 1994 $url = $upload['url'] . "/$filename"; 1995 1995 1996 return array( 'file' => $new_file, 'url' => $url, 'error' => false ); 1996 /** This filter is documented in wp-admin/includes/file.php */ 1997 return apply_filters( 'wp_handle_upload', array( 'file' => $new_file, 'url' => $url, 'type' => $wp_filetype['type'], 'error' => false ), 'sideload' ); 1997 1998 } 1998 1999
Note: See TracChangeset
for help on using the changeset viewer.