Opened 14 years ago
Closed 13 years ago
#23539 closed defect (bug) (fixed)
Post Formats UI: new post format meta data not added to preview
| Reported by: | kwight | Owned by: | markjaquith |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.6 |
| Component: | Editor | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
Description
If post format meta data is changed and the user tries to preview with the Preview Changes button, they will get only the last saved meta data instead.
A related question: should Preview Changes display the last active post format tab, regardless of changes, or the last post format to receive updated meta data?
Related issue: when using the browser Back button to get back to the Edit view, those changes will have been lost (unlike previewing a content change).
Attachments (2)
Change History (13)
#2
@
14 years ago
I thought that was weird too; may have been a temporary browser issue (Chrome/Mac). This morning, however, Preview seems to work now as expected in r23460.
#4
@
13 years ago
I've added working patches to those blocking tickets if you'd like to check it out.
#5
@
13 years ago
After [23859] post formats meta data is saved to the actual revisions, but previews fetch the data from the post. 23539.diff intercepts the get_post_meta calls during previews and makes sure revisioned keys are fetched from revisions/autosaves. It also makes sure revisioned metadata is saved during autosaves.
#6
@
13 years ago
Would it make sense to use get_post() instead of the global, for consistency with [21735]?
#8
@
13 years ago
- Keywords has-patch added
- Milestone Awaiting Review → 3.6
- Resolution fixed
- Status closed → reopened
.2 makes sure there is an autosave post before proceeding.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Related / essentially blocked by #20299 and #20564.
Not sure what you mean by using the back button to go to edit view - doesn't preview open in a new tab/window?