Opened 13 months ago
Closed 13 months ago
#20543 closed defect (bug) (fixed)
Removing a custom field via XML-RPC results in a PHP Notice
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 3.4 |
| Component: | XML-RPC | Version: | |
| Severity: | normal | Keywords: | |
| 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.