Index: src/wp-admin/post.php
===================================================================
--- src/wp-admin/post.php	(revision 36478)
+++ src/wp-admin/post.php	(working copy)
@@ -275,6 +275,14 @@
 	exit();
 
 default:
+	/**
+	 * Runs an action in the default case of wp-admin/post.php, given a specified action parameter.
+	 *
+	 * @since 4.5.0
+	 *
+	 * @param int $post_id Associated post ID.
+	 */
+	do_action( "post_action_{$action}", $post_id );
 	wp_redirect( admin_url('edit.php') );
 	exit();
 } // end switch
