Make WordPress Core

Opened 12 years ago

Closed 12 years ago

#24483 closed defect (bug) (fixed)

Set the post format when previewing posts

Reported by: azaozz's profile azaozz Owned by: markjaquith's profile 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 12 years ago.

Download all attachments as: .zip

Change History (3)

@azaozz
12 years ago

#1 @azaozz
12 years 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.

#2 @markjaquith
12 years 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.