Make WordPress Core


Ignore:
Timestamp:
12/12/2004 08:41:19 PM (21 years ago)
Author:
saxmatt
Message:

Axing htmlspecialchars because it double-encodes-encodes. Better error handling around queries.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/functions.php

    r1926 r1940  
    362362
    363363function form_option($option) {
    364     echo htmlspecialchars( get_option($option) );
     364    echo htmlspecialchars( get_option($option), ENT_QUOTES );
    365365}
    366366
Note: See TracChangeset for help on using the changeset viewer.