尝试将其粘贴到主题的功能中。php文件
add_filter( \'parse_query\', \'display_autosave_and_revisions\' );
function display_autosave_and_revisions( $query )
{
global $pagenow,$typenow;
if ( is_admin() && $pagenow == \'edit.php\' && $typenow == "post") {
$query->query_vars[\'post_type\'] = array(\'revision\',\'post\');
$query->query_vars[\'post_status\'] = \'any\';
}
}