Make WordPress Core

Opened 9 years ago

Closed 9 years ago

#33976 closed defect (bug) (worksforme)

Support HTTPS & Reverse proxy at wp-admin

Reported by: hideokamoto's profile hideokamoto Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Administration Keywords:
Focuses: Cc:

Description

function pagination & function print_column_headers are not support HTTPS wp-admin address & Reverse proxy Server.
So, I wanna support them.

Attachments (1)

patch.diff (1.0 KB) - added by hideokamoto 9 years ago.

Download all attachments as: .zip

Change History (4)

@hideokamoto
9 years ago

#1 @johnbillion
9 years ago

  • Component changed from General to Administration
  • Keywords reporter-feedback added
  • Type changed from enhancement to defect (bug)

Thanks for the report, hideokamoto, and welcome to WordPress Trac.

Are you correctly setting the $_SERVER['HTTPS'] variable in your wp-config.php file? If so, this change should not be required.

More info here: https://codex.wordpress.org/Administration_Over_SSL#Using_a_Reverse_Proxy

Last edited 9 years ago by johnbillion (previous) (diff)

#2 @hideokamoto
9 years ago

In class-wp-list-table.php, these function hard coded "http://".
So if

$_SERVER['HTTPS'] = on

, these function not working because of hard coding "http://".

Last edited 9 years ago by hideokamoto (previous) (diff)

#3 @johnbillion
9 years ago

  • Keywords reporter-feedback removed
  • Milestone Awaiting Review deleted
  • Resolution set to worksforme
  • Status changed from new to closed

It's wrapped in a call to set_url_scheme(), which converts the scheme to https when is_ssl() returns true, which it does when $_SERVER['HTTPS'] = 'on'.

Note: See TracTickets for help on using tickets.