Use wp_die(). Props filosofo. fixes #2914

git-svn-id: http://svn.automattic.com/wordpress/trunk@3985 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan
2006-07-05 22:00:03 +00:00
parent 550ede8d60
commit 42557940a1
27 changed files with 87 additions and 87 deletions
+1 -1
View File
@@ -89,7 +89,7 @@ foreach ($categories as $category) {
$file = wp_handle_upload($_FILES['userfile'], $overrides);
if ( isset($file['error']) )
die($file['error']);
wp_die($file['error']);
$url = $file['url'];
$opml_url = $file['file'];