diff options
author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2007-01-22 17:40:29 +0000 |
---|---|---|
committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2007-01-22 17:40:29 +0000 |
commit | ff8977d11ad87b7f27d5addea30245abc269b912 (patch) | |
tree | f48d61578aed74c24ae72aa5a6ffac012f6c8e9d /wp-content | |
parent | 6e5d978d4fb11d3e9f9fb47feb7bf58aad0b40c8 (diff) | |
download | wordpress-mu-ff8977d11ad87b7f27d5addea30245abc269b912.tar.gz wordpress-mu-ff8977d11ad87b7f27d5addea30245abc269b912.tar.xz wordpress-mu-ff8977d11ad87b7f27d5addea30245abc269b912.zip |
Make graceful_fail() pluggable by defining it in mu-plugins/00misc.php (see #229)
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@858 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-content')
-rw-r--r-- | wp-content/mu-plugins/misc.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/wp-content/mu-plugins/misc.php b/wp-content/mu-plugins/misc.php index d77efc5..e4c2f24 100644 --- a/wp-content/mu-plugins/misc.php +++ b/wp-content/mu-plugins/misc.php @@ -1,5 +1,6 @@ <?php +if ( !function_exists('graceful_fail') ) : function graceful_fail( $message ) { die(' <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> @@ -27,6 +28,7 @@ text-align: center; </html> '); } +endif; function fix_upload_details( $uploads ) { |