Ticket #7744 (closed defect (bug): fixed)

Opened 3 years ago

Last modified 3 years ago

XML-RPC needs a method to expose a list of all the post tags

Reported by: josephscott Owned by: anonymous
Priority: normal Milestone: 2.7
Component: XML-RPC Version:
Severity: normal Keywords: tags, xmlrpc
Cc: josephscott

Description

We have means for exposing post categories, but no way for exposing all of the post tags. Perhaps a wp.getTags that would be similar to metaWeblog.getCategories?

Attachments

xmlrpc.php.diff Download (1.7 KB) - added by josephscott 3 years ago.
wp-includes--wlwmanifest.xml.diff Download (381 bytes) - added by josephscott 3 years ago.

Change History

Patch to add wp.getTags method to XML-RPC. Returns an array of structs, each struct looks like:

{
  "count"     = 1;
  "html_url"  = "http://localhost/~joseph/wp/trunk/?tag=blue";
  "name"      = "blue";
  "rss_url"   = "http://localhost/~joseph/wp/trunk?feed=rss2&tag=blue";
  "slug"      = "blue";
  "tag_id"    = 13;
}

comment:2   ryan3 years ago

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

(In [9143]) List post tags via XMLRPC. Props josephscott. fixes #7744

Added one line update to wlwmanifest.xml file so that Windows Live Writer will know that it can use wp.getTags.

comment:4   ryan3 years ago

(In [9218]) Update wlw manifest for get tags support. Props josephscott. fixes #7744

Note: See TracTickets for help on using tickets.