Make WordPress Core

Opened 13 years ago

Closed 13 years ago

#16192 closed defect (bug) (fixed)

Press this publishes with wrong post format

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

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 13 years ago.
press this post format fix

Download all attachments as: .zip

Change History (3)

@Otto42
13 years ago

press this post format fix

#1 @Otto42
13 years ago

  • Summary changed from Press this sets publishes with wrong post format to Press this publishes with wrong post format

#2 @nacin
13 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(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.