[wp-trac] [WordPress Trac] #5941: PHP error "Missing argument..."
occurs in update_option_ action
WordPress Trac
wp-trac at lists.automattic.com
Thu Feb 21 03:59:07 GMT 2008
#5941: PHP error "Missing argument..." occurs in update_option_ action
---------------------+------------------------------------------------------
Reporter: softwud | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.6
Component: General | Version: 2.3.2
Severity: major | Keywords:
---------------------+------------------------------------------------------
Hello,
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?
Thanks,
Paolo (SoftWUD)
--
Ticket URL: <http://trac.wordpress.org/ticket/5941>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list