Opened 12 years ago
Closed 12 years ago
#20543 closed defect (bug) (fixed)
Removing a custom field via XML-RPC results in a PHP Notice
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 3.4 | Priority: | normal |
Severity: | normal | Version: | |
Component: | XML-RPC | Keywords: | |
Focuses: | Cc: |
Description
In order to remove a custom field, you pass the id without a key or value, but the code is currently checking for a value before determining if the field should be deleted.
PHP Notice: Undefined index: value in .../wp-includes/class-wp-xmlrpc-server.php on line 279
testing against HEAD.
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
http://unit-tests.trac.wordpress.org/changeset/697
php wp-test.php -d -t TestXMLRPCServer_wp_editPost (-d forcing WP_DEBUG on) -- before patch, error due to this notice.