Importer work.

git-svn-id: https://develop.svn.wordpress.org/trunk@3098 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2005-11-16 02:07:56 +00:00
parent 35dd21caec
commit c8a8ab6807
3 changed files with 20 additions and 15 deletions

View File

@@ -1730,8 +1730,8 @@ function wp_shrink_dimensions($width, $height, $wmax = 128, $hmax = 96) {
return array((int) ($width / $height * $hmax), $hmax);
}
function wp_import_cleanup($file) {
wp_delete_attachment($file['id']);
function wp_import_cleanup($id) {
wp_delete_attachment($id);
}
function wp_import_upload_form($action) {