Changeset 5766 for branches/2.2/wp-app.php
- Timestamp:
- 06/26/2007 08:47:17 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/wp-app.php
r5286 r5766 674 674 675 675 $location = get_post_meta($entry['ID'], '_wp_attached_file', true); 676 677 if(!isset($location)) 676 $filetype = wp_check_filetype($location); 677 678 if(!isset($location) || 'attachment' != $entry['post_type'] || empty($filetype['ext'])) 678 679 $this->internal_error(__('Error ocurred while accessing post metadata for file location.')); 679 680 … … 708 709 709 710 $location = get_post_meta($entry['ID'], '_wp_attached_file', true); 710 711 if(!isset($location)) 711 $filetype = wp_check_filetype($location); 712 713 if(!isset($location) || 'attachment' != $entry['post_type'] || empty($filetype['ext'])) 712 714 $this->internal_error(__('Error ocurred while accessing post metadata for file location.')); 713 715
Note: See TracChangeset
for help on using the changeset viewer.