WordPress.org

Make WordPress Core

Changeset 12406


Ignore:
Timestamp:
12/15/09 18:36:57 (5 years ago)
Author:
ryan
Message:

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

Location:
trunk/wp-admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-form-advanced.php

    r12351 r12406  
    2626    switch ( $_GET['message'] ) { 
    2727        case 1: 
    28             $message = sprintf( __('Post updated. <a target="_blank" href="%s">View post</a>'), get_permalink($post_ID) ); 
     28            $message = sprintf( __('Post updated. <a href="%s">View post</a>'), get_permalink($post_ID) ); 
    2929            break; 
    3030        case 2: 
     
    4242            break; 
    4343        case 6: 
    44             $message = sprintf( __('Post published. <a target="_blank" href="%s">View post</a>'), get_permalink($post_ID) ); 
     44            $message = sprintf( __('Post published. <a href="%s">View post</a>'), get_permalink($post_ID) ); 
    4545            break; 
    4646        case 7: 
  • trunk/wp-admin/edit-page-form.php

    r12351 r12406  
    2727    switch ( $_GET['message'] ) { 
    2828        case 1: 
    29             $message = sprintf( __('Page updated. <a target="_blank" href="%s">View page</a>'), get_permalink($post_ID) ); 
     29            $message = sprintf( __('Page updated. <a href="%s">View page</a>'), get_permalink($post_ID) ); 
    3030            break; 
    3131        case 2: 
     
    3636            break; 
    3737        case 4: 
    38             $message = sprintf( __('Page published. <a target="_blank" href="%s">View page</a>'), get_permalink($post_ID) ); 
     38            $message = sprintf( __('Page published. <a href="%s">View page</a>'), get_permalink($post_ID) ); 
    3939            break; 
    4040        case 5: 
Note: See TracChangeset for help on using the changeset viewer.