WordPress.org

Make WordPress Core

Opened 8 years ago

Closed 7 years ago

#20212 closed enhancement (wontfix)

Recording the user agent for posts

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

Description

This could be a useful feature for theme authors.
A theme can indicate "posted via wordpress for iphone" etc.

We cannot guarantee that all the apps will send a meta data about the app. We can get this info via User Agent parameter in $_SERVER
See this thread
http://wordpress.org/support/topic/indicate-a-post-was-posted-using-iphone-app?replies=4

Attachments (1)

useragent.patch (994 bytes) - added by nprasath002 8 years ago.

Download all attachments as: .zip

Change History (4)

#1 @josephscott
8 years ago

I don't think making this XML-RPC specific is a good approach.

#2 @maxcutler
8 years ago

This sounds like plugin territory to me. The official WordPress mobile apps currently offer an in-app option to append such "Posted from my <device name>" lines to new posts, and any other systems using XML-RPC can do the same. And by adding text directly to the post, it will appear in RSS and all other representations of the post.

#3 @nacin
7 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to wontfix
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.