Introduce native Gutenberg controls
Compare changes
+ 45
− 38
@@ -275,48 +275,55 @@ class WP_Revisions_Control {
@@ -275,48 +275,55 @@ class WP_Revisions_Control {
if ( post_type_supports( $post_type, 'revisions' ) && 'auto-draft' !== get_post_status() && count( wp_get_post_revisions( $post ) ) > 1 ) {
wp_enqueue_script( $handle, plugins_url( 'js/post.js', __DIR__ ), array( 'jquery' ), '20131205', true );
'error' => __( 'An error occurred. Please refresh the page and try again.', 'wp_revisions_control' ),