Make WordPress Core

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#20407 closed defect (bug) (duplicate)

XMLRPC: getTaxonomies default shows all taxonomies

Reported by: markoheijnen's profile 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 11 years ago.
getTaxonomies-unittest.diff (1.1 KB) - added by markoheijnen 11 years ago.
New unit test

Download all attachments as: .zip

Change History (8)

@markoheijnen
11 years ago

New unit test

#1 @maxcutler
11 years ago

  • Milestone changed from Awaiting Review to 3.4

#2 @nacin
11 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
11 years ago

Yes, that indeed makes more sense.

#4 @maxcutler
11 years ago

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

Taken care of in #20566.

#5 @maxcutler
11 years ago

  • Keywords dev-feedback removed

#6 @SergeyBiryukov
11 years ago

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