[wp-hackers] Multi and single widgets

Nicholas Ciske nl at thoughtrefinery.com
Tue Apr 23 14:41:41 UTC 2013

Yes, single widgets are legacy widgets (made before the Widgets API was available in 2.8, released in 2009).

If there are any left, I'm not sure you'd want to support them -- I'm sure they are marked as 'older than 2 years' in the plugin repo.



Nick Ciske

On Apr 23, 2013, at 6:30 AM, David Anderson wrote:

> I've been doing some work for a client that has involved becoming very intimate with the internals of WP's widget handling.
> One thing I can't discern from the code is this: There appear to be "multi-widgets" and "single widgets" - but wherein lies the real difference? i.e. Why internally are some widgets 'multi', and some 'single'? I am getting the idea that a "multi-widget" is just a widget in a modern WP install, and a "single" widget is a piece of historical detritus.
> Am I on the right track? Am I safe to pretend that 'single' widgets don't exist, if I'm coding for vaguely recent WP versions?
> David

More information about the wp-hackers mailing list