Make WordPress Core

Opened 16 years ago

Closed 15 years ago

Last modified 15 years 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: Focuses:

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

Download all attachments as: .zip

Change History (11)

#1 follow-up: @nprasath002
16 years ago

Also edited the mw_editPost

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

Replying to nprasath002:

Also edited the mw_editPost

Thanks!

#3 @josephscott
16 years ago

  • Cc joseph@… added

#4 @josephscott
15 years ago

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

@josephscott
15 years ago

#5 @josephscott
15 years ago

  • Keywords dev-feedback added
  • Milestone Awaiting Review → 3.2

#6 @jane
15 years ago

  • Keywords needs-testing added

#7 @josephscott
15 years ago

  • Resolution → fixed
  • Status new → closed

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

Fixes #17000 props mrroundhill, nprasath002

#8 @downloadbook
15 years ago

Nothing.

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