﻿ticket	summary	owner	component	_version	priority	severity	milestone	type	_status	_created	modified	_description	_reporter	keywords
22382	"In iOS 6.01 (Safari) the top menu items have to be ""touched"" twice to show the submenu"	azaozz	Administration	3.5	low	minor	3.5	defect (bug)	closed	2012-11-07T22:22:48Z	2012-11-19T14:46:53Z	"As the title. The first touch highlights the menu item, the second shows the submenu and the third follows the link.

This is most likely due to our JS for making the menus work on touch screens and Win phone, #20614."	azaozz	mobile
16882	Add support for fetching comments posted since a specific date		Comments	3.1	normal	normal	Awaiting Review	enhancement	new	2011-03-17T21:08:51Z	2011-03-22T14:30:12Z	"Adding a ""since"" option to wp.getComments and get_comments() could help reducing bandwidth used by mobile apps.

Probably useful for themes/plugins too"	koke	has-patch mobile
20048	Allow mt.getRecentPostTitles to return the sticky flag		General	3.3.1	normal	normal	Awaiting Review	enhancement	new	2012-02-15T14:02:03Z	2012-02-15T14:02:03Z	"Would be nice to return the value of the sticky flag in the mt.getRecentPostTitles response. This XML-RPC call is mostly used on mobile clients, and we need to show a visual indicator on ""sticky"" posts. Obviously, we can  call metaWeblog.getRecentPosts, but it is a ""more expensive"" XML-RPC call."	daniloercoli	mobile needs-patch
20228	Image options can't be changed		Media		normal	normal	Awaiting Review	defect (bug)	new	2012-03-13T12:33:07Z	2012-05-24T07:18:18Z	"While testing #19126 I noticed the following options can never change:

* image_default_link_type
* image_default_size
* image_default_align

The ""Add media"" dialog remembers the last setting for size/align by using cookies. Link type always defaults to file."	koke	mobile reporter-feedback close
20923	Add support for mobile uploads	nacin	Media	3.4	normal	normal	3.4.1	enhancement	closed	2012-06-12T14:44:24Z	2012-06-26T21:04:14Z	"Starting with iOS6, Mobile Safari is able to upload photos.

