Show message on publish rather than sitting dumbly. Link to site like we do for posts
git-svn-id: http://svn.automattic.com/wordpress/trunk@3726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
a0950d4d4b
commit
a14b59e7f0
|
@ -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