PHP error "Missing argument..." occurs in update_option_ action
|Reported by:||softwud||Owned by:||anonymous|
I'm trying to create a plugin that captures update_option_X action. However I am getting the "Missing argument..." error as described in Ticket #3125 which claims to have been fixed.
I've modified the code in the wp-includes/functions.php file to see what is happening, and found that the $oldvalue and $_newvalue variables both contain the correct information, however this information when sent via do_action() doesn't arrive at my function (hence the missing argument 2 error).
FYI $_newvalue should contain an array with the changed contents of the 'sidebars_widgets' WP option.
Has this problem truely been fixed, and if so in what version? If not then is there a patch I can apply to make this work?