Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#20321 closed defect (bug) (fixed)

mw_editPost eats content

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


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.


  • 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)

comment:1 @westi4 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.