Make WordPress Core

Opened 6 years ago

Closed 4 years ago

Last modified 4 years ago

#20848 closed defect (bug) (invalid)

Header images are cropped and resized with improper permissions.

Reported by: gtenney99 Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.3.2
Component: Media Keywords:
Focuses: Cc:


On some systems the cropped and resized header images become unreadable by the web server.

The attached patch makes the files inherit the permissions from the parent folder.

Attachments (1)

custom-header.diff (1.3 KB) - added by gtenney99 6 years ago.

Download all attachments as: .zip

Change History (5)

#1 @nacin
4 years ago

  • Component changed from Administration to Appearance
  • Focuses administration added

#2 @ocean90
4 years ago

  • Component changed from Appearance to Media
  • Focuses administration removed
  • Keywords reporter-feedback added; has-patch removed

Hello gtenney99, sorry you never got a response.

Are you still experience this issue?

Since WordPress 3.5 we have a new image editor which has a save() method. Each sub-class tries to set the correct file permissions, see for example trunk/src/wp-includes/class-wp-image-editor-gd.php#L380. We have to do something here if you still have some problems.

#3 @ericlewis
4 years ago

  • Keywords reporter-feedback removed
  • Resolution set to invalid
  • Status changed from new to closed

No reporter feedback for three months, and no other comments on the ticket. Closing out, but @gtenney99 feel free to reopen this if you're still experiencing the issue.

#4 @SergeyBiryukov
4 years ago

  • Milestone Awaiting Review deleted
Note: See TracTickets for help on using tickets.