Ticket #27056: 27056.4.patch
File 27056.4.patch, 583 bytes (added by , 9 years ago) |
---|
-
src/wp-admin/post.php
275 275 exit(); 276 276 277 277 default: 278 /** 279 * Fires for a given custom post action request. 280 * 281 * The dynamic portion of the hook name, `$action`, refers to the custom post action. 282 * 283 * @since 4.6.0 284 * 285 * @param int $post_id Post ID sent with the request. 286 */ 287 do_action( "post_action_{$action}", $post_id ); 288 278 289 wp_redirect( admin_url('edit.php') ); 279 290 exit(); 280 291 } // end switch