WordPress.org

Make WordPress Core

Ticket #9322: 9322.patch

File 9322.patch, 768 bytes (added by Viper007Bond, 5 years ago)
  • wp-admin/edit-form-advanced.php

     
    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 htmlspecialchars( attribute_escape($post->post_title) ); ?>" id="title" autocomplete="off" /> 
    599599</div> 
    600600<div class="inside"> 
    601601<?php $sample_permalink_html = get_sample_permalink_html($post->ID); ?>