Make WordPress Core

Opened 12 years ago

Closed 12 years ago

#28926 closed defect (bug) (duplicate)

Custom header don't output URL for image if it doesn't exists

Reported by: michalzuber Owned by:
Priority: normal Milestone:
Component: Customize Version: 3.9
Severity: normal Keywords: has-patch dev-feedback
Cc: Focuses: template

Description

I was working on a patch for #28904 and tried removing the custom header file. WP outputs the URL when the file doesn't exists ​http://i.imgur.com/b3LKV9n.png and ​http://i.imgur.com/S4NVbxc.png
It also triggers a PHP error File does not exist: /Users/mike/Sites/wordpress-svn/src/wp-content/uploads/2014/07/cropped-macbook43.jpg, referer: http://localhost/wordpress-svn/src/

Attachments (1)

28926.patch​ (1.3 KB ) - added by michalzuber 12 years ago.

Download all attachments as: .zip

Change History (3)

@michalzuber
12 years ago

#1 @michalzuber
12 years ago

  • Keywords has-patch dev-feedback added

#2 @SergeyBiryukov
12 years ago

  • Component Themes → Customize
  • Milestone Awaiting Review
  • Resolution → duplicate
  • Status new → closed

Duplicate of #17800. To clarify, "File does not exist" is an Apache error, not PHP.

Note: See TracTickets for help on using tickets.