Changeset 34356
- Timestamp:
- 03/11/08 13:50:46 (4 months ago)
- Files:
-
- wp-email/trunk/wp-email.mo (modified) (previous)
- wp-email/trunk/wp-email.php (modified) (1 diff)
- wp-email/trunk/wp-email.pot (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
wp-email/trunk/wp-email.php
r30797 r34356 290 290 if(!function_exists('snippet_text')) { 291 291 function snippet_text($text, $length = 0) { 292 $text = html_entity_decode($text, ENT_QUOTES );293 if (strlen($text) > $length) {294 return substr($text,0,$length).'...';292 $text = html_entity_decode($text, ENT_QUOTES, get_option('blog_charset')); 293 if (strlen($text) > $length) { 294 return htmlentities(substr($text,0,$length), ENT_COMPAT, get_option('blog_charset')).'...'; 295 295 } else { 296 return $text;296 return htmlentities($text, ENT_COMPAT, get_option('blog_charset')); 297 297 } 298 298 } wp-email/trunk/wp-email.pot
r30797 r34356 3 3 "Project-Id-Version: WP-EMail 2.30\n" 4 4 "POT-Creation-Date: \n" 5 "PO-Revision-Date: 2008-0 2-05 01:57+0800\n"5 "PO-Revision-Date: 2008-03-11 21:50+0800\n" 6 6 "Last-Translator: Lester 'GaMerZ' Chan <gamerz84@hotmail.com>\n" 7 7 "Language-Team: Lester Chan <gamerz84@hotmail.com>\n"
