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

git-svn-id: http://svn.automattic.com/wordpress/trunk@12406 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2009-12-15 18:36:57 +00:00
parent b38c409b40
commit c6bba74d06
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']) )