diff --git src/wp-admin/revision.php src/wp-admin/revision.php
index 458a749262..e6561815c4 100644
|
|
if ( ! empty( $post->post_type ) && 'post' !== $post->post_type ) { |
131 | 131 | } else { |
132 | 132 | $parent_file = 'edit.php'; |
133 | 133 | } |
134 | | $submenu_file = $parent_file; |
135 | 134 | |
136 | 135 | wp_enqueue_script( 'revisions' ); |
137 | 136 | wp_localize_script( 'revisions', '_wpRevisionsSettings', wp_prepare_revisions_for_js( $post, $revision_id, $from ) ); |
… |
… |
require_once ABSPATH . 'wp-admin/admin-header.php'; |
164 | 163 | ?> |
165 | 164 | |
166 | 165 | <div class="wrap"> |
167 | | <h1 class="long-header"><?php echo $h1; ?></h1> |
168 | | <?php echo $return_to_post; ?> |
| 166 | <h1 class="long-header"><?php echo esc_html( $h1 ); ?></h1> |
| 167 | <?php echo esc_html( $return_to_post ); ?> |
169 | 168 | </div> |
170 | 169 | <?php |
171 | 170 | wp_print_revision_templates(); |