Closed tcrsavage closed 4 years ago
Can be bypassed by adding the custom status to the clonable stati
add_filter( 'post_cloner_clonable_statuses', function( $stati ) {
$stati[] = 'imported';
return $stati
} );
I can't reproduce this. I have registered the custom status, and set a post to this status with WP CLI. But I don't get an error in Gutenberg.
@pdewouters cheers for checking, looks like this must have been fixed in a subsequent version of gutenberg
When a custom post status is registered, Gutenberg edit screens fatal error due to bad render handling.
To reproduce
Register a custom post status, assign the status to a post, edit the post with gutenberg