Make WordPress Core

Opened 20 years ago

Closed 20 years ago

Last modified 20 years ago

#3693 closed defect (bug) (fixed)

Uninstaniated variable $header sent to filter 'wp_create_file_in_uploads'

Reported by: spikeyslam Owned by:
Priority: low Milestone: 2.1.1
Component: Administration Version: 2.1
Severity: normal Keywords:
Cc: Focuses:

Description

On line 226 of custom-header.php, variable $header has not been instantiated and is sent to the filter 'wp_create_file_in_uploads'.

Fix: use $file as the parameter.

Attachments (1)

custom-header-patch.txt (621 bytes ) - added by spikeyslam 20 years ago.
patch file

Download all attachments as: .zip

Change History (5)

@spikeyslam
20 years ago

patch file

#1 @foolswisdom
20 years ago

  • Milestone 2.32.1.1
  • Version2.1

#2 @markjaquith
20 years ago

  • Resolutionfixed
  • Status newclosed

(In [4817]) Pass correct var to wp_create_file_in_uploads hook. props spikeyslam. fixes #3693

#3 @markjaquith
20 years ago

(In [4818]) Oops, two locations where this filter is called. fixes #3693

#4 @markjaquith
20 years ago

(In [4819]) Pass correct var to wp_create_file_in_uploads hook. props spikeyslam. fixes #3693

Note: See TracTickets for help on using tickets.