문제

Any of the recent Wordpress updates have removed the revision option from the classic editor. It runs in the background and saves the regions but no way to access it on the classic editor. Gutenburg has and supports the revision option well. But I don't use Gutenburg.

I don't know when they removed the feature, but I only realized today. How can I get the feature back on my Classic editor?

I checked my database, I have the revisions, even for new posts, and I also checked by enabling the Block editor.

도움이 되었습니까?

해결책

I used to disable the Gutenberg with this:

//disable gutenburg
add_filter('use_block_editor_for_post', '__return_false', 10);

This filter disables the Gutenberg sitewide but it doesn't work smoothly in other custom-post-types. Not only the revisions but other features are also hidden on the post edit screen of custom-post-types.

Changing this to the post type filter works smoothly across all post types.

//disable Gutenburg
add_filter( 'use_block_editor_for_post_type', '__return_false', 10 );
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 wordpress.stackexchange
scroll top