Changeset 6141
- Timestamp:
- 09/20/2007 06:23:33 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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
Note: See TracChangeset
for help on using the changeset viewer.