mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Pass $args to the export_wp action in export_wp(), which is currently passed no arguments.
Props nickdaugherty. Fixes #25574. git-svn-id: https://develop.svn.wordpress.org/trunk@26011 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
ed22220a0f
commit
5643e3ca17
@ -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 .= '.';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user