mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-12 00:24:34 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user