Make WordPress Core


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

new function for escaping within attributes: attribute_escape()

File:
1 edited

Legend:

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

    r4269 r4656  
    102102                if ($theme_name == $theme) $selected = " selected='selected'";
    103103                else $selected = '';
    104                 $theme_name = wp_specialchars($theme_name, true);
     104                $theme_name = attribute_escape($theme_name);
    105105                echo "\n\t<option value=\"$theme_name\" $selected>$theme_name</option>";
    106106        }
Note: See TracChangeset for help on using the changeset viewer.