Make WordPress Core

Opened 12 years ago

Closed 12 years ago

#19873 closed defect (bug) (duplicate)

Mixed content warning under HTTPS in wp_upload_dir function

Reported by: atow's profile atow Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.3.1
Component: General Keywords: has-patch
Focuses: Cc:


In wp_upload_dir (wp-includes/functions.php), there is a call to get_option('siteurl'). This should use site_url() instead. This will prevent the mixed content warning when the admin is being accessed via SSL.

Attachments (2)

functions.diff.php (471 bytes) - added by atow 12 years ago.
19873.diff (507 bytes) - added by atow 12 years ago.

Download all attachments as: .zip

Change History (5)

12 years ago


12 years ago

#1 @atow
12 years ago

Reuploaded patch with correct name.

#2 @atow
12 years ago

The underlying reason for this patch was to fix a bug with the featured post thumbnail causing a mixed content error in SSL admin. Originally added a filter for admin_post_thumbnail_html, but thought patching this might be better.

#3 @ocean90
12 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.