Make WordPress Core

Opened 14 years ago

Closed 13 years ago

Last modified 13 years ago

#17000 closed defect (bug) (fixed)

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

Reported by: mrroundhill's profile 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 14 years ago.
17000(2).patch (1.1 KB) - added by nprasath002 14 years ago.
rpc.diff (1.2 KB) - added by josephscott 13 years ago.

Download all attachments as: .zip

Change History (11)

#1 follow-up: @nprasath002
14 years ago

Also edited the mw_editPost

#2 in reply to: ↑ 1 @mrroundhill
14 years ago

Replying to nprasath002:

Also edited the mw_editPost

Thanks!

#3 @josephscott
14 years ago

  • Cc joseph@… added

#4 @josephscott
13 years ago

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

@josephscott
13 years ago

#5 @josephscott
13 years ago

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

#6 @jane
13 years ago

  • Keywords needs-testing added

#7 @josephscott
13 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

#8 @downloadbook
13 years ago

Nothing.

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