Opened 13 months ago

Closed 13 months ago

Last modified 13 months ago

#20407 closed defect (bug) (duplicate)

XMLRPC: getTaxonomies default shows all taxonomies

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

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

Download all attachments as: .zip

Change History (8)

New unit test

  • Milestone changed from Awaiting Review to 3.4

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?

Yes, that indeed makes more sense.

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

Taken care of in #20566.

  • Keywords dev-feedback removed
  • Milestone 3.4 deleted
Note: See TracTickets for help on using tickets.