[wp-testers] multiple widget instances don't work in 2.5

Michael D Adams mikea at turbonet.com
Thu Feb 28 00:06:55 GMT 2008


On Feb 27, 2008, at 12:23 PM, deliciousdays wrote:

> Not sure if this has been pointed out, but instantiating multiple  
> widgets, e.g. via:
>
>       register_sidebar_widget( $name, 'my_func', 'wclass' . $i );
>
> does not work anymore with 2.5
>
> The  $wp_registered_widgets  global is fine, it does contain all the  
> individual widgets, but it seems to not being evaluated properly.

I'm looking into this now.  Some of the new widget code is kindof  
insane in order to handle backward compatibility and new requirements  
brought on by the new user interface.

Mike


More information about the wp-testers mailing list