[wp-trac] [WordPress Trac] #31249: PHP notice when viewing autosave
WordPress Trac
noreply at wordpress.org
Mon Feb 1 22:01:35 UTC 2021
#31249: PHP notice when viewing autosave
------------------------------+------------------------------
Reporter: iseulde | Owner: adamsilverstein
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.7
Component: Revisions | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch commit | Focuses:
------------------------------+------------------------------
Changes (by adamsilverstein):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"50128" 50128]:
{{{
#!CommitTicketReference repository="" revision="50128"
Revisions: Address PHP/JS errors when viewing autosave on imported posts.
Fix an issue where viewing an autosave created on a post without any
previous revisions would throw a PHP notice. Also fixes the revision
screen which was broken in these cases and showed a console error.
Props iseulde.
Fixes #31249.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31249#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list