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

git-svn-id: http://svn.automattic.com/wordpress/trunk@10105 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
markjaquith 2008-12-07 08:51:38 +00:00
parent 19938ff3ee
commit b11357a497

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