Changeset 6141
- Timestamp:
- 09/20/07 18:23:33 (1 year ago)
- Files:
-
- trunk/wp-includes/default-filters.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-includes/default-filters.php
r6035 r6141 49 49 50 50 // Format strings for display. 51 $filters = array('comment_author', 'term_name', ' term_description', 'link_name', 'link_description',51 $filters = array('comment_author', 'term_name', 'link_name', 'link_description', 52 52 'link_notes', 'bloginfo', 'wp_title'); 53 53 foreach ( $filters as $filter ) { … … 55 55 add_filter($filter, 'convert_chars'); 56 56 add_filter($filter, 'wp_specialchars'); 57 } 58 59 // Format text area for display. 60 $filters = array('term_description'); 61 foreach ( $filters as $filter ) { 62 add_filter($filter, 'wptexturize'); 63 add_filter($filter, 'convert_chars'); 64 add_filter($filter, 'wpautop'); 57 65 } 58 66
