Pad wp_die() error messages to be over 512 chars, so IE always displays our text. props DD32. fixes #7890

git-svn-id: https://develop.svn.wordpress.org/trunk@10105 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Mark Jaquith 2008-12-07 08:51:38 +00:00
parent 82f5b2b5f3
commit 9c43e7304e
1 changed files with 1 additions and 0 deletions

View File

@ -2290,6 +2290,7 @@ if ( ( $wp_locale ) && ( 'rtl' == $wp_locale->text_direction ) ) : ?>
<body id="error-page">
<?php endif; ?>
<?php echo $message; ?>
<?php if ( strlen($message) < 512) echo str_repeat(' ', 512-strlen($message)); ?>
</body>
</html>
<?php