Changeset 560 for trunk/wp-admin/wp-post.php
- Timestamp:
- 11/30/2003 10:13:53 PM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/wp-post.php
r546 r560 322 322 323 323 // pingWeblogs($blog_ID); 324 325 header ('Location: ' . $HTTP_SERVER_VARS['HTTP_REFERER']); 324 $sendback = $HTTP_SERVER_VARS['HTTP_REFERER']; 325 if (strstr($sendback, 'wp-post')) $sendback = $siteurl .'/wp-admin/wp-post.php'; 326 header ('Location: ' . $sendback); 326 327 327 328 break; … … 576 577 $draft->post_title = stripslashes($draft->post_title); 577 578 if ($draft->post_title == '') 578 $draft->post_title = ' post-'.$draft->ID;579 $draft->post_title = 'Post #'.$draft->ID; 579 580 echo "<a href='wp-post.php?action=edit&post=$draft->ID' title='Edit this draft'>$draft->post_title</a>"; 580 581 ++$i;
Note: See TracChangeset
for help on using the changeset viewer.