Make WordPress Core

Ticket #25574: export_wp.action.args.2.diff

File export_wp.action.args.2.diff, 436 bytes (added by nickdaugherty, 12 years ago)

Patch wp-admin/includes/export.php to pass $args to the export_wp action.

  • wp-admin/includes/export.php

     
    3030        );
    3131        $args = wp_parse_args( $args, $defaults );
    3232
    33         do_action( 'export_wp' );
     33        do_action( 'export_wp', $args );
    3434
    3535        $sitename = sanitize_key( get_bloginfo( 'name' ) );
    3636        if ( ! empty($sitename) ) $sitename .= '.';