Changeset 56437 for trunk/src/wp-admin/revision.php
- Timestamp:
- 08/24/2023 09:30:17 AM (16 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/revision.php
r55412 r56437 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' );
Note: See TracChangeset
for help on using the changeset viewer.