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. Built from https://develop.svn.wordpress.org/trunk@50128 git-svn-id: http://core.svn.wordpress.org/trunk@49807 1a063a9b-81f0-0310-95a4-ce76da25c4cd
16 KiB
16 KiB