mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
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:
parent
b38c409b40
commit
c6bba74d06
@ -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