Ticket #59141: 59141.patch
File 59141.patch, 854 bytes (added by , 13 months ago) |
---|
-
wp-admin/revision.php
104 104 } 105 105 106 106 $post_edit_link = get_edit_post_link(); 107 $post_title = '<a href="' . $post_edit_link. '">' . _draft_or_post_title() . '</a>';107 $post_title = '<a href="' . esc_url( $post_edit_link ) . '">' . _draft_or_post_title() . '</a>'; 108 108 /* translators: %s: Post title. */ 109 109 $h1 = sprintf( __( 'Compare Revisions of “%s”' ), $post_title ); 110 $return_to_post = '<a href="' . $post_edit_link. '">' . __( '← Go to editor' ) . '</a>';110 $return_to_post = '<a href="' . esc_url( $post_edit_link ) . '">' . __( '← Go to editor' ) . '</a>'; 111 111 // Used in the HTML title tag. 112 112 $title = __( 'Revisions' ); 113 113