Ensure validation. props Utkarsh, see #13383.
git-svn-id: https://develop.svn.wordpress.org/trunk@14626 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
1164a4276b
commit
a6a1d04ead
@ -416,7 +416,7 @@ endif;
|
||||
<div class="wrap">
|
||||
<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>
|
||||
|
||||
<form enctype="multipart/form-data" id="uploadForm" method="POST" action="<?php echo esc_attr(add_query_arg('step', 2)) ?>">
|
||||
<form enctype="multipart/form-data" id="uploadForm" method="post" action="<?php echo esc_attr(add_query_arg('step', 2)) ?>">
|
||||
<label for="upload"><?php _e('Choose an image from your computer:'); ?></label><br /><input type="file" id="upload" name="import" />
|
||||
<input type="hidden" name="action" value="save" />
|
||||
<?php wp_nonce_field('custom-header') ?>
|
||||
@ -507,7 +507,7 @@ if ( !empty($this->default_headers) ) {
|
||||
|
||||
<div class="wrap">
|
||||
|
||||
<form method="POST" action="<?php echo esc_attr(add_query_arg('step', 3)) ?>">
|
||||
<form method="post" action="<?php echo esc_attr(add_query_arg('step', 3)) ?>">
|
||||
|
||||
<p><?php _e('Choose the part of the image you want to use as your header.'); ?></p>
|
||||
<div id="testWrap" style="position: relative">
|
||||
|
Loading…
Reference in New Issue
Block a user