Make WordPress Core

Opened 11 years ago

Closed 11 years ago

#33976 closed defect (bug) (worksforme)

Support HTTPS & Reverse proxy at wp-admin

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

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 11 years ago.

Download all attachments as: .zip

Change History (4)

@hideokamoto
11 years ago

#1 @johnbillion
11 years ago

  • Component General → Administration
  • Keywords reporter-feedback added
  • Type enhancement → 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 11 years ago by johnbillion (previous) (diff)

#2 @hideokamoto
11 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 11 years ago by hideokamoto (previous) (diff)

#3 @johnbillion
11 years ago

  • Keywords reporter-feedback removed
  • Milestone Awaiting Review
  • Resolution → worksforme
  • Status new → 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.