From ba3f75b3c3d141c700b986b54e711324de50e464 Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Tue, 5 Nov 2013 01:27:08 +0000 Subject: [PATCH] Pass `$args` to the `export_wp` action in `export_wp()`, which is currently passed no arguments. Props nickdaugherty. Fixes #25574. Built from https://develop.svn.wordpress.org/trunk@26011 git-svn-id: http://core.svn.wordpress.org/trunk@25942 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/export.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/includes/export.php b/wp-admin/includes/export.php index 91d88a18ab..a7f20991e8 100644 --- a/wp-admin/includes/export.php +++ b/wp-admin/includes/export.php @@ -30,7 +30,7 @@ function export_wp( $args = array() ) { ); $args = wp_parse_args( $args, $defaults ); - do_action( 'export_wp' ); + do_action( 'export_wp', $args ); $sitename = sanitize_key( get_bloginfo( 'name' ) ); if ( ! empty($sitename) ) $sitename .= '.';