Opened 13 years ago
Closed 12 years ago
#20697 closed defect (bug) (fixed)
XML-RPC metaWeblog calls save posts with 'standard' post format
Reported by: | koke | Owned by: | nacin |
---|---|---|---|
Milestone: | 3.5 | Priority: | normal |
Severity: | normal | Version: | 3.1 |
Component: | XML-RPC | Keywords: | has-patch |
Focuses: | Cc: |
Description
As seen here http://ios.trac.wordpress.org/ticket/1069#comment:1
Steps to replicate:
- Create a standard post using the regular web interface.
- Edit and save the post using the iOS app.
- Go back to web interface and you'll see an extra standard button.
Screenshot: http://img.thethemefoundry.com/two-standard-formats.png
The new wp.* methods do this right by using set_post_format()
instead of calling wp_set_post_terms()
directly
Attachments (2)
Change History (13)
#2
@
13 years ago
- Summary changed from XML-RPC metaWeblog calls save posts 'standard' post format to XML-RPC metaWeblog calls save posts with 'standard' post format
#4
@
13 years ago
- Milestone changed from Awaiting Review to Future Release
- Version changed from 3.4 to 3.1
#5
@
13 years ago
Has this made it into 3.4? I'm not familiar with Trac and the whole process, so forgive me if that's a dumb question.
I ask because this seems like a critical bug - creating a completely different post format is relatively major IMO.
#6
@
12 years ago
- Milestone changed from Future Release to 3.5
We might need an upgrade routine to knock out post-format-standard terms from the DB.
#8
@
12 years ago
Also, formats should be set prior to wp_insert_post(), that way on publish, a plugin knows what format the post is. The new wp method handls this, but mw does not look like it does.
#9
@
12 years ago
mw_newPost does it correct but mw_editPost doesn't. There is still a lot of things happening after wp_update_post in mw_editPost.
Wonder if that should be fixed or not.
Sorry for the duplicate patch. It's the same file, but accidentally double-clicked on the upload button