Make WordPress Core

Opened 12 years ago

Closed 12 years ago

Last modified 12 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:


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 12 years ago.
getTaxonomies-unittest.diff (1.1 KB) - added by markoheijnen 12 years ago.
New unit test

Download all attachments as: .zip

Change History (8)

12 years ago

New unit test

#1 @maxcutler
12 years ago

  • Milestone changed from Awaiting Review to 3.4

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

Yes, that indeed makes more sense.

#4 @maxcutler
12 years ago

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

Taken care of in #20566.

#5 @maxcutler
12 years ago

  • Keywords dev-feedback removed

#6 @SergeyBiryukov
12 years ago

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