mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-22 06:29:30 +00:00
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
This commit is contained in:
parent
cefafee3d3
commit
ba3f75b3c3
@ -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…
x
Reference in New Issue
Block a user