Changeset 1012 for trunk/wp-admin/post.php
- Timestamp:
- 03/25/2004 08:18:20 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/post.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/post.php
r1005 r1012 379 379 } // end if moving from draft/private to published 380 380 if ($post_status == 'publish') { 381 do_action('publish_post', $post_ID); 381 382 // Trackback time. 382 383 $to_ping = trim($wpdb->get_var("SELECT to_ping FROM $tableposts WHERE ID = $post_ID")); … … 408 409 } 409 410 header ('Location: ' . $location); 411 do_action('edit_post', $post_ID); 410 412 break; 411 413 … … 449 451 if (strstr($sendback, 'post.php')) $sendback = get_settings('siteurl') .'/wp-admin/post.php'; 450 452 header ('Location: ' . $sendback); 451 453 do_action('delete_post', $post_ID); 452 454 break; 453 455 … … 677 679 if (!empty($referredby)) header('Location: ' . $referredby); 678 680 else header ("Location: edit.php?p=$comment_post_ID&c=1#comments"); 679 681 do_action('edit_comment', $post_ID); 680 682 break; 681 683
Note: See TracChangeset
for help on using the changeset viewer.