Remove target from view post/page links. Props scribu. fixes #11406

git-svn-id: https://develop.svn.wordpress.org/trunk@12406 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2009-12-15 18:36:57 +00:00
parent 922d26b596
commit f57f8f3a6f
2 changed files with 4 additions and 4 deletions

View File

@ -25,7 +25,7 @@ if ( isset($_GET['message']) ) {
switch ( $_GET['message'] ) {
case 1:
$message = sprintf( __('Post updated. <a target="_blank" href="%s">View post</a>'), get_permalink($post_ID) );
$message = sprintf( __('Post updated. <a href="%s">View post</a>'), get_permalink($post_ID) );
break;
case 2:
$message = __('Custom field updated.');
@ -41,7 +41,7 @@ if ( isset($_GET['message']) ) {
$message = sprintf( __('Post restored to revision from %s'), wp_post_revision_title( (int) $_GET['revision'], false ) );
break;
case 6:
$message = sprintf( __('Post published. <a target="_blank" href="%s">View post</a>'), get_permalink($post_ID) );
$message = sprintf( __('Post published. <a href="%s">View post</a>'), get_permalink($post_ID) );
break;
case 7:
$message = __('Post saved.');

View File

@ -26,7 +26,7 @@ if ( isset($_GET['message']) ) {
switch ( $_GET['message'] ) {
case 1:
$message = sprintf( __('Page updated. <a target="_blank" href="%s">View page</a>'), get_permalink($post_ID) );
$message = sprintf( __('Page updated. <a href="%s">View page</a>'), get_permalink($post_ID) );
break;
case 2:
$message = __('Custom field updated.');
@ -35,7 +35,7 @@ if ( isset($_GET['message']) ) {
$message = __('Custom field deleted.');
break;
case 4:
$message = sprintf( __('Page published. <a target="_blank" href="%s">View page</a>'), get_permalink($post_ID) );
$message = sprintf( __('Page published. <a href="%s">View page</a>'), get_permalink($post_ID) );
break;
case 5:
if ( isset($_GET['revision']) )