Changeset 4112 for trunk/wp-includes/default-filters.php
- Timestamp:
- 08/24/2006 10:33:16 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/default-filters.php
r4046 r4112 55 55 add_filter('pre_category_name', 'wp_specialchars', 30); 56 56 add_filter('pre_category_description', 'wp_filter_kses'); 57 58 //Links 59 add_filter('pre_link_name', 'strip_tags'); 60 add_filter('pre_link_name', 'trim'); 61 add_filter('pre_link_name', 'wp_filter_kses'); 62 add_filter('pre_link_name', 'wp_specialchars', 30); 63 add_filter('pre_link_description', 'wp_filter_kses'); 64 add_filter('pre_link_notes', 'wp_filter_kses'); 65 add_filter('pre_link_url', 'strip_tags'); 66 add_filter('pre_link_url', 'trim'); 67 add_filter('pre_link_url', 'clean_url'); 68 add_filter('pre_link_image', 'strip_tags'); 69 add_filter('pre_link_image', 'trim'); 70 add_filter('pre_link_image', 'clean_url'); 71 add_filter('pre_link_rss', 'strip_tags'); 72 add_filter('pre_link_rss', 'trim'); 73 add_filter('pre_link_rss', 'clean_url'); 74 add_filter('pre_link_target', 'strip_tags'); 75 add_filter('pre_link_target', 'trim'); 76 add_filter('pre_link_target', 'wp_filter_kses'); 77 add_filter('pre_link_target', 'wp_specialchars', 30); 78 add_filter('pre_link_rel', 'strip_tags'); 79 add_filter('pre_link_rel', 'trim'); 80 add_filter('pre_link_rel', 'wp_filter_kses'); 81 add_filter('pre_link_rel', 'wp_specialchars', 30); 57 82 58 83 // Users … … 116 141 // Misc filters 117 142 add_filter('option_ping_sites', 'privacy_ping_filter'); 143 add_filter('option_blog_charset', 'wp_specialchars'); 118 144 119 145 // Actions
Note: See TracChangeset
for help on using the changeset viewer.