WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#17000 closed defect (bug) (fixed)

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

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

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 4 years ago.
17000(2).patch (1.1 KB) - added by nprasath002 4 years ago.
rpc.diff (1.2 KB) - added by josephscott 4 years ago.

Download all attachments as: .zip

Change History (11)

@nprasath0024 years ago

comment:1 follow-up: @nprasath0024 years ago

Also edited the mw_editPost

comment:2 in reply to: ↑ 1 @mrroundhill4 years ago

Replying to nprasath002:

Also edited the mw_editPost

Thanks!

comment:3 @josephscott4 years ago

  • Cc joseph@… added

comment:4 @josephscott4 years ago

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

@josephscott4 years ago

comment:5 @josephscott4 years ago

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

comment:6 @jane4 years ago

  • Keywords needs-testing added

comment:7 @josephscott4 years ago

  • 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

comment:8 @downloadbook4 years ago

Nothing.

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