Make WordPress Core

Changeset 16367


Ignore:
Timestamp:
11/14/2010 05:33:34 PM (14 years ago)
Author:
nacin
Message:

Some escaping

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.