WordPress.org

Make WordPress Core

#24483 closed defect (bug) (fixed)

Set the post format when previewing posts

Reported by: azaozz Owned by: markjaquith
Milestone: 3.6 Priority: normal
Severity: normal Version:
Component: Post Formats Keywords:
Focuses: Cc:

Description

Removing the post formats UI introduced an inconsistency when showing previews for published posts or for authors different than the original post author. As we no longer save the format on autosave, the previous format is shown. Previews of drafts work as expected.

Attachments (1)

24483.patch (3.9 KB) - added by azaozz 11 months ago.

Download all attachments as: .zip

Change History (3)

azaozz11 months ago

comment:1 azaozz11 months ago

24483.patch adds the post format on preview as query arg and sets it when showing the preview. Also restores setting of the post format as a class on TinyMCE's body.

comment:2 markjaquith10 months ago

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

In 24414:

Restore post format previewing.

props azaozz. fixes #24483

Note: See TracTickets for help on using tickets.