Make WordPress Core

Changeset 14626


Ignore:
Timestamp:
05/14/2010 08:07:01 AM (14 years ago)
Author:
nacin
Message:

Ensure validation. props Utkarsh, see #13383.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/custom-header.php

    r14581 r14626  
    417417<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>
    418418
    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)) ?>">
    420420<label for="upload"><?php _e('Choose an image from your computer:'); ?></label><br /><input type="file" id="upload" name="import" />
    421421<input type="hidden" name="action" value="save" />
     
    508508<div class="wrap">
    509509
    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)) ?>">
    511511
    512512<p><?php _e('Choose the part of the image you want to use as your header.'); ?></p>
Note: See TracChangeset for help on using the changeset viewer.