Make WordPress Core


Ignore:
Timestamp:
10/28/2010 06:30:59 AM (16 years ago)
Author:
nacin
Message:

Use esc_html. Ancient, deprecated functions, but a valid fix nonetheless. fixes #14199.

File:
1 edited

Legend:

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

    r13848 r16031  
    892892                                esc_url( $item['link'] ),
    893893                                esc_attr( strip_tags( $item['description'] ) ),
    894                                 htmlentities( $item['title'] )
     894                                esc_html( $item['title'] )
    895895                        );
    896896                }
    … …  
    927927                        echo "<li>\n";
    928928                        echo "<a href='$item[link]' title='$item[description]'>";
    929                         echo htmlentities($item['title']);
     929                        echo esc_html($item['title']);
    930930                        echo "</a><br />\n";
    931931                        echo "</li>\n";
Note: See TracChangeset for help on using the changeset viewer.