WordPress.org

Make WordPress Core

Opened 8 years ago

Closed 8 years ago

#19981 closed defect (bug) (fixed)

Fix a cap check in wp.newPage

Reported by: nprasath002 Owned by: ryan
Milestone: 3.4 Priority: normal
Severity: normal Version: 3.3.1
Component: XML-RPC Keywords: has-patch
Focuses: Cc:

Description

Cap check removed so its possible to create draft pages.
Cap are checked in mw_newPost

Attachments (1)

wp.newPage.patch (814 bytes) - added by nprasath002 8 years ago.
cap check removed

Download all attachments as: .zip

Change History (3)

@nprasath002
8 years ago

cap check removed

#1 @ryan
8 years ago

  • Milestone changed from Awaiting Review to 3.4

#2 @ryan
8 years ago

  • Owner set to ryan
  • Resolution set to fixed
  • Status changed from new to closed

In [19905]:

Remove unnecessary cap check in wp_newPage(). mw_newPost() will handle it. Props nprasath002. fixes #19981

Note: See TracTickets for help on using tickets.