X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/596d585e1dc1eb25bccd3781e37210a4e2504179..6c8f14c09105d0afa4c1574215c59b5021040e76:/wp-admin/export.php diff --git a/wp-admin/export.php b/wp-admin/export.php index 8257b518..fc491b3b 100644 --- a/wp-admin/export.php +++ b/wp-admin/export.php @@ -16,7 +16,12 @@ if ( !current_user_can('export') ) require_once('./includes/export.php'); $title = __('Export'); -function add_js() { +/** + * Display JavaScript on the page. + * + * @since 3.5.0 + */ +function export_add_js() { ?> add_help_tab( array( 'id' => 'overview', @@ -89,6 +94,8 @@ if ( isset( $_GET['download'] ) ) { $args['content'] = $_GET['content']; } + $args = apply_filters( 'export_args', $args ); + export_wp( $args ); die(); } @@ -204,7 +211,9 @@ function export_date_options( $post_type = 'post' ) {

- + + +