WordPress.org

Make WordPress Core

Opened 6 years ago

Last modified 3 years ago

#20070 new enhancement

Deprecate Blogger XML-RPC Methods

Reported by: maxcutler Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 3.3
Component: XML-RPC Keywords: dev-feedback needs-patch
Focuses: Cc:

Description

The XML-RPC API supports the legacy Blogger API methods, but these methods have apparently not been very well tested or maintained.

Given that the wp.* XML-RPC namespace now covers everything that the Blogger API does, I suggest the blogger methods be officially deprecated with an eye towards removing them in a future version.

At the very least, the MetaWeblog API should be used by clients instead, as it was explicitly designed to enhance and supersede the Blogger API.

Change History (4)

#1 @maxcutler
6 years ago

For reference, I've attempted to document the current implementation: http://codex.wordpress.org/User:Maxcutler/XML-RPC_Blogger_API

#2 @Zengy
5 years ago

  • Type changed from defect (bug) to enhancement

Looking through the code, there are places where the wp.* functions call the blogger.* functions. For instance, class-wp-xmlrpc-server.php (line 466) function wp_getUsersBlogs calls to "blogger_getUsersBlogs."

To re-write this seems like a large code change for an entire system that is antiquated and may soon be replaced. If the decision is to remove them, they should be deprecated first so that these functions don't break existing sites that reply on these calls.

#3 @markoheijnen
5 years ago

Moving code around is totally fine so that isn't really an issue. And removing stuff can be easily put into a plugin.

#4 @chriscct7
3 years ago

  • Keywords needs-patch added
  • Severity changed from minor to normal
  • Version changed from 3.3.1 to 3.3
Note: See TracTickets for help on using tickets.