Ticket #27056: 27056.3.patch
File 27056.3.patch, 524 bytes (added by , 9 years ago) |
---|
-
src/wp-admin/post.php
275 275 exit(); 276 276 277 277 default: 278 /** 279 * Runs an action in the default case of wp-admin/post.php, given a specified action parameter. 280 * 281 * @since 4.5.0 282 * 283 * @param int $post_id Associated post ID. 284 */ 285 do_action( "post_action_{$action}", $post_id ); 278 286 wp_redirect( admin_url('edit.php') ); 279 287 exit(); 280 288 } // end switch