Opened 14 years ago
Closed 14 years ago
#20697 closed defect (bug) (fixed)
XML-RPC metaWeblog calls save posts with 'standard' post format
| Reported by: | koke | Owned by: | nacin |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.5 |
| Component: | XML-RPC | Version: | 3.1 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
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
@
14 years ago
- Summary XML-RPC metaWeblog calls save posts 'standard' post format → XML-RPC metaWeblog calls save posts with 'standard' post format
#5
@
14 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
@
14 years ago
- Milestone Future Release → 3.5
We might need an upgrade routine to knock out post-format-standard terms from the DB.
#8
@
14 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
@
14 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Sorry for the duplicate patch. It's the same file, but accidentally double-clicked on the upload button