Ticket #13383: 13383-custom-header.diff
File 13383-custom-header.diff, 1.4 KB (added by , 14 years ago) |
---|
-
wp-admin/custom-header.php
416 416 <div class="wrap"> 417 417 <h3><?php _e('Upload New Header Image'); ?></h3><p><?php _e('Here you can upload a custom header image to be shown at the top of your site instead of the default one. On the next screen you will be able to crop the image.'); ?> <?php printf(__('Images of exactly <strong>%1$d x %2$d pixels</strong> will be used as-is.'), HEADER_IMAGE_WIDTH, HEADER_IMAGE_HEIGHT); ?></p> 418 418 419 <form enctype="multipart/form-data" id="uploadForm" method=" POST" action="<?php echo esc_attr(add_query_arg('step', 2)) ?>">419 <form enctype="multipart/form-data" id="uploadForm" method="post" action="<?php echo esc_attr(add_query_arg('step', 2)) ?>"> 420 420 <label for="upload"><?php _e('Choose an image from your computer:'); ?></label><br /><input type="file" id="upload" name="import" /> 421 421 <input type="hidden" name="action" value="save" /> 422 422 <?php wp_nonce_field('custom-header') ?> … … 507 507 508 508 <div class="wrap"> 509 509 510 <form method=" POST" action="<?php echo esc_attr(add_query_arg('step', 3)) ?>">510 <form method="post" action="<?php echo esc_attr(add_query_arg('step', 3)) ?>"> 511 511 512 512 <p><?php _e('Choose the part of the image you want to use as your header.'); ?></p> 513 513 <div id="testWrap" style="position: relative">