Make WordPress Core

Ticket #24682: 24682-one-linked.patch

File 24682-one-linked.patch, 625 bytes (added by DrewAPicture, 12 years ago)

alternative: only link 'Go Back'

  • wp-admin/revision.php

     
    5858                break;
    5959        }
    6060
    61         $post_title = '<a href="' . get_edit_post_link() . '">' . get_the_title() . '</a>';
    62         $h2 = sprintf( __( 'Compare Revisions of &#8220;%1$s&#8221;' ), $post_title );
     61        $h2 = sprintf( __( 'Compare Revisions of &#8220;%1$s&#8221;' ), get_the_title() );
     62        $h2 .= sprintf( '<a href="%1$s" class="add-new-h2">%2$s</a>', get_edit_post_link(), __( 'Go Back' ) );
    6363        $title = __( 'Revisions' );
    6464
    6565        $redirect = false;