From e7813d6d2b04f77283f7aff6b2be97f12249f542 Mon Sep 17 00:00:00 2001 From: Matt Mullenweg Date: Tue, 17 Feb 2004 03:00:20 +0000 Subject: [PATCH] New *_action functions, removed alert_error. git-svn-id: https://develop.svn.wordpress.org/trunk@883 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/import-greymatter.php | 4 ++-- wp-includes/functions.php | 38 ++++++++++++++-------------------- 2 files changed, 18 insertions(+), 24 deletions(-) diff --git a/wp-admin/import-greymatter.php b/wp-admin/import-greymatter.php index 900bed588b..6eed8347cd 100644 --- a/wp-admin/import-greymatter.php +++ b/wp-admin/import-greymatter.php @@ -35,10 +35,10 @@ case "step1": } if (!chdir($archivespath)) - alert_error("Wrong path, $archivespath\ndoesn't exist\non the server"); + die("Wrong path, $archivespath\ndoesn't exist\non the server"); if (!chdir($gmpath)) - alert_error("Wrong path, $gmpath\ndoesn't exist\non the server"); + die("Wrong path, $gmpath\ndoesn't exist\non the server"); ?> diff --git a/wp-includes/functions.php b/wp-includes/functions.php index b4069fc859..d5cd8b8fcc 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -460,28 +460,6 @@ function gzip_compression() { } } -function alert_error($msg) { // displays a warning box with an error message (original by KYank) - global $$HTTP_SERVER_VARS; - ?> - - - - - - -
- ">go back - - -