Make WordPress Core

Changes between Initial Version and Version 2 of Ticket #50157


Ignore:
Timestamp:
05/13/2020 04:10:54 PM (5 years ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #50157

    • Property Status changed from new to closed
    • Property Version changed from 5.4.1 to
    • Property Resolution changed from to duplicate
    • Property Milestone changed from Awaiting Review to
  • Ticket #50157 – Description

    initial v2  
    33Only parts of our website is created in WordPress, some parts are created in NodeJS. So we are using a proxy to delegate all our requests from our live url (https://live.medikura.com) to our hosted wordpress (https://hosted.medikura.com)
    44
    5 We changed both configuration values (wordpress url + website url) to our live page (https://live.medikura.com). In almost all cases this works perfectly fine. But we have a problem when it comes to pagination which uses /wp-admin/includes/class-wp-list-table which doesn't use any configuration value but the PHP variable $_SERVER['HTTP_HOST'] which of course is our hosted url (https://hosted.medikura.com) This means as soon as a user tries to click next on the pagination she is redirected to our hosting url which in turn redirects to our live url and forces a new login.
     5We changed both configuration values (wordpress url + website url) to our live page (https://live.medikura.com). In almost all cases this works perfectly fine. But we have a problem when it comes to pagination which uses /wp-admin/includes/class-wp-list-table which doesn't use any configuration value but the PHP variable `$_SERVER['HTTP_HOST']` which of course is our hosted url (https://hosted.medikura.com) This means as soon as a user tries to click next on the pagination she is redirected to our hosting url which in turn redirects to our live url and forces a new login.
    66
    7 Can you please make sure that the code always uses either of the configuration values instead of the non configurable $_SERVER['HTTP_HOST'].
     7Can you please make sure that the code always uses either of the configuration values instead of the non configurable `$_SERVER['HTTP_HOST']`.
    88
    99Thx :-)