Make WordPress Core

Opened 16 years ago

Closed 16 years ago

#16192 closed defect (bug) (fixed)

Press this publishes with wrong post format

Reported by: Otto42 Owned by:
Priority: normal Milestone: 3.1
Component: Press This Version: 3.1
Severity: normal Keywords:
Cc: Focuses:

Description

Press this sets the post format after publishing, which causes anything triggering on publish to get the post with the wrong format.

Easy fix, just move the format setting above the call to update post.

Patch forthcoming.

Attachments (1)

16192.diff (603 bytes ) - added by Otto42 16 years ago.
press this post format fix

Download all attachments as: .zip

Change History (3)

@Otto42
16 years ago

press this post format fix

#1 @Otto42
16 years ago

  • Summary Press this sets publishes with wrong post formatPress this publishes with wrong post format

#2 @nacin
16 years ago

  • Resolutionfixed
  • Status newclosed

(In [17254]) Set the post format before publishing the post in Press This. props Otto42, fixes #16192.

Note: See TracTickets for help on using tickets.