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 GeneralAdministration
  • Keywords reporter-feedback added
  • Type enhancementdefect (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: http://serverascode.com/2014/05/31/wordpress-ssl-reverse-proxy.html

Version 0, edited 11 years ago by johnbillion (next)

#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
  • Resolutionworksforme
  • Status newclosed

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.