WordPress.org

Make WordPress Core

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#20407 closed defect (bug) (duplicate)

XMLRPC: getTaxonomies default shows all taxonomies

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

Description

When using the new method wp.getTaxonomies it default shows all the taxonomies.
With the submitted patch you can control it trough the fourth argument so you can always show all of them.

Attachments (2)

getTaxonomies.diff (757 bytes) - added by markoheijnen 9 years ago.
getTaxonomies-unittest.diff (1.1 KB) - added by markoheijnen 9 years ago.
New unit test

Download all attachments as: .zip

Change History (8)

@markoheijnen
9 years ago

New unit test

#1 @maxcutler
9 years ago

  • Milestone changed from Awaiting Review to 3.4

#2 @nacin
9 years ago

Is public => true the desired default filter? show_ui => true might make more sense for post types, maybe not for taxonomies. Should we introduce a new flag for exposing via XML-RPC flag for both post types and taxonomies?

#3 @markoheijnen
9 years ago

Yes, that indeed makes more sense.

#4 @maxcutler
9 years ago

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

Taken care of in #20566.

#5 @maxcutler
9 years ago

  • Keywords dev-feedback removed

#6 @SergeyBiryukov
9 years ago

  • Milestone 3.4 deleted
Note: See TracTickets for help on using tickets.