summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2008-09-01 09:31:47 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2008-09-01 09:31:47 +0000
commitb92904fa4d621a075bb935da3e9df024fd70d16d (patch)
tree55f9e5ad3d0bd3554875296b77d2229a1032ee02
parentef056926f5171a4e2eb0a53ca2a9a2aa20126462 (diff)
downloadwordpress-mu-b92904fa4d621a075bb935da3e9df024fd70d16d.tar.gz
wordpress-mu-b92904fa4d621a075bb935da3e9df024fd70d16d.tar.xz
wordpress-mu-b92904fa4d621a075bb935da3e9df024fd70d16d.zip
Allow graceful_fail message to be filtered, props jamescollins, fixes #705
git-svn-id: http://svn.automattic.com/wordpress-mu/branches/2.6@1460 7be80a69-a1ef-0310-a953-fb0f7c49ff36
-rw-r--r--wp-includes/wpmu-functions.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/wp-includes/wpmu-functions.php b/wp-includes/wpmu-functions.php
index ca32ad9..6f570bd 100644
--- a/wp-includes/wpmu-functions.php
+++ b/wp-includes/wpmu-functions.php
@@ -1662,6 +1662,7 @@ function fix_import_form_size( $size ) {
if ( !function_exists('graceful_fail') ) :
function graceful_fail( $message ) {
+ $message = apply_filters('graceful_fail', $message);
die('
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head profile="http://gmpg.org/xfn/11">