From 7ee91c9aeb33fbcb72d595f53fa96be27a228b7e Mon Sep 17 00:00:00 2001 From: westi Date: Wed, 23 Sep 2009 06:59:20 +0000 Subject: [PATCH] Move the nonce on the import upload form to the action url so it always arrives even if the post data exceeds post_max_size. Also add some phpdoc. See #10830. git-svn-id: http://svn.automattic.com/wordpress/trunk@11962 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/template.php | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php index 58ae29a43..e9a4fe4c8 100644 --- a/wp-admin/includes/template.php +++ b/wp-admin/includes/template.php @@ -2814,11 +2814,11 @@ function wp_max_upload_size() { } /** - * {@internal Missing Short Description}} + * Outputs the form used by the importers to accept the data to be imported * - * @since unknown + * @since 2.0 * - * @param unknown_type $action + * @param string $action The action attribute for the form. */ function wp_import_upload_form( $action ) { $bytes = apply_filters( 'import_upload_size_limit', wp_max_upload_size() ); @@ -2829,9 +2829,8 @@ function wp_import_upload_form( $action ) {

-
+

- ()