Changeset 15600
- Timestamp:
- 09/09/2010 02:43:18 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/admin.php
r15558 r15600 195 195 define('WP_IMPORTING', true); 196 196 197 if ( is_multisite() )198 kses_init_filters(); // Always filter imported data with kses .197 if ( apply_filters( 'force_filtered_html_on_import', false ) ) 198 kses_init_filters(); // Always filter imported data with kses on multisite. 199 199 200 200 call_user_func($wp_importers[$importer][2]); -
trunk/wp-includes/ms-default-filters.php
r14517 r15600 57 57 if ( ! defined('EDIT_ANY_USER') || ! EDIT_ANY_USER ) // back compat constant. 58 58 add_filter( 'enable_edit_any_user_configuration', '__return_false' ); 59 add_filter( 'force_filtered_html_on_import', '__return_true' ); 60 59 61 60 62 // WP_HOME and WP_SITEURL should not have any effect in MS
Note: See TracChangeset
for help on using the changeset viewer.