The current implementation calls [source:trunk/wp-includes/functions.php@20715#L3684 _device_can_upload] to decide if it should show the upload form, which returns {{{false}}} for any version of iOS

The best solution would probably be using Javascript for that check, instead of user agent detection, since other mobile platforms might follow in the future"	koke	mobile has-patch commit
20614	Making the menus work in Windows Phone 7, and work better in Android / iOS	azaozz	Toolbar	3.4	normal	normal	3.5	enhancement	closed	2012-05-04T23:40:28Z	2012-11-17T20:14:19Z	"Currently, on Windows Phone 7/7.5, the Toolbar Dropdown menus are non-functional (as there is no ontouchstart functionality in the browser) and the admin flyout menus are also entirely non-functional.  This translates roughly to ... there is no way to actually log out of WordPress!  (as logout is in the user dropdown menu)

iOS has some built in :hover faking code, but we should also make the admin menu flyouts more accessible and usable on Android -- where you have to touch and hold to activate the flyout/dropdown, and then slide your finger off to not trigger the actual link."	georgestephanis	has-patch mobile needs-testing
14459	Rotate Full Size Images on Upload	azaozz	Upload	3.0	normal	normal	Future Release	enhancement	reviewing	2010-07-29T23:16:17Z	2013-01-06T08:52:07Z	"It may be worth a revisit to #7042.  Some mobile devices that use WordPress for Android are not capturing images in the correct orientation, instead they are writing the EXIF orientation to the image instead (which is a standard method these days).  In wp-android and other external clients that offer full size image upload, these images will not be rotated correctly upon upload.

Since most mobile users are on the go with no access to the wp-admin area to rotate the images themselves, it would work best if the image was rotated for them automatically.  

Hopefully there's a solution that wouldn't strip the EXIF data, some way to copy the EXIF data before rotating, then save it back again?"	mrroundhill	needs-patch westi-like mobile
10933	Provide custom more text back to XML-RPC clients	westi	XML-RPC	2.8.4	normal	normal	3.4	task (blessed)	closed	2009-10-08T20:11:25Z	2012-03-08T12:50:22Z	"If  a user provides a custom more text string:

{{{
<!-- more My Custom More String-->
}}}

for a post, XML-RPC clients don't get the custom more text ('My Custom More String') when requesting the post data (metaWeblog.getPost).

A simple option would be to add a new (wp_more_text ?) field to provide this information."	josephscott	mobile has-patch commit
12493	Filter $bits in wp_upload_bits()	josephscott	XML-RPC	3.0	normal	normal	Future Release	enhancement	new	2010-03-03T05:25:51Z	2012-10-18T07:42:35Z	"It'd be nice if there was a filter on `$bits` in `wp_upload_bits()` to allow plugins to modify uploads coming in from XML-RPC. Resizing, watermarking, etc. are all example uses for this filter.

Since it's a simple filter, perhaps it could be slipped into 3.0."	Viper007Bond	has-patch mobile
13917	wp.uploadFile cannot be attached to any post	josephscott	XML-RPC	3.0	normal	normal	3.5	task (blessed)	closed	2010-06-16T10:45:50Z	2012-09-18T19:06:27Z	"wp.uploadFile from xmlrpc.php saves each upload as an unattached file. 

I wanted to attach it to a post once uploaded but a option for this does not exist and the $post_id is given the value 0 before wp_insert_attachment inside the $attachment array. 

I am happy to make this enhancement if needed and approved but I'm not sure what the protocol is as this is my first time in doing this.

Thanks,
Ciprian Turcu"	ciprian_vb	has-patch commit mobile
15098	Can't add post with featured image using only XML-RPC	rvavruch	XML-RPC		normal	normal	3.4	enhancement	closed	2010-10-12T06:25:23Z	2012-03-29T00:02:18Z	"AFAIK it is not possible to add a new post with a featured image using only XML-RPC. This is because the way to add a featured image with XML-RPC requires the wp_posts.id of the image to be used.

I have attached a patch based on trunk rev. 15775 which returns that id when performing a metaWeblog.newMediaObject. This id can then be used in the custom_fields of a metaWeblog.newPost to set the featured image (or _thumbnail_id)."	rvavruch	needs-patch mobile
16003	XMLRPC should use category ids instead of names	ericmann	XML-RPC	3.1	normal	normal	3.4	enhancement	closed	2010-12-28T00:08:59Z	2012-08-05T19:59:06Z	"You can have categories with the same name at different points in the hierarchy.

Right now, metaWeblog.getPost, metaWeblog.getRecentPosts, and metaWeblog.newPost at least return/take an array of category names.

Names are probably more useful in most of the cases, but not being able to use the ids can lead into trouble"	koke	has-patch needs-testing mobile
16217	XMLRPC upload limits don't follow the same rules than the web interface	markjaquith	XML-RPC	3.1	normal	normal	3.5	defect (bug)	closed	2011-01-13T10:58:37Z	2012-07-09T03:49:24Z	"If you have upload_space_check_disabled=true and fileupload_maxk=0, from the dahsboard (at least with the flash uploader) it means no limits, but from xmlrpc every upload fails

The first calls wp_handle_upload, which has a filter check_upload_size, and it checks the space limit check:
{{{
if ( get_site_option( 'upload_space_check_disabled' ) )
    return $file;
}}}

However, xmlrpc uses wp_upload_bits, which has a filter upload_is_file_too_big, which only checks fileupload_maxk"	koke	3.2-early has-patch multisite mobile commit
16748	wp_die() should return proper errors when called from xmlrpc	westi	XML-RPC	3.1	normal	normal	3.2	defect (bug)	closed	2011-03-04T16:29:17Z	2011-06-02T13:29:01Z	"Right now, when something goes wrong you get a html page with the error instead of a proper xml response.

Example: try to post the same comment twice"	koke	has-patch mobile needs-testing
16985	XML-RPC endpoint set the datetime when saving a Draft		XML-RPC	3.1	normal	normal	Future Release	defect (bug)	new	2011-03-28T13:33:46Z	2012-06-24T00:15:12Z	"When uploading a draft post from one of the WordPress mobile apps the post date is set to the current time/date, even if the datetime field is not specified on the client request.
This could cause issues, because when you change the post status to ""publish"" it will be published using the date set during the first upload.

On the web dashboard if you do not set the post datetime explicitly, it is not set and hitting publish will then populate the datetime field with the current time.

The same happens if you start a draft on the web and then you publish it using any mobile apps.

details here: http://ios.trac.wordpress.org/ticket/826"	daniloercoli	mobile has-patch needs-unit-tests
17000	Allow Pages to be set to Pending Status via XML-RPC		XML-RPC	3.1	normal	minor	3.2	defect (bug)	closed	2011-03-30T14:36:15Z	2011-10-20T18:33:31Z	"I noticed today that pages could not be created with a 'Pending Review' status via XML-RPC.  Looks like in the past you couldn't set pages to pending, but now can.

I'm attaching a simple patch that removes the check that limited the pending status to posts only."	mrroundhill	mobile has-patch dev-feedback needs-testing
17091	Allow mt.getRecentPostTitles to return the post status		XML-RPC	3.1	normal	minor	3.2	enhancement	closed	2011-04-09T11:15:16Z	2011-04-18T17:16:48Z	"Could be useful to have the post status field within the response of mt.getRecentPostTitles.
This XML-RPC call is used especially on mobile clients, but if we want add a visual indicator that shows the post status we should call the metaWeblog.getRecentPosts that is a more expensive call."	daniloercoli	has-patch mobile dev-feedback
17094	Add support for fetching postFormats supported by the active theme		XML-RPC	3.1	normal	normal	3.2	enhancement	closed	2011-04-09T15:11:12Z	2011-04-18T17:27:31Z	"Noticed that wp.getPostFormats always returns the full list of Formats, even if the active theme doesn’t support most of them.  It just calls get_post_format_strings() to get the list.

I recently added the support for postFormat into WordPress 4 BlackBerry and the users feedback confirm  that showing the full list is not so good, because the dashboard instead shows only the post_formats supported by the theme. We should use the same behavior on both places."	daniloercoli	mobile has-patch needs-testing
17131	Make theme's content_width available in XML-RPC	ryan	XML-RPC		normal	normal	3.2	enhancement	closed	2011-04-14T11:38:38Z	2012-07-13T10:16:42Z	To upload properly sized images, being able to access the theme's {{{$content_width}}} variable from XML-RPC would help	koke	mobile revert
17132	Add template/active_plugins to wp.getOptions		XML-RPC		normal	normal	3.4	task (blessed)	closed	2011-04-14T11:45:42Z	2012-03-29T10:31:10Z	"''active_plugins'' could be very useful to warn users about known compatibility issues between specific plugins and the apps using XML-RPC

''template'' is not as useful, but could be interesting to know, for instance, which blogs are P2s and which are ""regular"" blogs"	koke	has-patch mobile commit
17981	XML-RPC wp.getComments should work for non-admins		XML-RPC	3.2	normal	normal	Awaiting Review	defect (bug)	new	2011-07-04T22:23:03Z	2012-03-08T13:35:11Z	"Right now, if the caller doesn't have the moderate_comments permission, the XML-RPC call returns a 401 error. 

A more graceful alternative would be to return the approved comments. The user may not be able to moderate, but still should be able to read/reply"	koke	mobile has-patch commit
18126	Expose image options on XML-RPC	josephscott	XML-RPC	3.2.1	normal	normal	3.4	task (blessed)	closed	2011-07-15T10:34:15Z	2012-03-13T12:33:21Z	"To pick good defaults when inserting images from the mobile apps, it'd be nice to have the following options exposed:

* image_default_link_type
* image_default_size
* image_default_align"	koke	mobile has-patch commit dev-reviewed
18310	Attachments inserted with NULL value for GUID		XML-RPC	3.2.1	normal	normal	3.6	defect (bug)	new	2011-08-01T13:30:01Z	2013-05-07T14:08:16Z	"This is the error I get when trying to post via xml-rpc interface:

Empty delimiter in .../wp-includes/class-wp-xmlrpc-server.php on line 2469 Warning:  Cannot modify header information - headers already sent by (output started at .../wp-includes/class-wp-xmlrpc-server.php:2469) in .../webraces/wp-includes/class-IXR.php on line 471

The line 2469 of class-wp-xmlrpc-server.php looks like:

if ( strpos( $post_content, $file->guid ) !== false )

Apparently $file->guid has invalid value as this is fixed by inserting

if($file->guid && !($file->guid == NULL))

right above the line in question. See also http://wordpress.org/support/topic/windows-live-writer-no-go-with-wp-312"	docfish	has-patch mobile commit dev-feedback
18433	Retrieve a list of posts  via XML-RPC	westi	XML-RPC		normal	normal	3.4	task (blessed)	closed	2011-08-16T04:27:34Z	2012-03-28T20:46:02Z		nprasath002	has-patch mobile westi-likes
18566	Expose discussion settings on XML-RPC	nacin	XML-RPC		normal	normal	3.4	enhancement	closed	2011-09-01T10:32:17Z	2012-01-07T19:08:49Z	"To set properly the mobile UI we should be able to access the discussion settings variables from XML-RPC.
- default_ping_status
- default_comment_status"	daniloercoli	mobile has-patch commit
18731	The XML-RPC Endpoint filename is hardcoded in the code (aka: my Host Blocks XML-RPC Access!)		XML-RPC	3.2	high	major	Future Release	enhancement	new	2011-09-21T10:56:26Z	2012-12-29T20:48:32Z	"It's impossible to rename the file 'xmlrpc.php' to something different (for eg when your hosting provider blocks the access to the xmlrpc.php file) since the prefix ""xmlrpc.php"" is hardcoded within the src code. You can rename the file but the XML-RPC call wp.getUsersBlog always returns the hardcoded URL.

Same issue for the pingback link and the EditURI link.

We pubblished a plugin that should help users for the time being:
http://wordpress.org/extend/plugins/rename-xml-rpc/"	daniloercoli	mobile westi-likes has-patch needs-refresh
18812	XML-RPC newPost need more dashboard-like behavior for publishing posts	josephscott	XML-RPC		normal	normal	3.3	defect (bug)	closed	2011-09-29T09:08:16Z	2011-10-10T21:27:05Z	"Right now, metaWeblog.newPost calls wp_insert_post before:

* Attaching media uploads
* Set/unset sticky
* Set custom fields
* Set post formats

This is probably done since all those actions need the post ID, but it can break some plugins that rely on the publish_post action hook since the post is not complete at that point.

The idea is to make it behave more like wp-admin:

* Save the post as 'auto-draft'
* Attach uploads, set custom fields, ...
* Update with proper status"	koke	has-patch mobile
19733	XML-RPC returns invalid dates if the date is zero	westi	XML-RPC	3.3	normal	normal	3.4	defect (bug)	closed	2012-01-04T14:04:38Z	2012-04-04T21:32:29Z	"When a post has a 'pending' status, {{{post_date_gmt}}} is set to {{{0000-00-00 00:00:00}}} as a marker to update {{{post_date}}} when it's saved (see #5698). 

mysql2date then proceeds to turn that date into a negative one, and IXR_Date destroys the thing a bit more, so {{{0000-00-00 00:00:00}}} turns into {{{-0001113TT0::0::00}}}, which is an invalid ISO8601 date"	koke	has-patch mobile needs-unit-tests
20058	XMLRPC: Post excerpt should only be updated if one was provided in metaWeblog.editPost		XML-RPC	3.3.1	normal	normal		defect (bug)	closed	2012-02-17T09:30:31Z	2012-08-05T20:50:04Z	"I received a bug report for the WPAndroid app that said the post excerpt would be deleted when a user edited an existing post on their blog. The app doesn't deal with the post excerpt at all so it doesn't pass anything back in the mt_excerpt field in the metaWeblog.editPost call.

I'm going to fix this by passing back the mt_excerpt from the app, but I think it would be best for the API to only update the excerpt if one was provided. I've created a patch that does this."	mrroundhill	has-patch mobile close
21085	Better XML-RPC media handling		XML-RPC	2.3	normal	normal	Future Release	enhancement	new	2012-06-26T22:40:22Z	2012-10-10T16:23:23Z	"In 3.4 there was a lot of improvements. For 3.5 I would like to see some major improvement in wp.uploadFile and metaWeblog.newMediaObject.

At this moment you can't insert a description, alternate text or caption. ( #5461/#18684 ). Also the file can't be attached to a post ( #13917 ).

The overwrite functionality also doesn't work ( #17604 ). Not sure why this exists since WordPress itself doesn't do this.

Also the current way isn't how WordPress does it internally. wp_handle_upload() doesn't get used (#6559).

There is also going on something wrong with mime types ( #12518 ).

Also the work from 3.4 should be implemented ( #6430 ).

Last thing is that WordPress normally also looks at the EXIF information. At this moment the XML-RPC also doesn't do that ( #18087 )

rarely related: #12493 - filter for wp_upload_bits"	markoheijnen	mobile 2nd-opinion
21098	Out of memory errors in XML-RPC		XML-RPC	3.4	normal	major	Awaiting Review	defect (bug)	new	2012-06-28T13:48:53Z	2012-09-23T19:43:33Z	"Since WPiOS 3.0 and WordPress 3.4 we're getting a lot of ""Out of Memory"" reports on XML-RPC.

See http://ios.forums.wordpress.org/topic/couldnt-sync-posts-after-update-to-300

XML-RPC clients have no idea of the memory available, and even if they did it'd be hard to translate that to ""how many items can I request""

Some ideas:

* Can we try raising the memory limit on xmlrpc.php, or at least for system.multicall?
* Setting limits on the number of items returned if we can predict that they're going to need too much memory. Currently asking for the latest 100 comments can trigger an out of memory error in some hosts.
* Fail more gracefully: return an XML-RPC error instead of a HTTP 500 Internal Server Error
* Any hints on debugging where memory is going and if there are any leaks?"	koke	mobile dev-feedback
21386	XML-RPC needs a user permission method		XML-RPC		normal	normal	Future Release	enhancement	new	2012-07-25T18:33:24Z	2012-11-23T20:42:43Z	"At this moment when calling a XML-RPC method you will receive a error when the user can't do that method. 

What would be better if there is a way an app can retrieve the user permissions and act on that without the need to call the method."	markoheijnen	mobile
21397	Expose post revisions on the XML-RPC Endpoint	nacin	XML-RPC		normal	normal	3.5	task (blessed)	closed	2012-07-27T09:50:35Z	2012-09-27T04:17:16Z	"We'd like to have methods to load/restore/save post revisions via XML-RPC.
- Get the list of revisions for a single post.
- Get a single revision.
- Restore a revision.
- Save a post revision.
"	daniloercoli	mobile has-patch
21398	Live preview of new post/page via XML-RPC for mobile clients.		XML-RPC		normal	normal	Future Release	enhancement	new	2012-07-27T10:13:47Z	2012-09-16T19:58:49Z	"We'd like to have the possibilty to load the 'live preview' for a post/page you're writing on a mobile client.
(New post not already ""synched"" with the server, or post edited within the mobile app).

The only solution that I can see at the moment is the following:
- Upload the post/page to the server with the status set to 'Draft'.
- Load the permalink of the post.
- Open the post in a webview by using the WP login form and the redirect_to parameter.
"	daniloercoli	mobile
21623	XML-RPC method wp.getPosts should be able to search	westi	XML-RPC	3.4	normal	normal	3.5	enhancement	closed	2012-08-17T22:10:26Z	2012-09-21T10:18:33Z	At this moment you can't search for posts. It would be a nice addition to the existing code if there would be a possibility to do a search.	markoheijnen	mobile has-patch
21822	XML-RPC: Return Home URL in wp.getOptions	nacin	XML-RPC	3.5	normal	normal	3.5	enhancement	closed	2012-09-06T09:24:49Z	2012-09-11T01:26:38Z	"It would make a few things easier for the mobile apps (and potentially other XML-RPC clients) if the Home URL was returned in the wp.getOptions call. Currently the only way we can get it is through the RSD 'homePageLink' tag.

Attaching a patch that adds support for this."	mrroundhill	has-patch mobile commit
21907	Allow custom errors on login when using XML-RPC	westi	XML-RPC	3.5	normal	normal	3.5	enhancement	closed	2012-09-17T14:33:15Z	2012-09-19T07:10:19Z	"Currently, the code for login in XML-RPC does this:

{{{
$user = wp_authenticate($username, $password);

if (is_wp_error($user)) {
        $this->error = new IXR_Error(403, __('Bad login/pass combination.'));
        return false;
}
}}}

So any custom error returned by wp_authenticate is thrown away and replaced by a generic error

Our use case: we recently added Two Step authentication to WordPress.com. The XML-RPC api needs to use an application specific password, since there's no support for entering the auth code. When a user logs in with the right username/password we need to return a specific error message asking the user to login with an application specific password.

Other custom login systems may require specific error messages too"	koke	mobile westi-likes has-patch dev-feedback
22497	Post type should be able to show on mobile apps		XML-RPC		normal	normal	Awaiting Review	enhancement	new	2012-11-18T18:48:58Z	2012-11-20T11:40:24Z	"Currently the mobile apps only show Post and Pages. Part of the reason is that the apps can't know if the post type is worth showing in the apps since it's heavily based on several meta-boxes. I think this is a nice add-on for developers to make that decision.

The patch is really simple and is just adding a extra parameter to register post type."	markoheijnen	has-patch mobile
23017	Support for fatal errors on XML-RPC		XML-RPC	3.5	normal	normal	Awaiting Review	defect (bug)	new	2012-12-20T11:24:27Z	2013-03-19T11:22:13Z	"Similar to #16748, when a fatal error occurs, PHP will output some HTML code which at best is confusing for XML-RPC clients.

Using the `shutdown` action, we could die more gracefully and return a XML-RPC formatted error"	koke	mobile has-patch
23020	wp.getPageList should act like wp.getPages		XML-RPC	2.2	normal	minor	Awaiting Review	defect (bug)	new	2012-12-20T13:47:13Z	2012-12-30T15:07:53Z	"I know that wp.getPageList is obsolete, but I think it should act like wp.getPages At the moment wp.getPageList returns even the trashed pages and doesn't return the status of the page. 

The weird behavior i've seen with wp.getPageList on a third-party client is shown below:
- Refresh the pages list.
- The Page 'A' is in the list.
- Select the page 'A' and delete it.
- Refresh the pages list and the page is still there. Doh!"	daniloercoli	has-patch mobile
23446	Expose 'login_url' and 'admin_url' via XML-RPC		XML-RPC	3.5	normal	normal	Awaiting Review	enhancement	new	2013-02-11T10:41:14Z	2013-04-01T09:28:14Z	"To show the preview of  'private'/'draft'/'pending review' posts we need to authenticate to WordPress by using the login form, and the redirect_to parameter. 
Sometime the URL of the login form cannot be guessed by replacing xmlrpc.php with wp-login.php :)

We have the same issue for the URL of the admin dashboard. "	daniloercoli	has-patch mobile
23811	XML-RPC shouldn't display errors		XML-RPC	3.5.1	normal	normal	3.6	defect (bug)	new	2013-03-18T17:35:59Z	2013-05-07T14:15:04Z	"I've got some user reports of XML-RPC returning this:

{{{
<b>Warning</b>
<a href='function.strpos'>function.strpos</a>
<b>
/home/www/simplythreemusic.com/wp-includes/class-wp-xmlrpc-server.php</b>
}}}

In this case, it seems to be #18310, but XML-RPC shouldn't be throwing any warnings, since that makes the client think the request failed when it actually succeeded"	koke	mobile has-patch
