Make WordPress Core


Ignore:
Timestamp:
12/21/2006 10:10:04 AM (19 years ago)
Author:
markjaquith
Message:

new function for escaping within attributes: attribute_escape()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/theme-editor.php

    r4495 r4656  
    8989        if ($theme_name == $theme) $selected = " selected='selected'";
    9090        else $selected = '';
    91         $theme_name = wp_specialchars($theme_name, true);
     91        $theme_name = attribute_escape($theme_name);
    9292        echo "\n\t<option value=\"$theme_name\" $selected>$theme_name</option>";
    9393    }
Note: See TracChangeset for help on using the changeset viewer.