Changeset 4318
- Timestamp:
- 10/04/06 07:47:20 (2 years ago)
- Files:
-
- branches/2.0/wp-admin/page-new.php (modified) (2 diffs)
- branches/2.0/wp-admin/post.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/2.0/wp-admin/page-new.php
r3771 r4318 8 8 9 9 <?php if ( isset($_GET['saved']) ) : ?> 10 <div id="message" class="updated fade"><p><strong><?php _e('Page saved.') ?> <a href="edit-pages.php"><?php _e('Manage pages'); ?> »</a></strong></p></div>10 <div id="message" class="updated fade"><p><strong><?php _e('Page saved.') ?></strong> <a href="edit-pages.php"><?php _e('Manage pages'); ?></a> | <a href="<?php echo get_page_link( $_GET['saved'] ); ?>"><?php _e('View page'); ?> »</a></p></div> 11 11 <?php endif; ?> 12 12 … … 21 21 ?> 22 22 23 <?php include('admin-footer.php'); ?> 23 <?php include('admin-footer.php'); ?> branches/2.0/wp-admin/post.php
r4261 r4318 49 49 } 50 50 } else { 51 $location = 'post.php?posted=true';51 $location = "post.php?posted=$post_ID"; 52 52 } 53 53 54 54 if ( 'static' == $_POST['post_status'] ) 55 $location = "page-new.php?saved= true";55 $location = "page-new.php?saved=$post_ID"; 56 56 57 57 if ( isset($_POST['save']) ) … … 347 347 ?> 348 348 <?php if ( isset($_GET['posted']) ) : ?> 349 <div id="message" class="updated fade"><p>< ?php printf(__('Post saved. <a href="%s">View site »</a>'), get_bloginfo('home') . '/'); ?></p></div>349 <div id="message" class="updated fade"><p><strong><?php _e('Post saved.'); ?></strong> <a href="<?php echo get_permalink( $_GET['posted'] ); ?>"><?php _e('View post'); ?> »</a></p></div> 350 350 <?php endif; ?> 351 351 <?php
