Opened 2 years ago

Closed 2 years ago

Last modified 19 months ago

#17000 closed defect (bug) (fixed)

Allow Pages to be set to Pending Status via XML-RPC

Reported by: mrroundhill Owned by:
Priority: normal Milestone: 3.2
Component: XML-RPC Version: 3.1
Severity: minor Keywords: mobile has-patch dev-feedback needs-testing
Cc: joseph@…

Description

I noticed today that pages could not be created with a 'Pending Review' status via XML-RPC. Looks like in the past you couldn't set pages to pending, but now can.

I'm attaching a simple patch that removes the check that limited the pending status to posts only.

Attachments (3)

class-wp-xmlrpc-server.php.patch (640 bytes) - added by mrroundhill 2 years ago.
17000(2).patch (1.1 KB) - added by nprasath002 2 years ago.
rpc.diff (1.2 KB) - added by josephscott 2 years ago.

Download all attachments as: .zip

Change History (11)

comment:1 follow-up: ↓ 2   nprasath0022 years ago

Also edited the mw_editPost

comment:2 in reply to: ↑ 1   mrroundhill2 years ago

Replying to nprasath002:

Also edited the mw_editPost

Thanks!

  • Cc joseph@… added

This looks fine as a potential WP 3.2 item. I'm cleaning up the patches a bit.

  • Keywords dev-feedback added
  • Milestone changed from Awaiting Review to 3.2

comment:6   jane2 years ago

  • Keywords needs-testing added
  • Resolution set to fixed
  • Status changed from new to closed

(In [17651]) Allow Pages to have a status of pending.

Fixes #17000 props mrroundhill, nprasath002

Nothing.

Last edited 19 months ago by SergeyBiryukov (previous) (diff)
Note: See TracTickets for help on using tickets.