[wp-trac] [WordPress Trac] #54708: Improve `_set_preview` for case when autosave missing
WordPress Trac
noreply at wordpress.org
Wed Dec 29 18:40:11 UTC 2021
#54708: Improve `_set_preview` for case when autosave missing
------------------------------------------------+--------------------------
Reporter: adamsilverstein | Owner:
| adamsilverstein
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: Awaiting
| Review
Component: General | Version:
Severity: normal | Resolution:
Keywords: dev-feedback has-patch 2nd-opinion | Focuses:
------------------------------------------------+--------------------------
Comment (by adamsilverstein):
In [attachment:"54708.3.diff"]:
* In `_set_preview`, when the autosave is missing, skip assignment of
`content`, `title` and `excerpt` but still apply filters to
`get_the_terms` and `get_post_metadata`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54708#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list