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-includes/template-functions-post.php

    r4604 r4656  
    419419        foreach ( $page_tree[$parent]['children'] as $page_id ) {
    420420                $cur_page = $page_tree[$page_id];
    421                 $title = wp_specialchars($cur_page['title']);
     421                $title = attribute_escape($cur_page['title']);
    422422
    423423                $css_class = 'page_item';
Note: See TracChangeset for help on using the changeset viewer.