Changeset 5007 for trunk/wp-admin/custom-header.php
- Timestamp:
- 03/09/2007 04:36:24 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/custom-header.php
r4953 r5007 175 175 <p><?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> 176 176 177 <form enctype="multipart/form-data" id="uploadForm" method="POST" action="<?php echo a dd_query_arg('step', 2) ?>" style="margin: auto; width: 50%;">177 <form enctype="multipart/form-data" id="uploadForm" method="POST" action="<?php echo attribute_escape(add_query_arg('step', 2)) ?>" style="margin: auto; width: 50%;"> 178 178 <label for="upload"><?php _e('Choose an image from your computer:'); ?></label><br /><input type="file" id="upload" name="import" /> 179 179 <input type="hidden" name="action" value="save" /> … … 189 189 <h2><?php _e('Reset Header Image and Color'); ?></h2> 190 190 <p><?php _e('This will restore the original header image and color. You will not be able to retrieve any customizations.') ?></p> 191 <form method="post" action="<?php echo a dd_query_arg('step', 1) ?>">191 <form method="post" action="<?php echo attribute_escape(add_query_arg('step', 1)) ?>"> 192 192 <input type="submit" name="resetheader" value="<?php _e('Restore Original Header'); ?>" /> 193 193 </form> … … 241 241 <div class="wrap"> 242 242 243 <form method="POST" action="<?php echo a dd_query_arg('step', 3) ?>">243 <form method="POST" action="<?php echo attribute_escape(add_query_arg('step', 3)) ?>"> 244 244 245 245 <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.