Make WordPress Core


Ignore:
Timestamp:
03/03/2009 06:37:25 PM (16 years ago)
Author:
ryan
Message:

Pass blog charset to html_entity_decode(). Props adferguson. fixes #7563

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/dashboard.php

    r10680 r10688  
    748748        $title = wp_specialchars( $title );
    749749
    750         $description = wp_specialchars( strip_tags(html_entity_decode($item->get_description(), ENT_QUOTES)) );
     750        $description = wp_specialchars( strip_tags(html_entity_decode($item->get_description(), ENT_QUOTES, get_option('blog_charset'))) );
    751751
    752752        list($link, $frag) = explode( '#', $item->get_link() );
Note: See TracChangeset for help on using the changeset viewer.