WordPress.org

Make WordPress Core

Opened 23 months ago

Last modified 7 weeks ago

#20848 new defect (bug)

Header images are cropped and resized with improper permissions.

Reported by: gtenney99 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 3.3.2
Component: Media Keywords: reporter-feedback
Focuses: Cc:

Description

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 23 months ago.

Download all attachments as: .zip

Change History (3)

gtenney9923 months ago

comment:1 nacin2 months ago

  • Component changed from Administration to Appearance
  • Focuses administration added

comment:2 ocean907 weeks 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.

Note: See TracTickets for help on using tickets.