summaryrefslogtreecommitdiffstats
path: root/wp-admin/post-new.php
diff options
context:
space:
mode:
Diffstat (limited to 'wp-admin/post-new.php')
-rw-r--r--wp-admin/post-new.php4
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 &raquo;</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'); ?> &raquo;</a></p></div>
<?php
endif;