Changeset 5827 for trunk/wp-admin/includes/upload.php
- Timestamp:
- 08/01/2007 05:20:01 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/upload.php
r5801 r5827 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.