Make WordPress Core

Opened 16 years ago

Closed 16 years ago

#7954 closed defect (bug) (fixed)

XML-RPC wp.getPages Fix: don't restrict to just published pages

Reported by: josephscott's profile josephscott Owned by:
Milestone: 2.7 Priority: normal
Severity: normal Version: 2.7
Component: XML-RPC Keywords: has-patch
Focuses: Cc:

Description

Turns out that the XML-RPC method wp.getPages has only been exposing published pages. It should have been exposing all pages, no matter what status they have. I've included a patch to address this bug.

Attachments (1)

xmlrpc.php.diff (738 bytes) - added by josephscott 16 years ago.

Download all attachments as: .zip

Change History (3)

#1 @josephscott
16 years ago

While I'm here, add a new parameter to specify how many pages to retrieve, defaults to 10.

#2 @azaozz
16 years ago

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

(In [9313]) XML-RPC wp.getPages Fix: don't restrict to just published pages, props josephscott, fixes #7954

Note: See TracTickets for help on using tickets.