Changeset 11962
- Timestamp:
- 09/23/2009 06:59:20 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/template.php
r11956 r11962 2815 2815 2816 2816 /** 2817 * {@internal Missing Short Description}}2818 * 2819 * @since unknown2820 * 2821 * @param unknown_type $action2817 * Outputs the form used by the importers to accept the data to be imported 2818 * 2819 * @since 2.0 2820 * 2821 * @param string $action The action attribute for the form. 2822 2822 */ 2823 2823 function wp_import_upload_form( $action ) { … … 2830 2830 else : 2831 2831 ?> 2832 <form enctype="multipart/form-data" id="import-upload-form" method="post" action="<?php echo esc_attr( $action)?>">2832 <form enctype="multipart/form-data" id="import-upload-form" method="post" action="<?php echo esc_attr(wp_nonce_url($action, 'import-upload')); ?>"> 2833 2833 <p> 2834 <?php wp_nonce_field('import-upload'); ?>2835 2834 <label for="upload"><?php _e( 'Choose a file from your computer:' ); ?></label> (<?php printf( __('Maximum size: %s' ), $size ); ?>) 2836 2835 <input type="file" id="upload" name="import" size="25" />
Note: See TracChangeset
for help on using the changeset viewer.