[wp-trac] [WordPress Trac] #54708: Improve `_set_preview` for case when autosave missing

WordPress Trac noreply at wordpress.org
Wed Dec 29 20:33:24 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 walbo):

 [attachment:"54708.3.diff"] looks good to me.

 Can confirm the patch fixes the featured image in block based themes when
 previewing a post. Also tested in twenty twenty one to confirm there is no
 regression in non block based themes

Ticket URL: <https://core.trac.wordpress.org/ticket/54708#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list