Ticket #3693 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

Uninstaniated variable $header sent to filter 'wp_create_file_in_uploads'

Reported by: spikeyslam Assigned to: anonymous
Priority: low Milestone: 2.1.1
Component: Administration Version: 2.1
Severity: normal Keywords:
Cc:

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

custom-header-patch.txt (0.6 kB) - added by spikeyslam on 01/27/07 00:27:25.
patch file

Change History

01/27/07 00:27:25 changed by spikeyslam

  • attachment custom-header-patch.txt added.

patch file

01/27/07 06:38:09 changed by foolswisdom

  • version set to 2.1.
  • milestone changed from 2.3 to 2.1.1.

01/27/07 22:56:42 changed by markjaquith

  • status changed from new to closed.
  • resolution set to fixed.

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

01/27/07 22:57:33 changed by markjaquith

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

01/27/07 23:00:34 changed by markjaquith

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