[wp-hackers] WP 2.2 Widgets Issue / Fix

Ryan Boren ryan at boren.nu
Mon May 28 19:23:42 GMT 2007

On 5/28/07, Martin Fitzpatrick <martin.fitzpatrick at gmail.com> wrote:
> Hi all,
> I have been getting a lot of bug reports for one of my plugins under
> Wp 2.2 using widgets. I know the call to install a widget changed to
> remove some mucky code but since has been changed back to the original
> way of doing it, with a release coming as 2.2.1(?)
> Question is - if I change the plugin to fix the bug in 2.2, is that
> going to break it when the next release (with the reverted widget
> code) is installed?
> I notice there is a fix here  http://trac.wordpress.org/ticket/4316
> which could presumably be coded to only apply when number was not
> being passed. Are there any other issues?

If you use the new wp_* prefixed functions mentioned in #4275, your plugin
will work with 2.2.1.  The wp_ functions work properly.

Don't change to accommodate the bug in the unprefixed functions.  That bug
will be gone in 2.2.1.


More information about the wp-hackers mailing list