Make WordPress Core

Opened 13 years ago

Closed 13 years ago

#19981 closed defect (bug) (fixed)

Fix a cap check in wp.newPage

Reported by: nprasath002's profile nprasath002 Owned by: ryan's profile 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 13 years ago.
cap check removed

Download all attachments as: .zip

Change History (3)

@nprasath002
13 years ago

cap check removed

#1 @ryan
13 years ago

  • Milestone changed from Awaiting Review to 3.4

#2 @ryan
13 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.