Changes from trunk/wp-includes/default-filters.php at r6141 to branches/2.3/wp-includes/default-filters.php at r6211
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.3/wp-includes/default-filters.php
r6141 r6211 26 26 } 27 27 28 // URL28 // Save URL 29 29 $filters = array('pre_comment_author_url', 'pre_user_url', 'pre_link_url', 'pre_link_image', 30 'pre_link_rss', 'comment_url'); 30 'pre_link_rss'); 31 foreach ( $filters as $filter ) { 32 add_filter($filter, 'strip_tags'); 33 add_filter($filter, 'trim'); 34 add_filter($filter, 'sanitize_url'); 35 add_filter($filter, 'wp_filter_kses'); 36 } 37 38 // Display URL 39 $filters = array('user_url', 'link_url', 'link_image', 'link_rss', 'comment_url'); 31 40 foreach ( $filters as $filter ) { 32 41 add_filter($filter, 'strip_tags'); … … 128 137 // Actions 129 138 add_action('wp_head', 'rsd_link'); 139 add_action('wp_head', 'wlwmanifest_link'); 130 140 add_action('wp_head', 'locale_stylesheet'); 131 141 add_action('publish_future_post', 'wp_publish_post', 10, 1);
Note: See TracChangeset
for help on using the changeset viewer.