Changeset 10688 for trunk/wp-includes/widgets.php
- Timestamp:
- 03/03/2009 06:37:25 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/widgets.php
r10670 r10688 1506 1506 while ( strstr($link, 'http') != $link ) 1507 1507 $link = substr($link, 1); 1508 $desc = attribute_escape(strip_tags(html_entity_decode($rss->get_description(), ENT_QUOTES )));1508 $desc = attribute_escape(strip_tags(html_entity_decode($rss->get_description(), ENT_QUOTES, get_option('blog_charset')))); 1509 1509 $title = $options[$number]['title']; 1510 1510 if ( empty($title) ) … … 1576 1576 $title = __('Untitled'); 1577 1577 1578 $desc = str_replace(array("\n", "\r"), ' ', attribute_escape(strip_tags(html_entity_decode($item->get_description(), ENT_QUOTES ))));1578 $desc = str_replace(array("\n", "\r"), ' ', attribute_escape(strip_tags(html_entity_decode($item->get_description(), ENT_QUOTES, get_option('blog_charset'))))); 1579 1579 $desc = wp_html_excerpt( $desc, 360 ) . ' […]'; 1580 1580 $desc = wp_specialchars( $desc );
Note: See TracChangeset
for help on using the changeset viewer.