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
  • branches/2.0/wp-includes/template-functions-general.php

    r4641 r4656  
    264264function get_archives_link($url, $text, $format = 'html', $before = '', $after = '') {
    265265    $text = wptexturize($text);
    266     $title_text = wp_specialchars($text, 1);
     266    $title_text = attribute_escape($text);
    267267
    268268    if ('link' == $format)
Note: See TracChangeset for help on using the changeset viewer.