Changeset 5087 for trunk/wp-admin/custom-header.php
- Timestamp:
- 03/23/2007 12:59:21 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/custom-header.php
r5007 r5087 216 216 217 217 // Save the data 218 $id = wp_insert_attachment($object, $file);218 $id = (int) wp_insert_attachment($object, $file); 219 219 220 220 $upload = array('file' => $file, 'id' => $id);
Note: See TracChangeset
for help on using the changeset viewer.