Make WordPress Core


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.0/wp-admin/includes/file.php

    r15156 r16367  
    938938        if ( is_wp_error($error) )
    939939            $error_string = $error->get_error_message();
    940         echo '<div id="message" class="error"><p>' . $error_string . '</p></div>';
     940        echo '<div id="message" class="error"><p>' . esc_html( $error_string ) . '</p></div>';
    941941    }
    942942
Note: See TracChangeset for help on using the changeset viewer.