mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-31 10:44:26 +00:00
Importer work.
git-svn-id: https://develop.svn.wordpress.org/trunk@3098 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user