File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -595,7 +595,7 @@ function post_revisions_meta_box($post) {
595595<div id="post-body-content" class="has-sidebar-content">
596596<div id="titlediv">
597597<div id="titlewrap">
598- <input type="text" name="post_title" size="30" tabindex="1" value="<?php echo attribute_escape ($ post ->post_title ); ?> " id="title" autocomplete="off" />
598+ <input type="text" name="post_title" size="30" tabindex="1" value="<?php echo attribute_escape ( htmlspecialchars ( $ post ->post_title ) ); ?> " id="title" autocomplete="off" />
599599</div>
600600<div class="inside">
601601<?php $ sample_permalink_html = get_sample_permalink_html ($ post ->ID ); ?>
Original file line number Diff line number Diff line change @@ -443,7 +443,7 @@ function page_revisions_meta_box($post) {
443443
444444<div id="titlediv">
445445<div id="titlewrap">
446- <input type="text" name="post_title" size="30" tabindex="1" value="<?php echo attribute_escape ( $ post ->post_title ); ?> " id="title" autocomplete="off" />
446+ <input type="text" name="post_title" size="30" tabindex="1" value="<?php echo attribute_escape ( htmlspecialchars ( $ post ->post_title ) ); ?> " id="title" autocomplete="off" />
447447</div>
448448<div class="inside">
449449<?php $ sample_permalink_html = get_sample_permalink_html ($ post ->ID ); ?>
You can’t perform that action at this time.
0 commit comments