Spiga

‘ Development ’ category archive

Wordpress 2.2’s - Link Widget Validation Errors

August 09, 07 by Andrew Vayanis

Wordpress has really come a long way since I first started using it back when it was version 1.0. It now has a nice clean admin interface (although I am currently using the tiger style admin), a clean and simple installation script, and my new favorites, dynamic sidebars and widgets. However, I noticed that the default links widget creates invalid XHTML markup. After a few minutes of looking through the XHTML and widgets.php file, I realized that the culprit was in fact a core wordpress bug. Currently, wordpress creates widgets with the following code:

'before_widget' => '<li id="%1$s" class="widget %2$s">',

Read the rest of this entry →