Default Text Widget HTML Breaks Layout in IE6, IE7 & IE8
-
Since version 3.0.2 there is this nagging bug in default-widgets.php file with the Text widgets class (Line 383) Using the DIV to wrap the LI group makes IE brainfart in the nested “Primary” widget area.
The issue is that IE doesn’t like the UL > LI > DIV > LI implementation. And it forces IE to read a closing UL prematurely and breaks the HTML.
Every time I upgrade I have to go in and edit this line to fix the display issue:
From:
<div class="textwidget"><?php echo $instance['filter'] ? wpautop($text) : $text; ?></div>
To:
<ul class="textwidget"><?php echo $instance['filter'] ? wpautop($text) : $text; ?>
Can this fix be included in the next patch?
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Default Text Widget HTML Breaks Layout in IE6, IE7 & IE8’ is closed to new replies.