Make WordPress Core

Opened 13 years ago

Closed 10 years ago

Last modified 10 years ago

#17800 closed enhancement (wontfix)

Custom Header bug with deleted images

Reported by: pivari's profile pivari Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.2
Component: Customize Keywords:
Focuses: Cc:

Description

I'm not a tech.
I've added images to Twenty Eleven header.
I wrong and I've deleted few images directly using ftp now you can see in the image that the header has the markers of the images without the images.

Attachments (1)

wordpress-3.2-bug.jpg (86.3 KB) - added by pivari 13 years ago.
Header with image markers without images

Download all attachments as: .zip

Change History (6)

@pivari
13 years ago

Header with image markers without images

#1 @kirasong
13 years ago

  • Type changed from defect (bug) to enhancement

#2 @nacin
12 years ago

  • Component changed from Bundled Theme to Themes

The only fix here would be to actually do a file_exists() before each image, but actually in our core custom header code. I don't know if this is a great idea. Header images are registered in code. You can't drop new images in and expect them to work, or remove them. (Not that this wouldn't be cool...)

#3 @SergeyBiryukov
11 years ago

  • Component changed from Themes to Appearance
  • Summary changed from Twenty Eleven header bug to Custom Header bug with deleted images

#4 @ocean90
10 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to wontfix
  • Status changed from new to closed

When you delete files on FTP you should delete them in the media library too, means wp-admin/upload.php, since the thumbnails are broken there too.

Related: #18569

#5 @SergeyBiryukov
10 years ago

#28926 was marked as a duplicate.

Note: See TracTickets for help on using tickets.