Changeset 5828
- Timestamp:
- 08/01/2007 05:21:08 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/wp-admin/upload-functions.php
r5267 r5828 106 106 global $post_id, $tab, $style; 107 107 $enctype = $id ? '' : ' enctype="multipart/form-data"'; 108 $post_id = (int) $post_id; 108 109 ?> 109 <form<?php echo $enctype; ?> id="upload-file" method="post" action="<?php echo get_option('siteurl') . "/wp-admin/upload.php?style=$style&tab=upload&post_id=$post_id"; ?>">110 <form<?php echo $enctype; ?> id="upload-file" method="post" action="<?php echo get_option('siteurl') . '/wp-admin/upload.php?style=' . attribute_escape($style) . '&tab=upload&post_id=' . $post_id; ?>"> 110 111 <?php 111 112 if ( $id ) :
Note: See TracChangeset
for help on using the changeset viewer.