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

Andy Staines andy at yellowswordfish.com
Wed Feb 27 21:50:25 GMT 2008


Hello Oliver

I thought we'd lost you!

I know nothing about widgets! I cribbed code from another plugin and  
got someone else to test the one in the forum. So, I take it I need to  
investigate then. This is a change that has gone unreported I think...

Thanks for the tip

Andy


On 27 Feb 2008, at 20:23PM, 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.
>
> Did anyone ran into this, too?
>
> Oliver
>
> ***
> deliciousdays.com / cforms <http://www.deliciousdays.com/cforms- 
> plugin>
>
>
> _______________________________________________
> wp-testers mailing list
> wp-testers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-testers



More information about the wp-testers mailing list