Changeset 28393
- Timestamp:
- 05/13/2014 06:27:11 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/admin.php
r28376 r28393 289 289 * @param bool false Whether to force data to be filtered through kses. Default false. 290 290 */ 291 if ( apply_filters( 'force_filtered_html_on_import', false ) ) 291 if ( apply_filters( 'force_filtered_html_on_import', false ) ) { 292 292 kses_init_filters(); // Always filter imported data with kses on multisite. 293 } 293 294 294 295 call_user_func($wp_importers[$importer][2]); … … 308 309 * The dynamic portion of the hook name, $pagenow, is a global variable 309 310 * referring to the filename of the current page, such as 'admin.php', 310 * 'post-new.php' etc. A complete hook for the latter would be 'load-post-new.php'. 311 * 'post-new.php' etc. A complete hook for the latter would be 312 * 'load-post-new.php'. 311 313 * 312 314 * @since 2.1.0 313 315 */ 314 316 do_action( 'load-' . $pagenow ); 315 // Backwards compatibility with old load-page-new.php, load-page.php, 316 // and load-categories.php actions. 317 318 /* 319 * The following hooks are fired to ensure backward compatibility. 320 * In all other cases, 'load-' . $pagenow should be used instead. 321 */ 317 322 if ( $typenow == 'page' ) { 318 323 if ( $pagenow == 'post-new.php' )
Note: See TracChangeset
for help on using the changeset viewer.