Ensure that QuickPress media uploads get attached to the auto-draft we create for new posts correctly. Fixes #10917 props ocean90.

git-svn-id: https://develop.svn.wordpress.org/trunk@14815 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Peter Westwood
2010-05-23 07:58:06 +00:00
parent b93faecc52
commit ca3fead69d
6 changed files with 42 additions and 12 deletions

View File

@@ -131,7 +131,7 @@ case 'post-quickpress-save':
$_POST['post_ID'] = $post_id;
// output the quickpress dashboard widget
require_once(ABSPATH . 'wp-admin/includes/dashboard.php');
wp_dashboard_quick_press();
wp_dashboard_quick_press_output();
exit;
}