WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 3 years ago

#16192 closed defect (bug) (fixed)

Press this publishes with wrong post format

Reported by: 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 3 years ago.
press this post format fix

Download all attachments as: .zip

Change History (3)

Otto423 years ago

press this post format fix

comment:1 Otto423 years ago

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

comment:2 nacin3 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.