Show message on publish rather than sitting dumbly. Link to site like we do for posts
git-svn-id: https://develop.svn.wordpress.org/trunk@3726 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
855d8df3c8
commit
858a5db03f
@ -6,8 +6,8 @@ $editing = true;
|
||||
require_once('admin-header.php');
|
||||
?>
|
||||
|
||||
<?php if ( isset($_GET['saved']) ) : ?>
|
||||
<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>
|
||||
<?php if ( isset($_GET['saved']) || isset($_GET['posted']) ) : ?>
|
||||
<div id="message" class="updated fade"><p><strong><?php _e('Page saved.') ?> <a href="edit-pages.php"><?php _e('Manage pages'); ?></a> | <a href="<?php echo get_bloginfo('home') . '/'; ?>"><?php _e('View site') ; ?> »</a></strong></p></div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php
|
||||
|
Loading…
Reference in New Issue
Block a user