Make WordPress Core

Opened 12 years ago

Closed 12 years ago

#20321 closed defect (bug) (fixed)

mw_editPost eats content

Reported by: westi's profile westi Owned by: westi's profile westi
Milestone: 3.4 Priority: normal
Severity: normal Version: 3.3.1
Component: XML-RPC Keywords:
Focuses: Cc:

Description

If you provide a minimum amount of information to mw_editPost to just update one field then it trashes other fields or rejects the edit completely.

Examples:

  • Try and just set the featured image
  • Try and just update the title/content

Test cases in TestXMLRPCServer_mw_editPost::test_edit_basic_post_info in [UT593]

Change History (1)

#1 @westi
12 years ago

  • Resolution set to fixed
  • Status changed from new to closed

In [20322]:

XMLRPC: Fix bugs in mw_editPost hilighted by tests in [UT593]

  • Feature image code did not actually set the feature image - See #18429
  • This api call could trash post data - Fixes #20321.
Note: See TracTickets for help on using tickets.