diff options
Diffstat (limited to 'wp-admin/post-new.php')
-rw-r--r-- | wp-admin/post-new.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wp-admin/post-new.php b/wp-admin/post-new.php index 1fce819..4ecc804 100644 --- a/wp-admin/post-new.php +++ b/wp-admin/post-new.php @@ -19,8 +19,8 @@ When you’re promoted, just reload this page and you’ll be able to bl exit(); } -if ( isset($_GET['posted']) ) : ?> -<div id="message" class="updated fade"><p><?php printf(__('Post saved. <a href="%s">View site »</a>'), get_bloginfo('home') . '/'); ?></p></div> +if ( isset($_GET['posted']) && $_GET['posted'] ) : ?> +<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> <?php endif; |