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:
parent
922d26b596
commit
f57f8f3a6f
@ -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.');
|
||||
|
@ -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']) )
|
||||
|
Loading…
Reference in New Issue
Block a user