Changes between Initial Version and Version 2 of Ticket #50157
- Timestamp:
- 05/13/2020 04:10:54 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #50157
-
Property
Status
changed from
new
toclosed
-
Property
Version
changed from
5.4.1
to -
Property
Resolution
changed from
to
duplicate
-
Property
Milestone
changed from
Awaiting Review
to
-
Property
Status
changed from
-
Ticket #50157 – Description
initial v2 3 3 Only 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) 4 4 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.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. 6 6 7 Can you please make sure that the code always uses either of the configuration values instead of the non configurable $_SERVER['HTTP_HOST'].7 Can you please make sure that the code always uses either of the configuration values instead of the non configurable `$_SERVER['HTTP_HOST']`. 8 8 9 9 Thx :-)